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

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

#game {
  width: 100vw;
  height: 100vh;
  position: relative;
}


.bicycle {
  position: absolute;
  width: 150px;
  height: 120px;
}

.bicycleImg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.saddle {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  z-index: 5;
}

.broccoli {
  position: absolute;
  width: 40px;
  height: 40px;
  cursor: grab;
  touch-action: none;
  z-index: 20;
}

.broccoli.dragging {
  cursor: grabbing;
}

.broccoli.used {
  opacity: 0.3;
  pointer-events: none;
}

.broccoliImg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  transform: rotate(-90deg);
}

#gameOver {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

#gameOver.hidden {
  display: none;
}

#gameOverContent {
  background: white;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
}

#gameOverContent h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

#gameOverContent p {
  font-size: 24px;
  margin-bottom: 30px;
}

#restartBtn {
  background: #333;
  color: white;
  border: none;
  padding: 12px 32px;
  font-size: 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

#restartBtn:hover {
  background: #555;
}