/* Hallmark v2.0.0: existing game palette, typography and layout preserved; surface: absolute; CSP resource extraction. */
/* Critique: preserve the game surface; no visual redesign in this repair. */
/* Hallmark · waive 7b · existing color tokens retained · game canvas and focus outline keep the published game palette during CSP repair */
/* Hallmark · waive 24b · existing button metrics retained · game button spacing remains identical to the published CSS during resource extraction */
/* Hallmark · waive 26b · game buttons have no aria-disabled states · game controls retain native browser active states and the existing visible focus outline */
/* Hallmark · waive 28b · result video stays below the play canvas · game result video appears only after play ends and is not a landing image */
/* Hallmark · answered F23 · this game repair keeps the existing page metadata and changes resource delivery only */
:root {
  --color-background: #f0f8ff;
  --color-text: #333;
  --color-button: #fff;
  --color-outline: #000;
  --color-score-lives: rgba(255, 255, 255, 0.8);
  --font-family: "Arial", sans-serif;
}

html, body {
  overflow-x: clip;
}

body {
  font-family: var(--font-family);
  text-align: center;
  background-color: var(--color-background);
  margin: 0;
  padding: 20px;
}
canvas {
  border: 2px solid var(--color-text);
  background-color: var(--color-button);
  display: block;
  margin: 0 auto;
  max-width: 100%;
}
.buttons {
  margin-top: 20px;
}
button {
  margin: 5px;
  padding: 10px 15px;
  font-size: 16px;
  cursor: pointer;
  font-family: var(--font-family);
}
button:focus-visible {
  outline: 3px solid var(--color-outline);
  outline-offset: 2px;
}
#result {
  margin-top: 20px;
  font-size: 20px;
  display: none;
}
#restart-btn {
  margin-top: 10px;
  padding: 10px 20px;
  font-size: 18px;
}
#score-lives {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 18px;
  font-weight: bold;
  background-color: var(--color-score-lives);
  padding: 5px 10px;
  border-radius: 5px;
}
