html, body {
  margin: 0; padding: 0;
  background: #000;
  overflow: hidden;
  font-family: 'Menlo', 'Monaco', monospace;
  color: #888;
  height: 100%;
  cursor: default;
  user-select: none;
}

canvas {
  display: block;
  opacity: 0;
  transition: opacity 3s ease-in;
}
canvas.on { opacity: 1; }

#hint {
  position: fixed;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 2.5s ease;
  font-size: 12px;
  letter-spacing: 4px;
  color: #555;
}
#hint.on { opacity: 1; }

#story {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 1.2s ease;
  font-size: 15px;
  color: #aaa;
  pointer-events: none;
  text-align: center;
  letter-spacing: 1px;
}

#escapee {
  position: fixed;
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  left: 0; top: 0;
  display: none;
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 0 12px #fff, 0 0 24px rgba(255, 255, 255, 0.4);
  transition: left 1.4s cubic-bezier(.4, 0, .2, 1),
              top  1.4s cubic-bezier(.4, 0, .2, 1);
}

#endBtn {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px 28px;
  background: transparent;
  color: #666;
  border: 1px solid #222;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 2px;
  display: none;
  cursor: pointer;
  opacity: 0;
  transition: opacity 1.5s ease, color 0.3s, border-color 0.3s;
}
#endBtn.on { opacity: 1; }
#endBtn:hover { color: #fff; border-color: #555; }
