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

html, body {
  height: 100%;
}

body {
  background: #1c1c1c;
  font-family: "Courier New", "Lucida Console", Monaco, monospace;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f380f;
}

#wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px;
}

#score {
  color: #9bbc0f;
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 2px;
  text-shadow: 0 0 6px rgba(155, 188, 15, 0.45);
}

#bezel {
  position: relative;
  padding: 18px;
  border-radius: 10px;
  background: #2a2a2a;
  border: 4px solid #111;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 0 0 2px #444;
}

#game {
  display: block;
  background: #9bbc0f;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  border: 2px solid #0f380f;
  width: 400px;
  height: 400px;
}

#overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(15, 56, 15, 0.85);
  color: #9bbc0f;
  padding: 20px 30px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 1px;
  text-align: center;
  pointer-events: none;
}

#overlay p {
  margin-top: 8px;
  font-size: 13px;
  font-weight: normal;
  letter-spacing: 0;
  opacity: 0.85;
}

#overlay.hidden {
  display: none;
}

#hint {
  color: #555;
  font-size: 12px;
  letter-spacing: 1px;
}
