*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: #0a0515;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: monospace;
}

#wrapper {
  position: relative;
  display: inline-block;
  /* Subtle outer glow */
  box-shadow: 0 0 40px rgba(200, 164, 80, 0.25), 0 0 80px rgba(200, 164, 80, 0.10);
}

#game {
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  cursor: default;
  /* Border echoing the in-game dialogue box */
  border: 2px solid rgba(200, 164, 80, 0.4);
}

#mute-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(10, 6, 2, 0.75);
  border: 1px solid rgba(200, 164, 80, 0.5);
  border-radius: 3px;
  color: #c8a450;
  font-size: 14px;
  padding: 2px 6px;
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s;
  z-index: 10;
}

#mute-btn:hover {
  background: rgba(200, 164, 80, 0.2);
}

/* Prevent blue tap highlight on mobile */
canvas { -webkit-tap-highlight-color: transparent; }
