* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: var(--fog-color, #295661);
  color: #e2eee8;
  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;
}
canvas:active {
  cursor: grabbing;
}
canvas:focus-visible {
  outline: 1px solid #f3e8c6;
  outline-offset: -5px;
}
header {
  position: fixed;
  z-index: 2;
  top: 24px;
  left: 28px;
  letter-spacing: 0.16em;
  pointer-events: none;
  text-shadow: 0 1px 14px #153e43;
}
header p {
  margin: 6px 0 0;
  color: #b9d5d1;
  letter-spacing: 0;
}
footer {
  position: fixed;
  z-index: 2;
  bottom: 24px;
  left: 28px;
  right: 28px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  pointer-events: none;
  text-shadow:
    0 1px 2px #183d40,
    0 0 10px #183d40;
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: auto;
}
button {
  pointer-events: auto;
  appearance: none;
  background: none;
  border: 0;
  color: #e2e7d6;
  font: inherit;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 0;
  cursor: pointer;
  white-space: nowrap;
  text-shadow: inherit;
}
button:hover {
  color: #fff4c7;
}
button:focus-visible {
  outline: 1px solid #fff4c7;
  outline-offset: 5px;
}
#status {
  position: fixed;
  inset: 50% 24px auto;
  text-align: center;
  letter-spacing: 0.04em;
}
.lil-gui.root {
  top: 20px;
  right: 28px;
}
.lil-gui.root,
.lil-gui.root .lil-gui {
  --background-color: rgb(15 44 48 / 0.96);
  --text-color: #d2e3dc;
  --title-background-color: transparent;
  --title-text-color: #d2e3dc;
  --widget-color: #285256;
  --hover-color: #39666a;
  --focus-color: #527b7b;
  --number-color: #efe2ad;
  --string-color: #efe2ad;
  --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: 600px) {
  header {
    top: 20px;
    left: 16px;
    font-size: 10px;
    letter-spacing: 0.09em;
  }
  header p {
    font-size: 9px;
  }
  .lil-gui.root {
    right: 16px;
    top: 76px;
  }
  footer {
    left: 16px;
    right: 16px;
    bottom: 16px;
    gap: 8px;
    flex-wrap: wrap;
  }
  nav {
    gap: 14px;
  }
  button {
    font-size: 9px;
  }
}
