@charset "UTF-8";
.sse-viewer {
  --sse-text: #e0dcdd;
  --sse-text-light: #fff;
  --sse-text-dark: #aaa;
  --sse-text-darkest: #666;
  --sse-accent: #f60;
  --sse-grip: #ffaf50;
  --sse-bkg: #000;
  --sse-bkg-dark: #282828;
  --sse-bkg-darkest: #141414;
  --sse-bkg-light: #444;
  --canvas-opacity: 1;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  font-family: "Arial", sans-serif;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.sse-viewer,
.sse-viewer * {
  margin: 0;
  padding: 0;
  touch-action: none;
}
.sse-viewer > canvas {
  opacity: var(--canvas-opacity);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.sse-viewer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  pointer-events: none;
}
.sse-viewer button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}
.sse-viewer .sse-hidden {
  display: none !important;
}
.sse-viewer .sse-spacer {
  flex-grow: 1;
}
.sse-viewer .sse-sceneLayer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.sse-viewer .sse-ui {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.sse-viewer .sse-ui * {
  pointer-events: auto;
}
.sse-viewer .sse-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom-color: rgba(255, 255, 255, 0.26);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--sse-text-light);
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
}
.sse-viewer .sse-panelButton {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  color: var(--sse-text-dark);
  background-color: transparent;
  transition: color 150ms ease, background-color 150ms ease;
}
.sse-viewer .sse-panelButton > svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sse-viewer .sse-panelButton:hover {
  color: var(--sse-text-light);
  background-color: rgba(255, 255, 255, 0.1);
}
.sse-viewer .sse-panelButton.sse-active {
  color: var(--sse-accent);
}
.sse-viewer {
  /* controlsHint: the current camera mode's controls, at the top right */
}
.sse-viewer .sse-controlsHint {
  position: absolute;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(max(16px, env(safe-area-inset-bottom)) + 70px);
  min-width: 200px;
  max-width: calc(100% - 32px);
  box-sizing: border-box;
  padding: 8px 8px 8px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: var(--sse-text);
  background-color: color-mix(in srgb, var(--sse-bkg) 50%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.sse-viewer .sse-controlsHint > .sse-controlsHintHeader {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.sse-viewer .sse-controlsHint > .sse-controlsHintHeader > .sse-controlsHintIcon {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex-shrink: 0;
  fill: var(--sse-text-light);
}
.sse-viewer .sse-controlsHint > .sse-controlsHintHeader > .sse-controlsHintTitles {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.sse-viewer .sse-controlsHint > .sse-controlsHintHeader > .sse-controlsHintTitles > .sse-controlsHintTitle {
  line-height: 26px;
  font-size: 13px;
  font-weight: bold;
  color: var(--sse-text-light);
}
.sse-viewer .sse-controlsHint > .sse-controlsHintHeader > .sse-controlsHintTitles > .sse-controlsHintSubtitle {
  margin-top: -5px;
  font-size: 11px;
  color: var(--sse-text-dark);
}
.sse-viewer .sse-controlsHint > .sse-controlsHintHeader > .sse-controlsHintTitles > .sse-controlsHintSubtitle:empty {
  display: none;
}
.sse-viewer .sse-controlsHint > .sse-controlsHintRows {
  margin-top: 8px;
  padding: 4px 4px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.sse-viewer .sse-controlsHint > .sse-controlsHintRows:empty {
  display: none;
}
.sse-viewer .sse-controlsHint > .sse-controlsHintRows > .sse-controlsHintItem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 28px;
}
.sse-viewer .sse-controlsHint > .sse-controlsHintRows > .sse-controlsHintItem > .sse-controlsHintInputs {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  flex-shrink: 0;
  color: var(--sse-text-dark);
}
.sse-viewer .sse-controlsHint > .sse-controlsHintRows > .sse-divider {
  height: 1px;
  margin: 4px 0;
  background-color: rgba(255, 255, 255, 0.06);
}
.sse-viewer .sse-controlsHint .sse-mouse {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.sse-viewer .sse-controlsHint .sse-mouse > .sse-mouseIcon {
  width: 15px;
  height: 22px;
}
.sse-viewer .sse-controlsHint .sse-mouse > .sse-mouseIcon > .sse-mouseBody {
  fill: none;
  stroke: rgba(255, 255, 255, 0.6);
  stroke-width: 1.5;
}
.sse-viewer .sse-controlsHint .sse-mouse > .sse-mouseIcon > .sse-mouseSplit {
  fill: none;
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 1.25;
}
.sse-viewer .sse-controlsHint .sse-mouse > .sse-mouseIcon > .sse-mouseActive {
  fill: rgba(255, 255, 255, 0.85);
}
.sse-viewer .sse-controlsHint .sse-mouse > .sse-dragIcon {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sse-viewer .sse-controlsHint .sse-mouse > .sse-mouseCount {
  font-size: 10px;
  font-weight: 500;
}
.sse-viewer .sse-controlsHint .sse-gesture {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 1px 7px;
  box-sizing: border-box;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--sse-text-light);
  font-size: 11px;
  text-align: right;
}
.sse-viewer .sse-controlsHint .sse-or {
  font-size: 11px;
  color: var(--sse-text-darkest);
}
.sse-viewer {
  /* branding link for third-party embeds */
}
.sse-viewer .sse-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: var(--sse-text);
}
.sse-viewer .sse-viewerBranding:hover {
  color: var(--sse-text-light);
}
.sse-viewer .sse-viewerBranding > svg {
  height: 16px;
  width: auto;
  flex-shrink: 0;
  padding: 8px;
  border-radius: 6px;
  background-color: rgba(0, 0, 0, 0.3);
}
.sse-viewer .sse-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);
}
.sse-viewer {
  /* poster */
}
.sse-viewer .sse-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;
}
.sse-viewer {
  /* loadingWrap */
}
.sse-viewer .sse-loadingWrap {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translate(-50%, 0);
  width: min(380px, 100% - 32px);
  display: flex;
  flex-direction: column;
  padding: 16px;
}
.sse-viewer .sse-loadingWrap > .sse-loadingText {
  font-size: 18px;
  color: var(--sse-text-light);
  text-align: center;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}
.sse-viewer .sse-loadingWrap > .sse-loadingBar {
  width: 100%;
  height: 10px;
  margin-top: 8px;
  border-radius: 4px;
  overflow: hidden;
}
.sse-viewer {
  /* controlsWrap */
}
.sse-viewer .sse-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;
}
.sse-viewer .sse-controlsWrap.sse-faded-in {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.5s ease-out;
}
.sse-viewer .sse-controlsWrap.sse-faded-out {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 0.5s, opacity 0.5s ease-out;
}
.sse-viewer .sse-controlsWrap.sse-dimmed {
  opacity: 0.4;
}
.sse-viewer .sse-controlsWrap > .sse-timelineContainer {
  height: 30px;
  cursor: pointer;
}
.sse-viewer .sse-controlsWrap > .sse-timelineContainer > .sse-line {
  width: 100%;
  height: 50%;
  border-bottom: 4px solid #d9d9d9;
}
.sse-viewer .sse-controlsWrap > .sse-timelineContainer > .sse-handle {
  position: absolute;
  top: 16.5px;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  border: 2px solid #d9d9d9;
  border-radius: 50%;
  background-color: var(--sse-grip);
}
.sse-viewer .sse-controlsWrap > .sse-timelineContainer > .sse-time {
  position: absolute;
  top: 0;
  padding: 2px 4px;
  transform: translate(-50%, -100%);
  font-size: 12px;
  border-radius: 4px;
  color: var(--sse-text-light);
  background-color: color-mix(in srgb, var(--sse-bkg-dark) 50%, transparent);
}
.sse-viewer .sse-controlsWrap > .sse-buttonsContainer {
  display: flex;
  gap: 8px;
}
.sse-viewer .sse-controlsWrap > .sse-buttonsContainer .sse-buttonGroup {
  display: flex;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
}
.sse-viewer .sse-controlsWrap > .sse-buttonsContainer .sse-buttonGroup:not(:has(> :not(.sse-hidden))) {
  display: none;
}
.sse-viewer .sse-controlsWrap > .sse-buttonsContainer {
  /* controlButton */
}
.sse-viewer .sse-controlsWrap > .sse-buttonsContainer .sse-controlButton {
  width: 34px;
  height: 34px;
  padding: 0;
  margin: 0;
  border: 0;
  cursor: pointer;
  color: var(--sse-text);
  background-color: transparent;
}
.sse-viewer .sse-controlsWrap > .sse-buttonsContainer .sse-controlButton:hover {
  color: var(--sse-text-light);
}
.sse-viewer .sse-controlsWrap > .sse-buttonsContainer .sse-controlButton {
  /* icon styling */
}
.sse-viewer .sse-controlsWrap > .sse-buttonsContainer .sse-controlButton > svg {
  display: block;
  margin: auto;
}
.sse-viewer .sse-controlsWrap > .sse-buttonsContainer .sse-controlButton > svg > g.sse-stroke {
  fill: none;
  stroke: black;
  stroke-width: 2;
  stroke-linejoin: round;
  opacity: 0.4;
}
.sse-viewer .sse-controlsWrap > .sse-buttonsContainer .sse-controlButton > svg > g.sse-fill {
  fill: currentColor;
  stroke: none;
}
.sse-viewer .sse-controlsWrap > .sse-buttonsContainer .sse-controlButton {
  /* active highlight for simple toggle buttons (settings, controls, info) */
}
.sse-viewer .sse-controlsWrap > .sse-buttonsContainer .sse-controlButton.sse-active:not(.sse-toggle) {
  color: var(--sse-accent);
}
.sse-viewer .sse-controlsWrap > .sse-buttonsContainer .sse-controlButton {
  /* camera toggle styling */
}
.sse-viewer .sse-controlsWrap > .sse-buttonsContainer .sse-controlButton.sse-toggle {
  background: linear-gradient(90deg, transparent 0%, transparent 50%, var(--sse-accent) 50%, var(--sse-accent) 100%);
  background-size: 200% 100%;
  background-position: 100% 0%;
  background-repeat: no-repeat;
  transition: background-position 0.1s ease-in-out;
}
.sse-viewer .sse-controlsWrap > .sse-buttonsContainer .sse-controlButton.sse-toggle.sse-left {
  border-radius: 4px 0px 0px 4px;
}
.sse-viewer .sse-controlsWrap > .sse-buttonsContainer .sse-controlButton.sse-toggle.sse-left:not(.sse-active) {
  background-position: 0% 0%;
}
.sse-viewer .sse-controlsWrap > .sse-buttonsContainer .sse-controlButton.sse-toggle.sse-middle {
  border-radius: 0;
}
.sse-viewer .sse-controlsWrap > .sse-buttonsContainer .sse-controlButton.sse-toggle.sse-middle:not(.sse-active) {
  background-position: 0% 0%;
}
.sse-viewer .sse-controlsWrap > .sse-buttonsContainer .sse-controlButton.sse-toggle.sse-right {
  border-radius: 0px 4px 4px 0px;
}
.sse-viewer .sse-controlsWrap > .sse-buttonsContainer .sse-controlButton.sse-toggle.sse-right:not(.sse-active) {
  background-position: 200% 0%;
}
.sse-viewer {
  /* settingsPanel */
}
.sse-viewer .sse-settingsPanel {
  position: absolute;
  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: var(--sse-text);
  background-color: color-mix(in srgb, var(--sse-bkg) 50%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.sse-viewer .sse-settingsPanel > .sse-settingsGroup {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}
.sse-viewer .sse-settingsPanel > .sse-settingsGroup:not(:has(> :not(.sse-hidden))) {
  display: none;
}
.sse-viewer .sse-settingsPanel > .sse-settingsGroup:not(:last-child) {
  padding-bottom: 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sse-viewer .sse-settingsPanel > .sse-settingsGroup > .sse-settingsRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  width: 100%;
}
.sse-viewer .sse-settingsPanel > .sse-settingsGroup > .sse-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: var(--sse-text-dark);
  background-color: rgba(255, 255, 255, 0.04);
  transition: background-color 250ms ease, color 250ms ease;
}
.sse-viewer .sse-settingsPanel > .sse-settingsGroup > .sse-settingsRow > button:hover {
  color: var(--sse-text-light);
  background-color: rgba(255, 255, 255, 0.1);
}
.sse-viewer .sse-settingsPanel > .sse-settingsGroup > .sse-settingsRow > div {
  height: 34px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  cursor: pointer;
  color: var(--sse-text-dark);
}
.sse-viewer .sse-settingsPanel > .sse-settingsGroup > .sse-settingsRow > div.sse-toggleSwitch {
  padding: 0 4px;
}
.sse-viewer .sse-settingsPanel > .sse-settingsGroup > .sse-settingsRow > div.sse-toggleSwitch .sse-toggleTrack {
  width: 36px;
  height: 20px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.15);
  position: relative;
  transition: background-color 200ms ease;
}
.sse-viewer .sse-settingsPanel > .sse-settingsGroup > .sse-settingsRow > div.sse-toggleSwitch .sse-toggleTrack .sse-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;
}
.sse-viewer .sse-settingsPanel > .sse-settingsGroup > .sse-settingsRow > div.sse-toggleSwitch.sse-active .sse-toggleTrack {
  background-color: color-mix(in srgb, var(--sse-accent) 35%, transparent);
}
.sse-viewer .sse-settingsPanel > .sse-settingsGroup > .sse-settingsRow > div.sse-toggleSwitch.sse-active .sse-toggleTrack .sse-toggleThumb {
  transform: translateX(16px);
  background-color: var(--sse-accent);
}
.sse-viewer .sse-settingsPanel > .sse-settingsGroup > .sse-settingsRow > div:hover {
  color: var(--sse-text);
}
.sse-viewer {
  /* infoPanel */
}
.sse-viewer .sse-infoPanel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.sse-viewer .sse-infoPanel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.sse-viewer .sse-infoPanel > .sse-infoPanelContent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  max-width: calc(100% - 32px);
  max-height: calc(100% - 32px);
  box-sizing: border-box;
  overflow-y: auto;
  padding: 24px 20px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 13px;
  color: var(--sse-text);
  background-color: color-mix(in srgb, var(--sse-bkg) 50%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.sse-viewer .sse-infoPanel > .sse-infoPanelContent > .sse-infoClose {
  position: absolute;
  top: 10px;
  right: 10px;
}
.sse-viewer .sse-infoPanel > .sse-infoPanelContent > .sse-viewerTitle {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--sse-text-light);
  transition: opacity 150ms ease;
}
.sse-viewer .sse-infoPanel > .sse-infoPanelContent > .sse-viewerTitle > .sse-viewerLogo {
  width: 56px;
  height: 56px;
  margin-bottom: 6px;
}
.sse-viewer .sse-infoPanel > .sse-infoPanelContent > .sse-viewerTitle > .sse-title-name {
  font-size: 16px;
  font-weight: bold;
}
.sse-viewer .sse-infoPanel > .sse-infoPanelContent > .sse-viewerTitle > .sse-title-version {
  font-size: 12px;
  color: var(--sse-accent);
}
.sse-viewer .sse-infoPanel > .sse-infoPanelContent > .sse-viewerTitle:hover {
  opacity: 0.8;
}
.sse-viewer .sse-infoPanel > .sse-infoPanelContent > .sse-infoGpu {
  padding: 7px 10px;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.2);
  font-size: 12px;
  text-align: center;
  overflow-wrap: anywhere;
}
.sse-viewer .sse-infoPanel > .sse-infoPanelContent > .sse-infoGpu > .sse-rendererName {
  font-weight: bold;
  color: var(--sse-text-light);
}
.sse-viewer .sse-infoPanel > .sse-infoPanelContent > .sse-infoGpu > .sse-gpuName {
  color: var(--sse-text);
  -moz-user-select: text;
       user-select: text;
  -webkit-user-select: text;
}
.sse-viewer .sse-infoPanel > .sse-infoPanelContent > .sse-infoGpu > .sse-gpuName::before {
  content: "·";
  margin-right: 4px;
  color: var(--sse-text-dark);
}
.sse-viewer .sse-infoPanel > .sse-infoPanelContent > .sse-infoGpu > .sse-gpuName:empty {
  display: none;
}
.sse-viewer .sse-infoPanel > .sse-infoPanelContent > .sse-infoLinks {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.sse-viewer .sse-infoPanel > .sse-infoPanelContent > .sse-infoLinks > .sse-infoLink {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 4px;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  font-size: 11px;
  color: var(--sse-text-dark);
  transition: color 150ms ease, background-color 150ms ease;
}
.sse-viewer .sse-infoPanel > .sse-infoPanelContent > .sse-infoLinks > .sse-infoLink > .sse-infoLinkVersion {
  color: var(--sse-text);
}
.sse-viewer .sse-infoPanel > .sse-infoPanelContent > .sse-infoLinks > .sse-infoLink:hover {
  color: var(--sse-text-light);
  background-color: rgba(255, 255, 255, 0.06);
}
.sse-viewer .sse-infoPanel > .sse-infoPanelContent > .sse-infoShortcuts {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.sse-viewer .sse-infoPanel > .sse-infoPanelContent > .sse-infoShortcuts > h1 {
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 6px;
  color: var(--sse-accent);
}
.sse-viewer .sse-infoPanel > .sse-infoPanelContent > .sse-infoShortcuts > .sse-infoShortcut {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 28px;
  font-size: 12px;
}
.sse-viewer .sse-infoPanel > .sse-infoPanelContent > .sse-infoShortcuts > .sse-infoShortcut .sse-keys {
  display: flex;
  gap: 3px;
}
.sse-viewer .sse-joystickBase {
  position: absolute;
  left: 70px;
  bottom: 140px;
  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;
}
.sse-viewer .sse-joystickBase > .sse-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;
}
.sse-viewer .sse-joystickBase.sse-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);
}
.sse-viewer .sse-joystickBase.sse-mode-2d > .sse-joystick {
  left: 30px;
}
.sse-viewer {
  /* xr WebGL-required modal */
}
.sse-viewer .sse-xrModal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sse-viewer .sse-xrModal > .sse-xrModalContent {
  width: min(360px, 100% - 32px);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--sse-text);
  background-color: color-mix(in srgb, var(--sse-bkg) 50%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.sse-viewer .sse-xrModal > .sse-xrModalContent > h2 {
  font-size: 16px;
  font-weight: bold;
  color: var(--sse-text-light);
  margin-bottom: 12px;
}
.sse-viewer .sse-xrModal > .sse-xrModalContent > p {
  font-size: 13px;
  line-height: 1.4;
  color: var(--sse-text);
  margin-bottom: 16px;
}
.sse-viewer .sse-xrModal > .sse-xrModalContent > .sse-xrModalButtons {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.sse-viewer .sse-xrModal > .sse-xrModalContent > .sse-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: var(--sse-text-dark);
  background-color: rgba(255, 255, 255, 0.04);
  transition: background-color 250ms ease, color 250ms ease;
}
.sse-viewer .sse-xrModal > .sse-xrModalContent > .sse-xrModalButtons > button:hover {
  color: var(--sse-text-light);
  background-color: rgba(255, 255, 255, 0.1);
}
.sse-viewer .sse-xrModal > .sse-xrModalContent > .sse-xrModalButtons > button.sse-xrModalOk {
  color: var(--sse-text-light);
  background-color: color-mix(in srgb, var(--sse-accent) 70%, transparent);
  border-color: color-mix(in srgb, var(--sse-accent) 80%, transparent);
}
.sse-viewer .sse-xrModal > .sse-xrModalContent > .sse-xrModalButtons > button.sse-xrModalOk:hover {
  background-color: var(--sse-accent);
}
.sse-viewer .sse-tooltip {
  display: none;
  position: absolute;
  border-radius: 4px;
  padding: 4px 4px;
  font-size: 12px;
  white-space: nowrap;
  color: var(--sse-text);
  background-color: var(--sse-bkg-dark);
}
.sse-viewer .sse-annotations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.sse-viewer .sse-annotations * {
  pointer-events: auto;
}
.sse-viewer .sse-annotations > .sse-annotation-hotspots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  isolation: isolate;
  pointer-events: none;
}
.sse-viewer .sse-annotations > .sse-annotation-hotspots > .sse-annotation-hotspot {
  position: absolute;
  left: 0;
  top: 0;
  will-change: transform;
  display: none;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  color: var(--sse-text-light);
  background-color: rgba(0, 0, 0, 0.7);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  transition: opacity 300ms cubic-bezier(0.45, 0, 0.55, 1), border-color 150ms ease, background-color 150ms ease;
}
.sse-viewer .sse-annotations > .sse-annotation-hotspots > .sse-annotation-hotspot:hover {
  border-color: var(--sse-accent);
}
.sse-viewer .sse-annotations > .sse-annotation-hotspots > .sse-annotation-hotspot.sse-active {
  border-color: var(--sse-accent);
  background-color: var(--sse-accent);
}
.sse-viewer .sse-annotations > .sse-annotation-hotspots > .sse-annotation-hotspot.sse-occluded {
  opacity: 0.4;
  transition: opacity 450ms cubic-bezier(0.45, 0, 0.55, 1), border-color 150ms ease, background-color 150ms ease;
}
.sse-viewer .sse-annotations > .sse-annotation-hotspots > .sse-annotation-hotspot.sse-occluded:hover, .sse-viewer .sse-annotations > .sse-annotation-hotspots > .sse-annotation-hotspot.sse-occluded.sse-active {
  opacity: 1;
  transition: opacity 300ms cubic-bezier(0.45, 0, 0.55, 1), border-color 150ms ease, background-color 150ms ease;
}
.sse-viewer .sse-annotations > .sse-annotation {
  --sse-annotation-bkg: rgba(0, 0, 0, 0.9);
  position: absolute;
  left: 0;
  top: 0;
  will-change: transform;
  width: -moz-max-content;
  width: max-content;
  max-width: min(280px, 100% - 16px);
  box-sizing: border-box;
  padding: 10px 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  font-size: 12px;
  line-height: 1.45;
  color: var(--sse-text);
  background-color: var(--sse-annotation-bkg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow-wrap: break-word;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 0.2s, opacity 0.2s ease-out;
}
.sse-viewer .sse-annotations > .sse-annotation.sse-visible {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.2s ease-out;
}
.sse-viewer .sse-annotations > .sse-annotation > .sse-annotation-title {
  font-size: 13px;
  font-weight: bold;
  color: var(--sse-text-light);
}
.sse-viewer .sse-annotations > .sse-annotation > .sse-annotation-text {
  margin-top: 4px;
}
.sse-viewer .sse-annotations > .sse-annotation:has(> .sse-annotation-text:empty) {
  padding-bottom: 10px;
}
.sse-viewer .sse-annotations > .sse-annotation:has(> .sse-annotation-text:empty) > .sse-annotation-text {
  display: none;
}
.sse-viewer .sse-annotations > .sse-annotation:has(> .sse-annotation-title:empty):has(> .sse-annotation-text:empty) {
  display: none;
}
.sse-viewer .sse-annotations > .sse-annotation.sse-arrow-right::before, .sse-viewer .sse-annotations > .sse-annotation.sse-arrow-left::before {
  content: "";
  position: absolute;
  top: var(--arrow-top, 50%);
  transform: translateY(-50%);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}
.sse-viewer .sse-annotations > .sse-annotation.sse-arrow-right::before {
  left: -8px;
  border-right: 8px solid var(--sse-annotation-bkg);
}
.sse-viewer .sse-annotations > .sse-annotation.sse-arrow-left::before {
  right: -8px;
  border-left: 8px solid var(--sse-annotation-bkg);
}
.sse-viewer {
  /* annotationNav */
}
.sse-viewer .sse-annotationNav {
  pointer-events: none;
}
.sse-viewer .sse-annotationNav.sse-faded-in {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.5s ease-out;
}
.sse-viewer .sse-annotationNav.sse-faded-out {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 0.5s, opacity 0.5s ease-out;
}
.sse-viewer .sse-annotationNav.sse-dimmed {
  opacity: 0.4;
}
.sse-viewer .sse-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: var(--sse-text);
  background-color: rgba(0, 0, 0, 0.3);
}
.sse-viewer .sse-annotationNav > button:hover {
  color: var(--sse-text-light);
  background-color: rgba(0, 0, 0, 0.5);
}
.sse-viewer .sse-annotationNav > button > svg {
  display: block;
}
.sse-viewer .sse-annotationNav > button > svg > g.sse-stroke {
  fill: none;
  stroke: black;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.4;
}
.sse-viewer .sse-annotationNav > button > svg > g.sse-fill {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sse-viewer .sse-annotationNav.sse-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);
}
.sse-viewer .sse-annotationNav.sse-desktop > button {
  width: 34px;
  height: 34px;
  background-color: transparent;
}
.sse-viewer .sse-annotationNav.sse-desktop > button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.sse-viewer .sse-annotationNav.sse-desktop > .sse-annotationInfo {
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  white-space: nowrap;
  width: 300px;
  align-self: stretch;
}
.sse-viewer .sse-annotationNav.sse-desktop > .sse-annotationInfo > .sse-annotationNavNumber {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: bold;
  color: var(--sse-text-light);
  background-color: rgba(0, 0, 0, 0.7);
}
.sse-viewer .sse-annotationNav.sse-desktop > .sse-annotationInfo > .sse-annotationNavNumber:empty {
  display: none;
}
.sse-viewer .sse-annotationNav.sse-desktop > .sse-annotationInfo > .sse-annotationNavTitle {
  min-width: 0;
  font-size: 14px;
  color: var(--sse-text-light);
  overflow: hidden;
  text-overflow: ellipsis;
}
.sse-viewer .sse-annotationNav.sse-desktop > .sse-annotationInfo > .sse-annotationNavNumber,
.sse-viewer .sse-annotationNav.sse-desktop > .sse-annotationInfo > .sse-annotationNavTitle {
  transition: opacity 150ms ease;
}
.sse-viewer .sse-annotationNav.sse-desktop.sse-unselected > .sse-annotationInfo {
  pointer-events: auto;
  cursor: pointer;
}
.sse-viewer .sse-annotationNav.sse-desktop.sse-unselected > .sse-annotationInfo > .sse-annotationNavNumber,
.sse-viewer .sse-annotationNav.sse-desktop.sse-unselected > .sse-annotationInfo > .sse-annotationNavTitle {
  opacity: 0.45;
}
.sse-viewer .sse-annotationNav.sse-desktop.sse-unselected > .sse-annotationInfo:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.sse-viewer .sse-annotationNav.sse-desktop.sse-unselected > .sse-annotationInfo:hover > .sse-annotationNavNumber,
.sse-viewer .sse-annotationNav.sse-desktop.sse-unselected > .sse-annotationInfo:hover > .sse-annotationNavTitle {
  opacity: 1;
}
.sse-viewer .sse-annotationNav.sse-touch {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.sse-viewer .sse-annotationNav.sse-touch > .sse-annotationInfo {
  display: none;
}
.sse-viewer .sse-annotationNav.sse-touch > button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 80px;
  background-color: rgba(0, 0, 0, 0.3);
}
.sse-viewer .sse-annotationNav.sse-touch > button:active {
  background-color: rgba(0, 0, 0, 0.4);
}
.sse-viewer .sse-annotationNav.sse-touch > .sse-annotationPrev {
  left: max(0px, env(safe-area-inset-left));
  border-radius: 0 6px 6px 0;
}
.sse-viewer .sse-annotationNav.sse-touch > .sse-annotationNext {
  right: max(0px, env(safe-area-inset-right));
  border-radius: 6px 0 0 6px;
}

