@charset "UTF-8";
/* LUME3D viewer reskin · dark/brutalist · OKLCH palette mirrored from lume-studio tokens */
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/Geist-Variable.woff2") format("woff2-variations"), url("/assets/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/GeistMono-Variable.woff2") format("woff2-variations"), url("/assets/fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --canvas-opacity: 1;
  /* LUME3D tokens (mirrored — viewer is decoupled from lume-studio) */
  --ink: oklch(0.12 0.012 60);
  --ink-2: oklch(0.16 0.012 60);
  --ink-3: oklch(0.22 0.012 60);
  --bone: oklch(0.96 0.010 84);
  --bone-2: oklch(0.90 0.012 84);
  --bone-3: oklch(0.78 0.014 84);
  --mist: oklch(0.62 0.008 80);
  --flame: oklch(0.70 0.22 38);
  --flame-hi: oklch(0.82 0.18 60);
  --flame-lo: oklch(0.50 0.20 32);
  --bg: var(--ink);
  --surface: color-mix(in oklch, var(--ink-2) 80%, transparent);
  --fg: var(--bone);
  --fg-quiet: var(--bone-3);
  --fg-mute: var(--mist);
  --accent: var(--flame);
  --accent-hi: var(--flame-hi);
  --rule: color-mix(in oklch, var(--bone) 14%, transparent);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", "JetBrains Mono", monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --r-1: 6px;
  --r-pill: 999px;
}

* {
  margin: 0;
  padding: 0;
  touch-action: none;
}

body {
  overflow: hidden;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

canvas {
  opacity: var(--canvas-opacity);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

body::after {
  content: "";
  position: fixed;
  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;
}

.spacer {
  flex-grow: 1;
}

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

#ui * {
  pointer-events: auto;
}

.walkHint {
  position: absolute;
  top: max(60px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: #F5F1E8;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  pointer-events: auto;
  white-space: nowrap;
}

/* LUME3D branding · always visible, top-left, safe-area aware */
#lume3dBranding {
  position: absolute;
  top: max(14px, env(safe-area-inset-top));
  left: max(14px, env(safe-area-inset-left));
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--bone);
  text-decoration: none;
  background: color-mix(in oklch, black 35%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--dur-fast) var(--ease-out);
  pointer-events: auto;
  z-index: 3;
}

#lume3dBranding > svg {
  height: 16px;
  width: auto;
  display: block;
}

#lume3dBranding:hover {
  background: color-mix(in oklch, black 55%, transparent);
}

@media (max-width: 480px) {
  #lume3dBranding > svg {
    height: 13px;
  }
  #lume3dBranding {
    padding: 5px 8px;
    height: 24px;
  }
}
/* Auto-perf notification toast */
.perfHint {
  position: absolute;
  top: max(60px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  max-width: min(440px, 100vw - 32px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 10px 14px;
  border-radius: 8px;
  background: color-mix(in oklch, black 65%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.6);
  pointer-events: auto;
  z-index: 4;
}

.perfHint .perfHintText {
  flex: 1;
}

.perfHint .perfHintClose {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: color-mix(in oklch, var(--bone) 12%, transparent);
  color: var(--bone);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  border: 0;
}

.perfHint .perfHintClose:hover {
  background: color-mix(in oklch, var(--bone) 22%, transparent);
}

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

/* loadingWrap */
#loadingWrap {
  position: fixed;
  bottom: 120px;
  left: 50%;
  transform: translate(-50%, 0);
  width: min(380px, 100vw - 32px);
  display: flex;
  flex-direction: column;
  padding: 16px;
}
#loadingWrap > #loadingText {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #F5F1E8;
  text-align: center;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.6);
}
#loadingWrap > #loadingBar {
  width: 100%;
  height: 2px;
  margin-top: 10px;
  overflow: hidden;
}

