html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #000;
  color: #fff;
  cursor: none;
}

#melt {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
}

#terminal {
  position: fixed;
  margin: 0;
  padding: 0.3em 0.5em;
  background: rgba(0, 0, 0, 0.75);
  font-family: "VT323", monospace;
  pointer-events: none;
  transition: opacity 2s;
  white-space: pre;
  overflow: hidden;
  text-overflow: ellipsis;
  left: 1vw;
  right: 1vw;
  bottom: 1vh;
  font-size: max(14px, 1.3vw);
  line-height: 1.05;
  /* fixed size: a box that grows or vanishes reads as a flash */
  height: 6.3em;
  color: #6f6;
}

body.clean #terminal {
  opacity: 0;
}

#gate {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000;
  font-family: "Nosifer", fantasy;
  text-align: center;
  cursor: pointer;
}

#gate h1 {
  font-size: 9vw;
  margin: 0;
  color: #f0f;
  text-shadow: 0.05em 0.05em #0ff;
}

#gate p {
  font-family: "VT323", monospace;
  font-size: 3vw;
  margin: 0.4em;
}

#gate .warn {
  color: #ff0;
  font-size: 2vw;
}

body.melting #gate {
  display: none;
}