/* ---- publication ui ---- */
/* Visitor-facing UI: loading overlay, alexander chrome, camera mode pills and help panel. */

@font-face { font-family: AlexanderLocalSans; src: local("Segoe UI"); }

:root,
.publication-interface-alexander {
    --alexander-background: #07111d;
    --alexander-panel: rgba(17,21,29,.66);
    --alexander-text: #fff;
    --alexander-muted: #b9c1cc;
    --alexander-accent: #dfe3ea;
    --alexander-border: #ffffff35;
    --alexander-active: #ffffff26;
    --alexander-menu: #11151df5;
    --alexander-sans: AlexanderLocalSans, "Helvetica Neue", sans-serif;
}
.publication-interface-alexander body { font-family: var(--alexander-sans); color: var(--alexander-text); background: var(--alexander-background); }

/* ---------- Loading state on the document ---------- */
html.publication-loading,
html.publication-revealing,
html.publication-loading body,
html.publication-revealing body { background: #07111d !important; }
html.publication-interface-alexander.publication-loading,
html.publication-interface-alexander.publication-loading body,
html.publication-interface-alexander.publication-revealing,
html.publication-interface-alexander.publication-revealing body { background: var(--alexander-background) !important; }
html.publication-loading .alexander-chrome,
html.publication-revealing .alexander-chrome { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
html.publication-loading .alexander-chrome *,
html.publication-revealing .alexander-chrome * { pointer-events: none !important; }

/* ---------- Loading overlay ---------- */
#publicationLoadingOverlay { position: fixed; z-index: 1000; inset: 0; overflow: hidden; isolation: isolate; display: grid; place-items: center; width: 100vw; min-height: 100vh; min-height: 100dvh; color: #f5f3ef; background: radial-gradient(circle at 50% 40%, #10243a 0%, #091725 34%, #050b12 100%); opacity: 1; transition: opacity 2440ms cubic-bezier(.4,0,.2,1); pointer-events: auto; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
#publicationLoadingOverlay, #publicationLoadingOverlay * { box-sizing: border-box; }
#publicationLoadingOverlay::before { content: ''; position: absolute; z-index: 1; inset: 0; background: radial-gradient(circle at 50% 42%, transparent 0 34%, rgba(2,7,12,.15) 58%, rgba(1,4,8,.68) 100%); pointer-events: none; }
#publicationLoadingOverlay::after { content: ''; position: absolute; z-index: 2; inset: 0; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); pointer-events: none; }
#publicationLoadingOverlay .publication-loading-photo { position: absolute; z-index: 0; inset: -18px; width: calc(100% + 36px); height: calc(100% + 36px); object-fit: cover; filter: blur(6px); opacity: .65; pointer-events: none; }
#publicationLoadingOverlay.is-revealing { opacity: 0; pointer-events: none; }
#publicationLoadingOverlay [hidden] { display: none !important; }
#publicationLoadingOverlay .publication-loading-content { position: relative; z-index: 3; display: flex; flex-direction: column; justify-content: center; width: min(980px, 92vw); min-width: 0; max-height: 100%; padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); text-align: center; }
#publicationLoadingOverlay .publication-loading-visual { position: relative; flex: 0 1 auto; width: min(760px, 82vw); height: clamp(230px, 42vh, 420px); margin: 0 auto; }
#publicationLoadingOverlay .publication-loading-visual::before { content: ''; position: absolute; inset: 12% 12% 14%; background: radial-gradient(ellipse, rgba(231,189,118,.12), rgba(19,67,104,.035) 45%, transparent 72%); filter: blur(18px); animation: publication-loading-breathe 3.8s ease-in-out infinite alternate; }
#publicationLoadingOverlay canvas { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 0 14px rgba(231,189,118,.06)); }
#publicationLoadingOverlay .publication-loading-copy { flex: 0 0 auto; margin-top: 2px; }
#publicationLoadingOverlay .publication-loading-headline { color: #f8f1e5; font: 400 clamp(32px, 4vw, 58px)/1.08 Georgia, "Times New Roman", serif; letter-spacing: -.025em; text-shadow: 0 1px 18px rgba(231,189,118,.12); overflow-wrap: anywhere; }
#publicationLoadingOverlay .publication-loading-scene { margin-top: 12px; color: #d7bd91; font: 550 clamp(13px, 1.15vw, 17px)/1.3 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: .08em; overflow-wrap: anywhere; }
#publicationLoadingOverlay .publication-loading-message { margin-top: 10px; color: #b9c1cc; font-size: clamp(15px, 1.3vw, 20px); font-weight: 350; line-height: 1.4; overflow-wrap: anywhere; }
#publicationLoadingOverlay .publication-loading-progress { width: min(520px, 74vw); margin: 28px auto 0; }
#publicationLoadingOverlay .publication-loading-progress-row { display: flex; align-items: center; gap: 16px; }
#publicationLoadingOverlay .publication-loading-track { position: relative; flex: 1; height: 2px; background: rgba(255,255,255,.11); }
#publicationLoadingOverlay .publication-loading-fill { width: 0; height: 100%; background: linear-gradient(90deg, #cf9855, #ffe1a1); box-shadow: 0 0 18px rgba(255,204,122,.75); }
#publicationLoadingOverlay .publication-loading-dot { position: absolute; top: 50%; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #ffe9bd; transform: translate(-50%, -50%); box-shadow: 0 0 14px 4px rgba(255,204,122,.45); }
#publicationLoadingOverlay .publication-loading-percent { width: 48px; color: #e7bd76; text-align: left; font-size: 13px; font-variant-numeric: tabular-nums; }
#publicationLoadingOverlay .publication-loading-phase { min-height: 1.2em; margin-top: 15px; color: #6f7f91; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
#publicationLoadingOverlay .publication-loading-wordmark-accessible { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#publicationLoadingOverlay.is-minimal .publication-loading-visual,
#publicationLoadingOverlay.is-minimal .publication-loading-copy { display: none; }
#publicationLoadingOverlay.is-minimal.is-error .publication-loading-copy { display: block; }
#publicationLoadingOverlay.is-minimal .publication-loading-progress { width: min(420px, 74vw); margin-top: 0; }
#publicationLoadingOverlay.is-error .publication-loading-visual { height: clamp(180px, 28vh, 280px); }
#publicationLoadingOverlay.is-error .publication-loading-progress-row { display: none; }
#publicationLoadingOverlay.is-error .publication-loading-phase { color: #d7bd91; }
@keyframes publication-loading-breathe { from { opacity: .45; transform: scale(.97); } to { opacity: .9; transform: scale(1.03); } }
@media (max-width: 700px) {
    #publicationLoadingOverlay .publication-loading-content { width: 100vw; padding-top: max(14px, env(safe-area-inset-top)); padding-bottom: max(14px, env(safe-area-inset-bottom)); }
    #publicationLoadingOverlay .publication-loading-visual { width: min(94vw, 620px); height: clamp(220px, 34vh, 330px); }
    #publicationLoadingOverlay .publication-loading-headline { font-size: clamp(28px, 8vw, 40px); line-height: 1.06; }
    #publicationLoadingOverlay .publication-loading-scene { margin-top: 10px; font-size: clamp(12px, 3.5vw, 15px); }
    #publicationLoadingOverlay .publication-loading-message { margin-top: 9px; font-size: clamp(13px, 3.7vw, 17px); }
    #publicationLoadingOverlay .publication-loading-progress { width: min(84vw, 520px); margin-top: 22px; }
    #publicationLoadingOverlay .publication-loading-phase { margin-top: 13px; font-size: 10px; }
}
@media (max-width: 700px) and (orientation: portrait) {
    #publicationLoadingOverlay .publication-loading-visual { height: clamp(210px, 31vh, 300px); }
}
@media (max-height: 560px) and (orientation: landscape) {
    #publicationLoadingOverlay .publication-loading-content { width: min(980px, 96vw); padding-top: max(8px, env(safe-area-inset-top)); padding-bottom: max(8px, env(safe-area-inset-bottom)); }
    #publicationLoadingOverlay .publication-loading-visual { height: clamp(160px, 38vh, 230px); }
    #publicationLoadingOverlay .publication-loading-headline { font-size: clamp(24px, 5.5vh, 36px); }
    #publicationLoadingOverlay .publication-loading-scene { margin-top: 7px; }
    #publicationLoadingOverlay .publication-loading-message { margin-top: 6px; font-size: clamp(12px, 3.2vh, 15px); }
    #publicationLoadingOverlay .publication-loading-progress { margin-top: 14px; }
    #publicationLoadingOverlay .publication-loading-phase { margin-top: 8px; }
}
/* Alexander palette applied to the overlay */
.publication-interface-alexander #publicationLoadingOverlay { background: var(--alexander-background); color: var(--alexander-text); font-family: var(--alexander-sans); }
.publication-interface-alexander #publicationLoadingOverlay .publication-loading-headline { color: var(--alexander-text); }
.publication-interface-alexander #publicationLoadingOverlay .publication-loading-message,
.publication-interface-alexander #publicationLoadingOverlay .publication-loading-phase { color: var(--alexander-muted); }
.publication-interface-alexander #publicationLoadingOverlay .publication-loading-scene,
.publication-interface-alexander #publicationLoadingOverlay .publication-loading-percent { color: var(--alexander-accent); font-family: var(--alexander-sans); }
.publication-interface-alexander #publicationLoadingOverlay .publication-loading-fill,
.publication-interface-alexander #publicationLoadingOverlay .publication-loading-dot { background: var(--alexander-accent); box-shadow: none; }
@media (prefers-reduced-motion: reduce) {
    #publicationLoadingOverlay { transition-duration: 180ms; }
    #publicationLoadingOverlay .publication-loading-visual::before { animation: none; opacity: .68; }
}

/* ---------- Alexander chrome (shared) ---------- */
.alexander-chrome { position: fixed; z-index: 57; box-sizing: border-box; color: var(--alexander-text); font-family: var(--alexander-sans); pointer-events: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; transition: opacity .25s ease, visibility .25s ease; }
.alexander-chrome *, .alexander-chrome *::before, .alexander-chrome *::after { box-sizing: border-box; }
.alexander-chrome button { pointer-events: auto; margin: 0; -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.alexander-chrome[hidden], .alexander-chrome [hidden] { display: none !important; }
.alexander-chrome button:focus { outline: none; }
.alexander-chrome button:focus-visible { outline: 2px solid var(--alexander-accent); outline-offset: 4px; }

/* Brand (top-left) */
#alexanderBrand { top: max(30px, env(safe-area-inset-top)); left: max(38px, env(safe-area-inset-left)); display: flex; align-items: center; gap: 14px; max-width: min(48vw, 600px); }
#alexanderBrand > svg { width: 40px; height: 40px; flex: none; fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
#alexanderBrand strong { display: block; font: 500 19px/normal var(--alexander-sans); letter-spacing: 3px; overflow-wrap: anywhere; }
#alexanderBrand strong .separator { opacity: .4; padding: 0 4px; }
#alexanderBrand small { display: block; font: 400 8px/normal var(--alexander-sans); letter-spacing: 2.2px; margin-top: 6px; color: var(--alexander-muted); overflow-wrap: anywhere; }

/* Optional place caption (bottom-left) */
#alexanderPlace { left: max(40px, env(safe-area-inset-left)); bottom: max(156px, calc(env(safe-area-inset-bottom) + 156px)); max-width: min(680px, calc(100vw - 80px)); max-height: calc(100dvh - 270px); overflow: hidden; overflow-wrap: anywhere; }
#alexanderLocation { font: 500 10px/normal var(--alexander-sans); letter-spacing: 3px; margin: 0 0 20px; }
#alexanderMotto { font: 400 44px/1.08 Georgia, "Times New Roman", serif; letter-spacing: -1.2px; margin: 0 0 25px; text-shadow: 0 2px 20px #0002; }
#alexanderMotto > span, #alexanderMotto > em { display: block; font-weight: 400; }
#alexanderCaption { font: 400 10px/normal var(--alexander-sans); letter-spacing: .5px; display: flex; align-items: center; flex-wrap: wrap; gap: 13px; color: var(--alexander-muted); margin: 0; }
#alexanderCaption .hairline { height: 1px; width: 25px; background: currentColor; opacity: .55; }

/* Actions (top-right) */
#alexanderActions { top: max(30px, env(safe-area-inset-top)); right: max(38px, env(safe-area-inset-right)); display: flex; gap: 10px; align-items: center; }
#alexanderActions .alexander-round { display: grid; place-items: center; flex: none; width: 39px; min-width: 39px; height: 39px; min-height: 39px; padding: 0; border: 1px solid var(--alexander-border); border-radius: 50%; background: var(--alexander-panel); color: var(--alexander-text); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: none; font: 400 13px/1 var(--alexander-sans); cursor: pointer; }
#alexanderActions .alexander-round:hover { background: var(--alexander-active); }
#alexanderPerformance { text-transform: uppercase; }
#alexanderFullscreen svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
#alexanderBadge { display: flex; align-items: center; gap: 8px; margin-right: 14px; font: 400 11px/normal var(--alexander-sans); letter-spacing: .3px; white-space: nowrap; }
#alexanderBadge::before { content: ''; width: 5px; height: 5px; flex: none; border-radius: 50%; background: var(--alexander-accent); box-shadow: 0 0 12px var(--alexander-accent); }

/* Tour transport (bottom-centre) */
#alexanderTransport { left: 50%; bottom: max(29px, calc(env(safe-area-inset-bottom) + 29px)); transform: translateX(-50%); display: flex; gap: 8px; }
#alexanderTransport button { cursor: pointer; color: var(--alexander-text); border: 1px solid var(--alexander-border); border-radius: 999px; background: var(--alexander-panel); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font: 500 12px/1 var(--alexander-sans); min-height: 40px; padding: 0 16px; }
#alexanderTransport button:hover { background: var(--alexander-active); }

/* Camera mode pills (bottom-right) */
#alexanderModes { right: calc(max(16px, env(safe-area-inset-right)) + 38px); bottom: max(86px, calc(env(safe-area-inset-bottom) + 86px)); display: flex; gap: 6px; }
#alexanderModes .alexander-mode { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 52px; height: 34px; padding: 0 12px; border: 1px solid var(--alexander-border); border-radius: 999px; color: var(--alexander-text); background: var(--alexander-panel); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 8px 24px rgba(0,0,0,.18); font: 500 12px/1 var(--alexander-sans); text-transform: lowercase; cursor: pointer; }
#alexanderModes .alexander-mode:hover { background: var(--alexander-active); }
#alexanderModes .alexander-mode.active { color: #fff; border-color: rgba(255,255,255,.72); background: var(--alexander-active); box-shadow: 0 0 0 2px rgba(255,255,255,.16), 0 12px 30px rgba(0,0,0,.3); font-weight: 800; }
#alexanderModes .alexander-mode.active::before { content: ''; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 999px; background: #fff; box-shadow: 0 0 10px rgba(255,255,255,.75); }

/* Auto-hide */
html.publication-ui-quiet #alexanderBrand,
html.publication-ui-quiet #alexanderPlace,
html.publication-ui-quiet #alexanderActions,
html.publication-ui-quiet #alexanderModes { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
html.publication-ui-quiet #alexanderActions button,
html.publication-ui-quiet #alexanderModes button { pointer-events: none !important; }

/* ---------- Help panel ---------- */
#alexanderHelpPanel { position: fixed; z-index: 70; inset: 0; display: grid; place-items: center; padding: 16px; box-sizing: border-box; background: #0006; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); color: var(--alexander-text); font-family: var(--alexander-sans); -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
#alexanderHelpPanel[hidden] { display: none; }
#alexanderHelpPanel *, #alexanderHelpPanel *::before, #alexanderHelpPanel *::after { box-sizing: border-box; }
#alexanderHelpPanel [hidden] { display: none !important; }
#alexanderHelpPanel .alexander-help-content { position: relative; display: flex; flex-direction: column; width: min(360px, 100%); max-height: min(80vh, 640px, calc(100dvh - 32px)); overflow: hidden; border: 1px solid var(--alexander-border); border-radius: 16px; background: var(--alexander-menu); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 18px 60px rgba(0,0,0,.4); outline: none; }
#alexanderHelpPanel .alexander-help-header { display: flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; padding: 14px 48px; background: #00000026; border-bottom: 1px solid rgba(255,255,255,.06); font: 700 14px/1.2 var(--alexander-sans); white-space: nowrap; }
#alexanderHelpPanel .alexander-help-header > svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
#alexanderHelpPanel .alexander-help-close { position: absolute; top: 7px; right: 8px; display: grid; place-items: center; width: 32px; height: 32px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--alexander-muted); cursor: pointer; -webkit-appearance: none; appearance: none; }
#alexanderHelpPanel .alexander-help-close:hover { color: var(--alexander-text); background: var(--alexander-active); }
#alexanderHelpPanel .alexander-help-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
#alexanderHelpPanel .alexander-help-body { flex: 1 1 auto; min-height: 0; padding: 16px; overflow-y: auto; }
#alexanderHelpPanel .alexander-help-body::-webkit-scrollbar { width: 6px; }
#alexanderHelpPanel .alexander-help-body::-webkit-scrollbar-track { background: transparent; }
#alexanderHelpPanel .alexander-help-body::-webkit-scrollbar-thumb { background-color: #ffffff1f; border-radius: 3px; }
#alexanderHelpPanel .alexander-help-section + .alexander-help-section { margin-top: 22px; }
#alexanderHelpPanel h2 { margin: 0; padding: 4px 0 8px; color: var(--alexander-accent); font: 700 11px/1.3 var(--alexander-sans); letter-spacing: 1px; text-transform: uppercase; }
#alexanderHelpPanel .alexander-help-list { margin: 0; padding: 0; list-style: none; }
#alexanderHelpPanel .alexander-help-item { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin: 0 -8px; padding: 5px 8px; border-radius: 6px; font-size: 13px; line-height: 1.35; }
#alexanderHelpPanel .alexander-help-item:nth-child(odd) { background-color: #ffffff08; }
#alexanderHelpPanel .alexander-help-action { text-align: left; }
#alexanderHelpPanel .alexander-help-key { color: var(--alexander-muted); font-size: 12px; text-align: right; white-space: nowrap; }
#alexanderHelpPanel .alexander-help-tabs { display: flex; justify-content: center; gap: 24px; flex-shrink: 0; padding: 8px 16px; border-top: 1px solid rgba(255,255,255,.06); }
#alexanderHelpPanel .alexander-help-tab { margin: 0; padding: 8px 4px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: var(--alexander-muted); font: 700 13px/1.2 var(--alexander-sans); cursor: pointer; transition: color .15s ease, border-color .15s ease; -webkit-appearance: none; appearance: none; }
#alexanderHelpPanel .alexander-help-tab:hover { color: var(--alexander-text); }
#alexanderHelpPanel .alexander-help-tab.active { color: var(--alexander-text); border-bottom-color: var(--alexander-accent); }
#alexanderHelpPanel button:focus { outline: none; }
#alexanderHelpPanel button:focus-visible { outline: 2px solid var(--alexander-accent); outline-offset: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) { #alexanderMotto { font-size: 38px; } }
@media (max-width: 600px) {
    #alexanderBrand { top: max(22px, env(safe-area-inset-top)); left: max(20px, env(safe-area-inset-left)); gap: 9px; max-width: calc(100vw - 170px); }
    #alexanderBrand > svg { width: 31px; height: 31px; }
    #alexanderBrand strong { font-size: 15px; }
    #alexanderBrand small { font-size: 6px; letter-spacing: 1.4px; }
    #alexanderActions { top: max(22px, env(safe-area-inset-top)); right: max(20px, env(safe-area-inset-right)); gap: 6px; }
    #alexanderActions .alexander-round { width: 32px; min-width: 32px; height: 32px; min-height: 32px; }
    #alexanderBadge { display: none; }
    #alexanderPlace { left: 24px; bottom: max(175px, calc(env(safe-area-inset-bottom) + 175px)); max-width: calc(100vw - 48px); }
    #alexanderMotto { font-size: 35px; }
    #alexanderLocation { font-size: 8px; }
    #alexanderCaption { font-size: 9px; }
    #alexanderTransport { left: 18px; transform: none; bottom: max(22px, calc(env(safe-area-inset-bottom) + 22px)); }
    #alexanderTransport button { padding: 0 12px; min-height: 44px; }
    #alexanderModes { right: calc(max(16px, env(safe-area-inset-right)) + 18px); bottom: max(82px, calc(env(safe-area-inset-bottom) + 82px)); }
    #alexanderModes .alexander-mode { height: auto; min-height: 44px; padding: 0 10px; }
}
@media (max-height: 520px) {
    #alexanderPlace { bottom: max(146px, calc(env(safe-area-inset-bottom) + 146px)); max-height: calc(100dvh - 224px); }
    #alexanderMotto { font-size: 26px; margin-bottom: 10px; }
    #alexanderLocation { margin-bottom: 10px; }
}
@media (max-height: 340px) {
    #alexanderPlace { max-height: calc(100dvh - 216px); }
    #alexanderLocation { font-size: 8px; margin-bottom: 4px; }
    #alexanderMotto { font-size: 17px; margin-bottom: 5px; }
    #alexanderCaption { font-size: 8px; }
}
@media (max-width: 600px) and (max-height: 340px) {
    #alexanderPlace { max-height: calc(100dvh - 204px); }
    #alexanderMotto { font-size: 18px; margin-bottom: 6px; }
}
/* Touch-first devices: same layout in landscape, transport moves bottom-right. */
@media (pointer: coarse) {
    #alexanderPlace { display: none; }
    #alexanderTransport { left: auto; right: calc(18px + env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); transform: none; }
    #alexanderTransport button { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    .alexander-chrome, .alexander-chrome *, #alexanderHelpPanel * { transition: none !important; }
}

#alexanderActions .alexander-round.alexander-pill-round { width: auto; min-width: 39px; padding: 0 12px; border-radius: 20px; letter-spacing: .04em; }

/* quality dropdown (ECO / HD / MAX / ULTRA) */
#alexanderActions .alexander-quality { position: relative; display: inline-flex; }
#alexanderActions .alexander-quality-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 176px; padding: 6px; border: 1px solid var(--alexander-border); border-radius: 14px; background: var(--alexander-menu); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 14px 38px rgba(0,0,0,.35); display: flex; flex-direction: column; gap: 2px; z-index: 2; }
#alexanderActions .alexander-quality-item { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; padding: 8px 12px; border: 0; border-radius: 9px; background: transparent; color: var(--alexander-text); font: 600 12px/1.2 var(--alexander-sans); letter-spacing: .06em; text-transform: uppercase; text-align: left; cursor: pointer; }
#alexanderActions .alexander-quality-item:hover { background: var(--alexander-active); }
#alexanderActions .alexander-quality-item.active { background: var(--alexander-active); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
#alexanderActions .alexander-quality-item .alexander-quality-note { font: 400 11px/1.2 var(--alexander-sans); letter-spacing: 0; text-transform: none; color: var(--alexander-muted); }
html.publication-ui-quiet #alexanderActions .alexander-quality-menu { display: none; }
