@charset "UTF-8";
/* =============================================================
   Variables & Design Tokens
   ============================================================= */
:root {
  --bg-color: #000000;
  --card-bg: rgba(8, 13, 24, 0.78);
  --card-bg-hover: rgba(13, 19, 34, 0.86);
  --border-color: #222222;
  --border-color-hover: #444444;
  --text-primary: #ffffff;
  --text-secondary: #888888;
  --text-muted: #555555;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --container-width: 1100px;
  --page-side-padding: 12px;
  --header-height: 70px;
}

/* =============================================================
   Reset & Base Layouts
   ============================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 0;
}

html.landing-route body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background: radial-gradient(circle at 16% 12%, rgba(255, 255, 255, 0.12), transparent 35%), radial-gradient(circle at 82% -10%, rgba(255, 255, 255, 0.08), transparent 26%), linear-gradient(180deg, #000000 0%, #0a0a0a 58%, #000000 100%);
}

html.landing-route main,
html.landing-route .site-header,
html.landing-route .site-footer {
  position: relative;
  z-index: 1;
}

html.landing-route body::before,
html.landing-route body::after {
  content: "";
  position: fixed;
  inset: -70vmax;
  pointer-events: none;
  z-index: 0;
  transform: perspective(1320px) rotateX(66deg) rotateZ(0deg) scale(1.2);
}

html.landing-route body::before {
  opacity: 0.34;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.3) 0px, rgba(255, 255, 255, 0.3) 1px, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0) 36px), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.24) 0px, rgba(255, 255, 255, 0.24) 1px, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0) 36px);
  animation: wireframeDrift 44s linear infinite;
}

html.landing-route.wireframe-paused body::before {
  animation-play-state: paused;
}

html.landing-route body::after {
  display: none;
}

html.landing-route.wireframe-lite body::before {
  opacity: 0.22;
  transform: perspective(1180px) rotateX(64deg) rotateZ(0deg) scale(1.07);
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.22) 0px, rgba(255, 255, 255, 0.22) 1px, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0) 56px), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0px, rgba(255, 255, 255, 0.16) 1px, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0) 56px);
  animation-duration: 68s;
}

@keyframes wireframeDrift {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: -620px 620px, 620px -620px;
  }
}
html.viewer-route,
html.viewer-route body {
  height: 100%;
  overflow: hidden;
  background: #000000;
}

html.viewer-route *,
html.viewer-route *::before,
html.viewer-route *::after {
  animation: none !important;
}

html.viewer-route body::before,
html.viewer-route body::after {
  display: none;
}

html.viewer-route .site-header,
html.viewer-route .hero-section,
html.viewer-route .comparison-section,
html.viewer-route .how-it-works-section,
html.viewer-route .code-integration-section,
html.viewer-route .pricing-section,
html.viewer-route .waitlist-section,
html.viewer-route .site-footer {
  display: none;
}

html.viewer-route .demo-section {
  height: 100vh;
  min-height: 100vh;
  padding: 0;
}

html.viewer-route .demo-section .container {
  height: 100%;
  max-width: none;
  padding: 0;
}

html.viewer-route .demo-section .demo-card {
  height: 100vh;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 0;
  border-radius: 0;
}

html.viewer-route .demo-section .demo-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 16px 24px;
  background: rgba(5, 7, 12, 0.96);
  position: relative;
}

html.viewer-route .demo-section .telemetry-display {
  display: none;
}

html.viewer-route .demo-section .demo-title {
  position: absolute;
  left: calc(50% - var(--revasive-panel-offset) * 0.5);
  transform: translateX(-50%);
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.1em;
  pointer-events: none;
}

html.viewer-route .demo-section .demo-viewport {
  height: auto;
  min-height: 0;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--page-side-padding);
}

html.landing-route .comparison-section > .container {
  background: rgba(5, 10, 18, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding-top: clamp(24px, 2.8vw, 40px);
  padding-bottom: clamp(24px, 2.8vw, 40px);
  box-shadow: 0 18px 48px rgba(2, 6, 14, 0.48);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* =============================================================
   Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn.btn-primary {
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
}

.btn.btn-primary:hover {
  background-color: #dddddd;
  border-color: #dddddd;
}

.btn.btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid var(--border-color);
}

.btn.btn-secondary:hover {
  border-color: #ffffff;
}

.btn.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn.btn-block {
  width: 100%;
}

/* =============================================================
   Navigation Header
   ============================================================= */
.site-header {
  height: var(--header-height);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  background-color: rgba(5, 8, 14, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
}

html.landing-route .site-header::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 18px;
  background: rgba(5, 8, 14, 0.96);
  pointer-events: none;
  z-index: 101;
}

