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

body {
  font-family: 'Noto Sans', sans-serif;
  background: #fff;
  overflow: hidden;
  touch-action: none;
}

#game-container {
  width: 100vw;
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
}

#score-display {
  display: flex;
  justify-content: space-around;
  padding: 12px;
  background: rgba(0, 0, 0, 0.05);
  font-size: 18px;
  font-weight: 600;
}

.score-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.label {
  font-size: 12px;
  color: #666;
  text-transform: uppercase;
}

#score, #timer {
  font-size: 24px;
  color: #000;
}

#gameCanvas {
  flex: 1;
  display: block;
  touch-action: none;
}

#game-over {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

#game-over.hidden {
  display: none;
}

.game-over-content {
  background: white;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  max-width: 90%;
}

.game-over-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.final-score {
  font-size: 20px;
  margin-bottom: 30px;
  color: #333;
}

#restart-btn {
  background: #000;
  color: white;
  border: none;
  padding: 12px 32px;
  font-size: 18px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  min-width: 160px;
  min-height: 44px;
}

#restart-btn:active {
  transform: scale(0.98);
}