* {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

#game_container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#points {
  position: absolute;
  top: 8px;
  right: 12px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  z-index: 10;
}

#points.hidden {
  display: none;
}

#game-over.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  color: #eee;
  text-align: center;
  z-index: 20;
}

#game-over[hidden] {
  display: none;
}

#game-over .content {
  background: rgba(0, 0, 0, 0.5);
  padding: 16px 32px;
  border-radius: 12px;
}

#game-over h1 {
  margin: 0 0 8px;
  font-size: 22px;
}

#game-over button.play {
  cursor: pointer;
  background: transparent;
  border: 2px solid oklch(0.72 0.19 150);
  color: #f5f5f3;
  font-size: 16px;
  font-weight: 600;
  padding: 8px 24px;
  border-radius: 11px;
  margin-top: 12px;
  font-family: inherit;
}

#game-over button.play:hover {
  background: oklch(0.72 0.19 150 / 0.12);
}
