:root {
  --canvas-opacity: 1;
}

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

body {
  overflow: hidden;
  font-family: "Arial", sans-serif;
  -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: #fff;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 8px;
  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));
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 150ms ease;
  color: #E0DCDD;
}
#viewerBranding:hover {
  color: #fff;
}
#viewerBranding > svg {
  height: 16px;
  width: auto;
  flex-shrink: 0;
  padding: 8px;
  border-radius: 6px;
  background-color: rgba(0, 0, 0, 0.3);
}
#viewerBranding > span {
  font-size: 14px;
  font-weight: bold;
  text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.4), 1px -1px 0 rgba(0, 0, 0, 0.4), -1px 1px 0 rgba(0, 0, 0, 0.4), 1px 1px 0 rgba(0, 0, 0, 0.4);
}

/* 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-size: 18px;
  color: #fff;
  text-align: center;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}
#loadingWrap > #loadingBar {
  width: 100%;
  height: 10px;
  margin-top: 8px;
  border-radius: 4px;
  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: #FFAF50;
}
#controlsWrap > #timelineContainer > #time {
  position: absolute;
  top: 0;
  padding: 2px 4px;
  transform: translate(-50%, -100%);
  font-size: 12px;
  border-radius: 4px;
  color: #fff;
  background-color: rgba(40, 40, 40, 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: #E0DCDD;
  background-color: transparent;
}
#controlsWrap > #buttonsContainer .controlButton:hover {
  color: #fff;
}
#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: #F60;
}
#controlsWrap > #buttonsContainer .controlButton {
  /* camera toggle styling */
}
#controlsWrap > #buttonsContainer .controlButton.toggle {
  background: linear-gradient(90deg, transparent 0%, transparent 50%, #F60 50%, #F60 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: #E0DCDD;
  background-color: rgba(51, 51, 51, 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: #AAA;
  background-color: rgba(255, 255, 255, 0.04);
  transition: background-color 250ms ease, color 250ms ease;
}
#settingsPanel > .settingsRow > button:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}
#settingsPanel > .settingsRow > div {
  height: 34px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  cursor: pointer;
  color: #AAA;
}
#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(255, 102, 0, 0.35);
}
#settingsPanel > .settingsRow > div.toggleSwitch.active .toggleTrack .toggleThumb {
  transform: translateX(16px);
  background-color: #F60;
}
#settingsPanel > .settingsRow > div:hover {
  color: #E0DCDD;
}
#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%);
  width: 360px;
  height: min(80vh, 640px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #E0DCDD;
  background-color: rgba(51, 51, 51, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
#infoPanel > #infoPanelContent > #viewerTitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  flex-shrink: 0;
  background-color: rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  white-space: nowrap;
  color: #E0DCDD;
}
#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: #F60;
  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: #AAA;
  margin-left: -2px;
}
#infoPanel > #infoPanelContent > #viewerTitle[href] {
  cursor: pointer;
  transition: color 150ms ease;
}
#infoPanel > #infoPanelContent > #viewerTitle[href]:hover {
  color: #fff;
}
#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: #F60;
}
#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: #AAA;
  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;
}
#infoPanel > #infoPanelContent > #tabs {
  display: flex;
  gap: 24px;
  padding: 8px 16px;
  justify-content: center;
  flex-shrink: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
#infoPanel > #infoPanelContent > #tabs > .tab {
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-weight: bold;
  font-size: 13px;
  color: #AAA;
  transition: color 150ms ease, border-color 150ms ease;
}
#infoPanel > #infoPanelContent > #tabs > .tab:hover {
  color: #fff;
}
#infoPanel > #infoPanelContent > #tabs > .tab.active {
  color: #fff;
  border-bottom-color: #F60;
}

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

/* xr WebGL-required modal */
#xrModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
}
#xrModal > #xrModalContent {
  width: min(360px, 100vw - 32px);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #E0DCDD;
  background-color: rgba(51, 51, 51, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
#xrModal > #xrModalContent > h2 {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 12px;
}
#xrModal > #xrModalContent > p {
  font-size: 13px;
  line-height: 1.4;
  color: #E0DCDD;
  margin-bottom: 16px;
}
#xrModal > #xrModalContent > #xrModalButtons {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
#xrModal > #xrModalContent > #xrModalButtons > button {
  height: 34px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  color: #AAA;
  background-color: rgba(255, 255, 255, 0.04);
  transition: background-color 250ms ease, color 250ms ease;
}
#xrModal > #xrModalContent > #xrModalButtons > button:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}
#xrModal > #xrModalContent > #xrModalButtons > button#xrModalOk {
  color: #fff;
  background-color: rgba(255, 102, 0, 0.7);
  border-color: rgba(255, 102, 0, 0.8);
}
#xrModal > #xrModalContent > #xrModalButtons > button#xrModalOk:hover {
  background-color: #F60;
}

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

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

