body {
  background: #101d30;
  color: #d8e6ef;
  margin: 0;
  font: 16px/1.6 system-ui;
}
main,
footer {
  max-width: 850px;
  margin: auto;
  padding: 24px;
}
h1 {
  font-family: Cinzel, serif;
  color: #d8b46a;
}
.demo-banner {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #101d30;
  border-bottom: 2px solid #d8b46a;
  padding: 12px;
  margin: 0;
}
#wander-art {
  width: 100%;
  height: 240px;
  position: relative;
}
#wander-art .crystal {
  position: absolute;
  width: 100px;
  height: 160px;
  left: calc(50% - 50px);
  top: 30px;
}
.relic3d {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.webgl-relic .crystal {
  visibility: hidden;
}
.relic3d[hidden] {
  display: none;
}
button,
a {
  min-height: 44px;
}
button {
  padding: 10px;
  margin: 4px;
  color: #d8e6ef;
  background: #101d30;
  border: 1px solid #d8b46a;
  border-radius: 4px;
}
button:disabled {
  opacity: 0.55;
}
a {
  color: #d8b46a;
}
:focus-visible {
  outline: 3px solid #d8b46a;
  outline-offset: 3px;
}
svg {
  max-width: 100%;
  display: block;
}
#wander-path[hidden] {
  display: none;
}
@media (max-width: 480px) {
  main,
  footer {
    padding: 16px;
  }
  #wander-art {
    height: 135px;
  }
  #wander-art .crystal {
    height: 105px;
    width: 66px;
    left: calc(50% - 33px);
    top: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
