.game {
  display: grid;
  grid-template-columns: minmax(0, 1fr) calc(220rem / 16);
  gap: calc(24rem / 16);
  align-items: start;
}

.canvasFrame {
  display: flex;
  justify-content: center;
}

.canvas {
  width: 100%;
  max-width: calc(360rem / 16);
  height: auto;
  overflow: hidden;
  border: calc(2rem / 16) solid var(--border);
  border-radius: calc(8rem / 16);
  background: var(--primary-accent-lightest);
  image-rendering: pixelated;
  touch-action: manipulation;
  cursor: pointer;
}

.panel {
  display: flex;
  flex-direction: column;
  gap: calc(16rem / 16);
  padding: calc(16rem / 16);
  border: calc(1rem / 16) solid var(--border);
  border-radius: calc(8rem / 16);
  background: var(--card-background);
}

.score,
.status {
  margin: 0;
}

.score {
  color: var(--primary-heading);
  font-size: calc(20rem / 16);
  font-weight: 700;
}

.status {
  color: var(--text);
  line-height: 1.5;
}

.button {
  min-height: calc(40rem / 16);
  padding: calc(8rem / 16);
  border: none;
  border-radius: calc(8rem / 16);
  background: var(--button-background);
  color: var(--text-light);
  font-family: "Poppins", "sans-serif";
  font-weight: 600;
  cursor: pointer;
}

.button:hover,
.button:focus {
  background: var(--secondary-accent);
}

@media only screen and (max-width: calc(768rem / 16)) {
  .game {
    grid-template-columns: 1fr;
  }
}
