body {
  font-family: 'Courier New', Courier, monospace;
  font-size: large;
  background-color: black;
  color: white;
}

.ita_postkarte_eltern {
  width: 100vw;              /* 100% der sichtbaren Browserbreite */
  height: auto;              /* Höhe passt sich automatisch proportional an */
  display: block;            /* Verhindert unschöne Abstände unter dem Bild */
}

.game {
  box-sizing: border-box;
  width: min(800px, calc(100% - 32px));
  margin: 32px auto 48px;
  border: 1px solid #47625a;
  background: #102326;
  color: #f5f0d1;
  font-size: 16px;
}

.game-heading,
.game-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
}

.game-heading h2 {
  margin: 4px 0 0;
  color: #f5f0d1;
}

.game-eyebrow,
.game-best {
  margin: 0;
  color: #a7c9a6;
  font-size: 12px;
}

.game-best strong {
  margin-left: 8px;
  color: #f1c477;
  font-size: 18px;
}

#game-canvas {
  display: block;
  width: 100%;
  height: auto;
  touch-action: manipulation;
}

.game-controls p {
  margin: 0;
  color: #b5d8c1;
  line-height: 1.5;
}

#game-button {
  flex: 0 0 auto;
  border: 0;
  padding: 12px 16px;
  background: #d78b5d;
  color: #14292c;
  font: bold 16px 'Courier New', Courier, monospace;
  cursor: pointer;
}

#game-button:hover {
  background: #f1c477;
}

#game-button:focus-visible {
  outline: 3px solid #a7d7a3;
  outline-offset: 3px;
}

@media (max-width: 520px) {
  .game-heading,
  .game-controls {
    align-items: flex-start;
    padding: 14px;
  }

  .game-controls {
    flex-direction: column;
  }
}