/* controlsWrap */
#controlsWrap {
  position: absolute;
  left: max(16px, env(safe-area-inset-left));
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}
#controlsWrap.faded-in {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.5s ease-out;
}
#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: #F39A4A;
}
#controlsWrap > #timelineContainer > #time {
  position: absolute;
  top: 0;
  padding: 2px 4px;
  transform: translate(-50%, -100%);
  font-size: 12px;
  border-radius: 4px;
  color: #F5F1E8;
  background-color: rgba(22, 19, 16, 0.5);
}
#controlsWrap > #buttonsContainer {
  display: flex;
  gap: 8px;
}
#controlsWrap > #buttonsContainer .buttonGroup {
  display: flex;
  background-color: 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: 34px;
  height: 34px;
  padding: 0;
  margin: 0;
  border: 0;
  cursor: pointer;
  color: #ECE7DD;
  background-color: transparent;
}
#controlsWrap > #buttonsContainer .controlButton:hover {
  color: #F5F1E8;
}
#controlsWrap > #buttonsContainer .controlButton {
  /* icon styling */
}
#controlsWrap > #buttonsContainer .controlButton > svg {
  display: block;
  margin: auto;
}
#controlsWrap > #buttonsContainer .controlButton > svg > g.stroke {
  fill: none;
  stroke: black;
  stroke-width: 2;
  stroke-linejoin: round;
  opacity: 0.4;
}
#controlsWrap > #buttonsContainer .controlButton > svg > g.fill {
  fill: currentColor;
  stroke: none;
}
#controlsWrap > #buttonsContainer .controlButton {
  /* active highlight for simple toggle buttons (e.g. voxel overlay) */
}
#controlsWrap > #buttonsContainer .controlButton.active:not(.toggle) {
  color: #E15A1F;
}
#controlsWrap > #buttonsContainer .controlButton {
  /* camera toggle styling */
}
#controlsWrap > #buttonsContainer .controlButton.toggle {
  background: linear-gradient(90deg, transparent 0%, transparent 50%, #E15A1F 50%, #E15A1F 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: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 14px;
  color: #ECE7DD;
  background-color: rgba(31, 27, 23, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
#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 rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  color: #B7B0A2;
  background-color: rgba(255, 255, 255, 0.04);
  transition: background-color 250ms ease, color 250ms ease;
}
#settingsPanel > .settingsRow > button:hover {
  color: #F5F1E8;
  background-color: rgba(255, 255, 255, 0.1);
}
#settingsPanel > .settingsRow > div {
  height: 34px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  cursor: pointer;
  color: #B7B0A2;
}
#settingsPanel > .settingsRow > div.toggleSwitch {
  padding: 0 4px;
}
#settingsPanel > .settingsRow > div.toggleSwitch .toggleTrack {
  width: 36px;
  height: 20px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.15);
  position: relative;
  transition: background-color 200ms ease;
}
#settingsPanel > .settingsRow > div.toggleSwitch .toggleTrack .toggleThumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #777;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 200ms ease, background-color 200ms ease;
}
#settingsPanel > .settingsRow > div.toggleSwitch.active .toggleTrack {
  background-color: rgba(225, 90, 31, 0.35);
}
#settingsPanel > .settingsRow > div.toggleSwitch.active .toggleTrack .toggleThumb {
  transform: translateX(16px);
  background-color: #E15A1F;
}
#settingsPanel > .settingsRow > div:hover {
  color: #ECE7DD;
}
#settingsPanel > .divider {
  width: 100%;
  height: 1px;
  margin: 8px 0;
  background-color: rgba(255, 255, 255, 0.08);
}

/* infoPanel */
#infoPanel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
}
#infoPanel > #infoPanelContent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-height: 280px;
  min-width: 320px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  color: #ECE7DD;
  background-color: rgba(31, 27, 23, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
#infoPanel > #infoPanelContent > #tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background-color: #161310;
}
#infoPanel > #infoPanelContent > #tabs > .tab {
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  flex-grow: 1;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  color: #B7B0A2;
  transition: background-color 250ms ease, color 250ms ease;
}
#infoPanel > #infoPanelContent > #tabs > .tab:hover {
  color: #F5F1E8;
  background-color: rgba(255, 255, 255, 0.06);
}
#infoPanel > #infoPanelContent > #tabs > .tab.active {
  color: #F5F1E8;
  background-color: rgba(255, 255, 255, 0.1);
}
#infoPanel > #infoPanelContent > #infoPanels {
  padding: 16px;
}
#infoPanel > #infoPanelContent > #infoPanels h1 {
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 0 8px 0;
  color: #E15A1F;
}
#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: #B7B0A2;
  font-size: 12px;
}
#infoPanel > #infoPanelContent > #infoPanels .control-item:nth-child(odd) {
  background-color: rgba(255, 255, 255, 0.03);
}
#infoPanel > #infoPanelContent > #infoPanels .control-spacer {
  margin: 14px 0;
}

#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: #ECE7DD;
  background-color: #161310;
}

#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: #ECE7DD;
  background-color: rgba(0, 0, 0, 0.3);
}
#annotationNav > button:hover {
  color: #F5F1E8;
  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: #F5F1E8;
  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;
}

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