.site-header .header-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header .logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.site-header .logo-mark {
  display: block;
  width: auto;
  height: 40px;
}

.site-header .logo-name {
  display: inline-block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.8px;
}

.site-header .nav-links {
  display: flex;
  gap: 24px;
}

.site-header .header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header .nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-header .nav-links a:hover {
  color: var(--text-primary);
}

/* =============================================================
   Hero Section
   ============================================================= */
.hero-section {
  padding: 96px 0 64px;
  text-align: center;
}

.hero-section .hero-title {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.15;
  max-width: 800px;
  margin: 0 auto 24px;
}

.hero-section .hero-subtitle {
  font-size: 22px;
  color: var(--text-primary);
  line-height: 1.4;
  max-width: 720px;
  margin: 0 auto 18px;
}

.hero-section .hero-supporting-copy {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto 36px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
}

.hero-section .hero-supporting-copy span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.hero-section .hero-supporting-copy .hero-support-separator {
  color: var(--text-muted);
  font-weight: 400;
}

.hero-section .hero-ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* =============================================================
   Demos & Interactive Simulation Area
   ============================================================= */
.demo-section {
  padding: 32px 0 64px;
}

.demo-section .demo-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.demo-section .demo-header {
  background: linear-gradient(90deg, #111724 0%, #090d15 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}

.demo-section .demo-header-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.demo-section .demo-header-brand .logo-mark {
  display: block;
  width: auto;
  height: 34px;
}

.demo-section .demo-header-brand .logo-name {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.7px;
}

.demo-section .demo-title {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #f2f5fb;
  justify-self: center;
}

.demo-section .telemetry-display {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #bec9da;
}

.demo-section .demo-viewport {
  height: 480px;
  position: relative;
  background: radial-gradient(circle at top, rgba(71, 122, 196, 0.2), transparent 40%), linear-gradient(180deg, #05070c 0%, #020202 100%);
  overflow: hidden;
  outline: none;
  cursor: pointer;
}

.demo-section .demo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 10, 18, 0.82), rgba(2, 3, 7, 0.92));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: opacity 0.25s ease;
}

.demo-section .demo-overlay p {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-primary);
  text-align: center;
  max-width: 460px;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background-color: rgba(255, 255, 255, 0.04);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.demo-section .demo-overlay kbd {
  background-color: #111111;
  border: 1px solid var(--border-color-hover);
  border-radius: 4px;
  padding: 2px 8px;
  margin: 0 2px;
  font-size: 12px;
  display: inline-block;
}

.demo-section .demo-viewport.is-loading .demo-overlay {
  cursor: progress;
}

.demo-section .demo-viewport.is-active .demo-overlay {
  opacity: 0;
  pointer-events: none;
}

/* =============================================================
   Typography Sections
   ============================================================= */
.section-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1px;
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.5;
}

/* =============================================================
   Comparison Table
   ============================================================= */
.comparison-section {
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
}

.comparison-section .table-wrapper {
  overflow-x: auto;
}

.comparison-section .comparison-callout {
  margin: 24px auto 0;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-size: 14px;
  text-align: center;
}

.comparison-section .comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 14px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background-color: rgba(255, 255, 255, 0.01);
}

.comparison-section .comparison-table th,
.comparison-section .comparison-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-color);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-section .comparison-table th:last-child,
.comparison-section .comparison-table td:last-child {
  border-right: none;
}

