* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  font-family: Arial, sans-serif;
  background: #111827;
  color: #f9fafb;
}

.game-shell {
  width: min(92vw, 460px);
  text-align: center;
  padding: 24px;
  border-radius: 18px;
  background: #1f2937;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

h1 {
  margin-top: 0;
  margin-bottom: 8px;
}

.instructions {
  margin: 0 0 16px;
  color: #d1d5db;
}

.hud {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 1rem;
}

.actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

canvas {
  width: 100%;
  max-width: 400px;
  border: 3px solid #374151;
  border-radius: 12px;
  background: #0f172a;
}

button {
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  background: #22c55e;
  color: #052e16;
}

button:hover {
  background: #4ade80;
}

.secondary-action {
  background: #e5e7eb;
  color: #111827;
}

.secondary-action:hover {
  background: #d1d5db;
}

.photo-panel {
  margin-top: 18px;
}

.photo-status {
  margin: 0 0 12px;
  color: #d1d5db;
}

.photo-panel img {
  width: 100%;
  border: 3px solid #374151;
  border-radius: 12px;
  background: #0f172a;
}