#clientBranding {
    position: fixed;
    top: 24px;
    right: 35px;

    z-index: 1000;

    display: flex;
    align-items: center;

    pointer-events: auto;
}

#clientBranding img {
    height: 130px;
    width: auto;

    display: block;

    filter: drop-shadow(0 2px 8px rgba(0,0,0,.4));
}
}


/* ===========================
   NBV Studio Minimal Button Theme
   =========================== */

#controlsWrap > #buttonsContainer .buttonGroup{
    background: rgba(18,18,18,.30);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    gap: 2px;
    padding: 2px;
}

#controlsWrap > #buttonsContainer .controlButton{
    width:38px;
    height:38px;
    border-radius:10px;
    color:rgba(255,255,255,.82);
    transition:all .18s ease;
}

#controlsWrap > #buttonsContainer .controlButton:hover{
    color:#ffffff;
    background:rgba(31,176,170,.14);
    transform:translateY(-1px);
}

#controlsWrap > #buttonsContainer .controlButton.active:not(.toggle){
    color:#21d4c8;
    background:rgba(33,212,200,.18);
}

#controlsWrap > #buttonsContainer .controlButton.toggle{
    background:rgba(0,0,0,0);
    transition:all .2s ease;
}

#controlsWrap > #buttonsContainer .controlButton.toggle.active{
    background:rgba(33,212,200,.18);
    color:#21d4c8;
}

#controlsWrap > #buttonsContainer .controlButton.toggle.left,
#controlsWrap > #buttonsContainer .controlButton.toggle.middle,
#controlsWrap > #buttonsContainer .controlButton.toggle.right{
    border-radius:10px;
}

#controlsWrap > #buttonsContainer .controlButton > svg > g.fill{
    transition:fill .2s ease;
}



/* ===== NBV Studio Teal Override v2 ===== */

:root{
    --nbv-teal:#20d6c8;
    --nbv-teal-soft:rgba(32,214,200,.18);
    --nbv-teal-line:rgba(32,214,200,.35);
}

/* Timeline */
#controlsWrap > #timelineContainer > #handle{
    background-color:var(--nbv-teal)!important;
    border-color:#d8fffb!important;
}

#controlsWrap > #timelineContainer > #line{
    border-bottom-color:rgba(210,255,250,.55)!important;
}

/* White UI text slightly teal */
#controlsWrap,
#settingsPanel,
#infoPanel,
#annotationNav,
#loadingWrap{
    color:#dffefd;
}

#controlsWrap > #buttonsContainer .controlButton{
    color:#c9f7f3!important;
}

#controlsWrap > #buttonsContainer .controlButton:hover{
    color:#ffffff!important;
    background:var(--nbv-teal-soft)!important;
}

/* SVG icon colour */
#controlsWrap > #buttonsContainer .controlButton > svg > g.fill{
    fill:currentColor!important;
}

#controlsWrap > #buttonsContainer .controlButton > svg > g.stroke{
    stroke:rgba(0,0,0,.25)!important;
}

/* Orange -> teal */
#infoPanel > #infoPanelContent > #viewerTitle > svg > g.fill{
    fill:var(--nbv-teal)!important;
}

#infoPanel > #infoPanelContent > #infoPanels h1{
    color:var(--nbv-teal)!important;
}

#infoPanel > #infoPanelContent > #tabs > .tab.active{
    border-bottom-color:var(--nbv-teal)!important;
}

#settingsPanel > .settingsRow > div.toggleSwitch.active .toggleTrack{
    background-color:rgba(32,214,200,.28)!important;
}

#settingsPanel > .settingsRow > div.toggleSwitch.active .toggleThumb{
    background-color:var(--nbv-teal)!important;
}

