body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(180deg, #dff3ff, #ffffff);
  text-align: center;
  padding: 30px;
}

.game-wrap {
  max-width: 700px;
  margin: 0 auto;
}

h1 {
  margin-bottom: 16px;
  color: #0f172a;
}

.hud {
  display: flex;
  justify-content: space-between;
  max-width: 400px;
  margin: 0 auto 16px;
  font-size: 20px;
  font-weight: bold;
  color: #0f172a;
}

#gameArea {
  position: relative;
  width: 100%;
  height: 420px;
  background: #b9e6ff;
  border: 4px solid #5aa9d6;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

#bird {
  position: absolute;
  font-size: 52px;
  user-select: none;
  cursor: pointer;
  transform: translate(-50%, -50%);
  display: none;
  transition: transform 0.08s ease;
}

#bird:active {
  transform: translate(-50%, -50%) scale(0.9);
}

button {
  margin-top: 18px;
  padding: 12px 22px;
  font-size: 18px;
  border: 0;
  border-radius: 12px;
  background: #2563eb;
  color: white;
  cursor: pointer;
  transition: background 0.2s ease;
}

button:hover {
  background: #1d4ed8;
}

button:disabled {
  background: #94a3b8;
  cursor: not-allowed;
}

#msg {
  font-size: 18px;
  margin-top: 12px;
  color: #0f172a;
}