.comparison-section .comparison-table th {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-section .comparison-table .highlight-col {
  color: #ffffff;
  background-color: rgba(160, 214, 255, 0.16);
  border-left: 1px solid rgba(160, 214, 255, 0.48);
  border-right: 1px solid rgba(160, 214, 255, 0.48);
  box-shadow: inset 0 0 0 1px rgba(210, 236, 255, 0.08);
}

.comparison-section .comparison-pill {
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-weight: 500;
  line-height: 1.4;
}

.comparison-section .comparison-pill--negative {
  color: inherit;
}

.comparison-section .comparison-pill--positive {
  color: inherit;
}

.comparison-section .comparison-table tr:last-child td {
  border-bottom: none;
}

/* =============================================================
   How it Works Section
   ============================================================= */
.how-it-works-section {
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
}

.how-it-works-section .steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.how-it-works-section .step-card {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 32px;
  background-color: var(--card-bg);
  transition: border-color 0.15s ease;
}

.how-it-works-section .step-card:hover {
  border-color: var(--border-color-hover);
}

.how-it-works-section .step-card .step-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.how-it-works-section .step-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.how-it-works-section .step-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =============================================================
   Code Terminal & Integration Section
   ============================================================= */
.code-integration-section {
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
}

.code-integration-section .container {
  max-width: 1360px;
}

.code-integration-section .code-split {
  display: grid;
  grid-template-columns: minmax(320px, 0.75fr) minmax(760px, 1.25fr);
  gap: 48px;
  align-items: center;
}

.code-integration-section .code-text .section-title {
  text-align: left;
}

.code-integration-section .code-text .section-eyebrow {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.code-integration-section .code-text p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 15px;
}

.code-integration-section .code-text .code-note {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

.code-integration-section .code-stack {
  display: grid;
  gap: 20px;
}

.code-integration-section .code-terminal {
  background-color: #050505;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
}

.code-integration-section .code-terminal .terminal-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.code-integration-section .code-terminal pre {
  margin: 0;
  padding: 24px;
  overflow-x: auto;
  white-space: pre;
}

.code-integration-section .code-terminal code {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: #eaeaea;
}

.code-integration-section .code-terminal .code-tag {
  color: #888888;
}

.code-integration-section .code-terminal .code-attr {
  color: #f4f4f4;
}

.code-integration-section .code-terminal .code-string {
  color: #a1a1a1;
}

.code-integration-section .code-terminal .code-comment {
  display: block;
  color: #6f6f6f;
}

/* =============================================================
   Pricing Section
   ============================================================= */
.pricing-section {
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
}

.pricing-section .pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-section .pricing-card {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 40px;
  background-color: var(--card-bg);
}

.pricing-section .pricing-card .pricing-tier {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.pricing-section .pricing-card .price {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 8px;
}

.pricing-section .pricing-card .price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0;
}

.pricing-section .pricing-card .pricing-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.pricing-section .pricing-card .pricing-features {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.pricing-section .pricing-card .pricing-features li {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}

.pricing-section .pricing-card .pricing-features li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

.pricing-section .pricing-card.premium {
  border-color: #ffffff;
}

/* =============================================================
   Waitlist & Forms
   ============================================================= */
.waitlist-section {
  padding: 96px 0;
  border-top: 1px solid var(--border-color);
}

.waitlist-section .waitlist-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 900px;
}

.waitlist-section .waitlist-info h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.waitlist-section .waitlist-info p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
}

.waitlist-section .waitlist-form {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 32px;
}

.waitlist-section .waitlist-form .form-group {
  margin-bottom: 20px;
}

.waitlist-section .waitlist-form .form-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.waitlist-section .waitlist-form .form-group input,
.waitlist-section .waitlist-form .form-group select {
  width: 100%;
  background-color: #000000;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 12px;
  color: #ffffff;
  font-size: 14px;
  font-family: var(--font-sans);
  transition: border-color 0.15s ease;
}

.waitlist-section .waitlist-form .form-group input:focus,
.waitlist-section .waitlist-form .form-group select:focus {
  outline: none;
  border-color: #ffffff;
}

.waitlist-section .waitlist-form .form-message {
  margin-top: 16px;
  font-size: 13px;
  font-family: var(--font-sans);
  line-height: 1.45;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid transparent;
  display: none;
}

.waitlist-section .waitlist-form .form-message.success {
  color: #1b5e20;
  background: #e8f5e9;
  border-color: #b7dfbc;
}

.waitlist-section .waitlist-form .form-message.error {
  color: #8a1c1c;
  background: #fdecec;
  border-color: #f3c0c0;
}

/* =============================================================
   Footer
   ============================================================= */
.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
}

.site-footer .footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-footer .footer-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-footer .footer-left .logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #ffffff;
}

.site-footer .footer-left .logo-mark {
  display: block;
  width: auto;
  height: 24px;
}

.site-footer .footer-left .copyright {
  font-size: 12px;
  color: var(--text-muted);
}

.site-footer .footer-link {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer .footer-link:hover {
  color: var(--text-secondary);
}

/* =============================================================
   Responsive Media Queries
   ============================================================= */
@media (max-width: 768px) {
  .hero-section {
    padding: 64px 0 32px;
  }
  .hero-section .hero-title {
    font-size: 32px;
  }
  .hero-section .hero-subtitle {
    font-size: 18px;
  }
  .hero-section .hero-supporting-copy {
    gap: 10px;
  }
  .site-header .logo-name {
    font-size: 18px;
  }
  .site-header .nav-links {
    display: none;
  }
  .site-header .header-actions {
    gap: 8px;
  }
  .how-it-works-section .steps-grid {
    grid-template-columns: 1fr;
  }
  .code-integration-section .code-split {
    grid-template-columns: 1fr;
  }
  .pricing-section .pricing-grid {
    grid-template-columns: 1fr;
  }
  .waitlist-section .waitlist-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
: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=index.css.map */