/* Native world canvas and scene visibility. Visitor components live in theme.css. */
html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
body {
  background: #faf7f1;
}
#view {
  display: block;
  width: 100vw;
  height: 100dvh;
  touch-action: none;
}
#panel,
#report {
  display: none !important;
}
[hidden] {
  display: none !important;
}
.capture-landscape #view {
  height: auto;
  aspect-ratio: 16/9;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100vw;
}
.booting #view,
.graphics-unavailable #view {
  visibility: hidden;
}
.world-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 99;
  transform: translateY(calc(-100% - 24px));
  background: #fffaf4;
  padding: 12px 16px;
}
.world-skip:focus {
  transform: none;
}
.building-label-layer {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.building-leaders {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}
.building-leaders path {
  fill: none;
  stroke: #a57751;
  stroke-width: 1;
  opacity: 0.6;
}
.building-leaders path.selected {
  stroke: #147baf;
  stroke-width: 1.5;
}
.building-pin,
.building-card,
.space-name-shelf {
  pointer-events: auto;
}
.building-pin {
  position: absolute;
}
.building-card {
  position: absolute;
}
.reader-open .building-label-layer,
.reader-open .building-dock,
.reader-open .island-overview,
.reader-open .guide-dialogue {
  visibility: hidden;
}
.overview-expanded .building-card,
.overview-expanded .building-dock {
  visibility: hidden;
}
.gateway-active .journey-controls,
.gateway-active .space-entry,
.gateway-active .hub-about {
  display: none !important;
}
.contact-open .building-label-layer,
.contact-open .island-overview,
.contact-open .building-dock,
.contact-open .journey-controls {
  display: none !important;
}
.ending-active .hub-about,
.ending-active footer {
  display: none !important;
}
.reader-open #worldLoading {
  display: none;
}
.graphics-unavailable .space-entry,
.graphics-unavailable .journey-controls {
  display: none !important;
}
body:not(.review-tools) .review-tool {
  display: none !important;
}
.no-graphics {
  position: fixed;
  inset: 80px 5vw;
  overflow: auto;
  padding: 24px;
  background: #fffaf4;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
