.display-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}
.display-controls label { color: #b0a0c2; font-size: 13px; }
.display-controls select { max-width: 180px; }
.intro { gap: 20px; flex-wrap: wrap; }
.game-shell { background: #000; min-width: 320px; min-height: 240px; }
.game-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
}
/* SDL writes inline pixel sizes. Fit the entire rendered frame, not a crop of it. */
#canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  object-fit: contain;
  border: 0;
  padding: 0;
  image-rendering: auto;
}
.game-shell:fullscreen { width: 100%; height: 100%; }
.game-shell:fullscreen .game-label { display: none; }
#display-status { line-height: 1.5; }
@media (max-width: 700px) {
  .display-controls { justify-content: flex-start; gap: 8px; }
}