#xrModal > #xrModalContent > #xrModalButtons > button#xrModalOk{
    background-color:rgba(32,214,200,.35)!important;
    border-color:var(--nbv-teal)!important;
}

#xrModal > #xrModalContent > #xrModalButtons > button#xrModalOk:hover{
    background-color:var(--nbv-teal)!important;
}

/* Annotation buttons */
#annotationNav.desktop{
    background:rgba(18,18,18,.35)!important;
    backdrop-filter:blur(14px);
}

#annotationNav > button:hover{
    background:var(--nbv-teal-soft)!important;
}

/* Slight teal tint to loading text */
#loadingWrap>#loadingText{
    color:#eaffff!important;
}



/* ===== NBV Studio Annotation Navigator ===== */

#annotationNav.desktop{
    position:fixed !important;
    top:auto !important;
    bottom:88px !important; /* sits above timeline */
    left:50% !important;
    transform:translateX(-50%) !important;

    background:rgba(22,22,22,.36)!important;
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);

    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    overflow:hidden;
}

#annotationNav.desktop > #annotationInfo{
    width:340px;
    padding:0 22px;
}

#annotationNav.desktop > #annotationInfo > #annotationNavTitle{
    font-family:Inter,"Segoe UI",Arial,sans-serif;
    font-size:20px;
    font-weight:600;
    letter-spacing:.2px;
    color:#f3ffff;
}

#annotationNav.desktop > button{
    width:54px;
    height:54px;
    color:#d8fffb;
}

#annotationNav.desktop > button:hover{
    background:rgba(32,214,200,.14)!important;
}

#annotationNav.desktop > button svg{
    display:none;
}

#annotationPrev::before,
#annotationNext::before{
    content:"";
    display:block;
    width:0;
    height:0;
    border-top:8px solid transparent;
    border-bottom:8px solid transparent;
}

#annotationPrev::before{
    border-right:12px solid currentColor;
    margin-right:2px;
}

#annotationNext::before{
    border-left:12px solid currentColor;
    margin-left:2px;
}
#viewerTitle {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#viewerTitle .title-name {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
}

#viewerTitle .title-subtitle {
    margin-top: 3px;
    font-size: 11px;
    font-weight: 400;
    color: rgba(220,255,252,.75);
    line-height: 1.2;
}

.title-version {
    display: none !important;
}


/* =========================================
   NBVS branded loading experience
   Background RGB: 235, 237, 235
   ========================================= */

:root {
    --nbvs-background: rgb(235, 237, 235);
    --nbvs-ink: rgb(41, 41, 39);
    --nbvs-muted: rgba(41, 41, 39, 0.62);
    --nbvs-progress: #20d6c8;
}

html,
body {
    background: var(--nbvs-background);
}

canvas {
    background: var(--nbvs-background);
}

#loadingWrap {
    position: fixed;
    inset: 0;
    z-index: 10000;
    width: 100%;
    height: 100%;
    padding: 24px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--nbvs-background);
    opacity: 1;
    visibility: visible;
    transform: none;

    transition:
        opacity 500ms ease,
        visibility 0s linear 500ms;
}

#loadingWrap.loading-complete {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#loadingPanel {
    width: min(420px, calc(100vw - 48px));
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#loadingLogo {
    width: min(330px, 72vw);
    max-height: 190px;
    height: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 34px;
    filter: none;
}

#loadingProjectName {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.08;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: var(--nbvs-ink);
}

#loadingMessage {
    margin-top: 12px;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--nbvs-muted);
}

#loadingProgressTrack {
    width: min(300px, 72vw);
    height: 2px;
    margin-top: 30px;
    overflow: hidden;
    background: rgba(41, 41, 39, 0.14);
}

#loadingWrap #loadingBar {
    width: 0%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    background: var(--nbvs-progress);
    background-image: none !important;
    transition: width 180ms ease-out;
}

#loadingWrap #loadingText {
    margin-top: 10px;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: rgba(41, 41, 39, 0.52) !important;
    text-shadow: none;
}

@media (max-width: 600px) {
    #loadingLogo {
        width: min(280px, 76vw);
        max-height: 150px;
        margin-bottom: 28px;
    }

    #loadingProjectName {
        font-size: 30px;
    }

    #loadingMessage {
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #loadingWrap,
    #loadingWrap #loadingBar {
        transition: none;
    }
}
