.resource-loading {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  color: #f1dfaf;
  opacity: 1;
  transition: opacity 500ms ease;
  overflow: hidden;
}
.resource-loading.leaving {
  opacity: 0;
  pointer-events: none;
}
.loading-center {
  text-align: center;
  position: relative;
}
.loading-center svg {
  width: 132px;
  height: 132px;
  filter: drop-shadow(0 0 20px #f1dfaf33);
}
.loading-center p {
  margin: 14px 0 0;
}
.loading-title {
  font-size: 30px;
}
.loading-percent {
  display: inline-block;
  min-width: 42px;
  font:
    14px Georgia,
    serif;
  color: #e7d9c9;
}
.loading-status {
  display: block;
  margin: 18px auto 0;
  background: none;
  border: 0;
  color: #d1c6bd;
  font: 14px serif;
  min-height: 28px;
  cursor: pointer;
}
.moon-cut {
  transition: cx 100ms linear;
}
.prepare-status {
  position: absolute;
  bottom: 12%;
  left: 0;
  width: 100%;
  text-align: center;
  color: #e7d9c9;
  font-size: 13px;
  pointer-events: none;
}
.perf-panel {
  position: fixed;
  right: 6px;
  top: 6px;
  z-index: 1100;
  background: #12182bd9;
  color: #f6efe4;
  padding: 6px;
  border-radius: 5px;
  font: 11px monospace;
  max-width: 160px;
  contain: content;
}
.perf-panel button {
  display: block;
  font: 12px sans-serif;
  margin-top: 4px;
}
.perf-panel textarea {
  width: 145px;
  height: 100px;
}
.c3d {
  transition: opacity 350ms ease;
}
@media (prefers-reduced-motion: reduce) {
  .moon-cut {
    transition: none;
  }
  .c3d {
    transition: none;
  }
}
.perf-panel button[hidden] {
  display: none;
}
.perf-panel button {
  color: #3b2a22;
  background: #f6efe4;
  border: 1px solid #cdbd9c;
  border-radius: 3px;
  padding: 4px;
}
.font-retry {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1001;
  background: #2f3552;
  color: #f6efe4;
  border: 1px solid #e9d7a8;
  border-radius: 8px;
  padding: 10px;
}
