html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The game is drawn tiny (320 x 180) and then stretched.
   "pixelated" keeps the edges sharp and blocky instead of blurry. */
canvas {
  image-rendering: pixelated;
}

/* Pocket Arcade: the Back button, tucked in the bottom-right corner */
#arcadeLink {
  position: fixed;
  right: 10px;
  bottom: 10px;
  padding: 6px 12px;
  border: 2px solid #4df3ff;
  border-radius: 6px;
  background: rgba(5, 3, 15, 0.85);
  color: #ffffff;
  font: bold 14px Arial, sans-serif;
  text-decoration: none;
}
#arcadeLink:hover {
  color: #ffe45e;
  border-color: #ff4fa3;
}
#arcadeLink[hidden] {
  display: none;
}

/* The music credit, small and quiet in the bottom-left corner */
#musicCredit {
  position: fixed;
  left: 10px;
  bottom: 10px;
  color: #7dff6a;
  font: 12px Arial, sans-serif;
  opacity: 0.7;
  pointer-events: none;
}
#musicCredit[hidden] {
  display: none;
}
