* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #081329;
  color: #d4dedc;
  font:
    11px/1.5 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
[hidden] {
  display: none !important;
}
main {
  position: fixed;
  inset: 0;
}
canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
  outline: none;
}
body.pulling canvas {
  cursor: grabbing;
}
canvas:focus-visible {
  outline: 1px solid #dfc6aa;
  outline-offset: -5px;
}
header {
  position: fixed;
  z-index: 2;
  top: 24px;
  left: 28px;
  letter-spacing: 0.16em;
  pointer-events: none;
  text-shadow: 0 1px 12px #020708;
}
header a {
  color: inherit;
  text-decoration: none;
  pointer-events: auto;
}
button {
  pointer-events: auto;
  appearance: none;
  background: none;
  border: 0;
  color: #b9c9c8;
  font: inherit;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 0;
  cursor: pointer;
  white-space: nowrap;
  text-shadow: inherit;
  touch-action: none;
}
button:hover,
button[aria-pressed="true"] {
  color: #dbac83;
}
button:focus-visible,
input:focus-visible {
  outline: 1px solid #dbac83;
  outline-offset: 5px;
}
#status {
  position: fixed;
  inset: 50% 24px auto;
  text-align: center;
  letter-spacing: 0.04em;
}
body.ui-hidden header,
body.ui-hidden .lil-gui {
  display: none;
}
.lil-gui.root {
  top: 20px;
  right: 28px;
}
.lil-gui.root,
.lil-gui.root .lil-gui {
  --background-color: #09171bf5;
  --text-color: #aebfbe;
  --title-background-color: transparent;
  --title-text-color: #aebfbe;
  --widget-color: #243438;
  --hover-color: #35474a;
  --focus-color: #526464;
  --number-color: #dbac83;
  --string-color: #dbac83;
  --font-size: 11px;
}
.lil-gui.root,
.lil-gui.root * {
  text-transform: uppercase;
}
.lil-gui.root.closed,
.lil-gui.root .lil-gui {
  background-color: transparent;
}
.lil-gui.root .title {
  text-align: center;
}
.lil-gui.root .title::before {
  position: static;
  padding-right: 2px;
}
@media (max-width: 650px) {
  header {
    top: 20px;
    left: 16px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }
  .lil-gui.root {
    right: 16px;
    top: 52px;
  }
  button {
    font-size: 9px;
    min-height: 44px;
    min-width: 40px;
  }
}
