:root {
  --sky-a: #f5c875;
  --sky-b: #ec8f45;
  --sand: #ddb56d;
  --earth: #9f7346;
  --ink: #2a1e1a;
  --card-front: #f8f0da;
  --card-back: #164b44;
  --good: #2f8f3a;
  --bad: #b53a2b;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sky-a), var(--sky-b));
  font-family: "Nunito", "Trebuchet MS", sans-serif;
}

body {
  position: relative;
}

#gameCanvas {
  display: block;
  width: 100vw;
  height: 100vh;
  touch-action: manipulation;
}

.restart {
  position: fixed;
  right: 14px;
  bottom: 14px;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  font: 900 14px/1 "Nunito", "Trebuchet MS", sans-serif;
  letter-spacing: 0.02em;
  color: #fff;
  background: rgba(42, 30, 26, 0.82);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.restart:hover {
  background: rgba(42, 30, 26, 0.95);
}
