* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--robot-sky, var(--page));
  font-family: system-ui, sans-serif;
}
#game {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
#unity-canvas {
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
}
#overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
#overlay > * {
  position: absolute;
  margin: 0;
  visibility: hidden;
  pointer-events: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  outline-offset: 2px;
  font: inherit;
  color: transparent;
  padding: 0;
}
#overlay > .native-positioned {
  visibility: visible;
  pointer-events: auto;
}
#overlay input:not([type='range']),
#overlay textarea,
#overlay p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.45;
  padding: 6px 9px;
}
#overlay textarea {
  resize: none;
}
#overlay p {
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
#overlay button {
  font-size: 0;
  cursor: pointer;
}
#overlay button:focus-visible {
  outline: 3px solid var(--accent);
}
#overlay input:focus-visible,
#overlay textarea:focus-visible {
  outline: 2px solid var(--accent);
}
#overlay #run-prompt {
  font-size: 14px;
}
mark {
  background: var(--accent-soft);
  color: var(--text);
}
#seek {
  opacity: 0.8;
  accent-color: var(--accent);
}
#loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 16px;
  text-align: center;
  color: var(--text);
  pointer-events: none;
  background: var(--page);
}
#loading[hidden] {
  display: none;
}
progress {
  width: 180px;
  height: 4px;
  accent-color: var(--accent);
}
.safe-area-probe {
  position: fixed;
  visibility: hidden;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}
[hidden] {
  display: none !important;
}
