.pc-header {
  text-align: center;
  padding: 20px;
}

.pc-header h1 {
  font-size: 24px;
  margin-bottom: 10px;
}

.pc-header p {
  font-size: 12px;
  color: #888;
}

#nes-container {
  width: 100%;
  max-width: 640px;
  aspect-ratio: 256 / 240;
  background: #000;
  position: relative;
  margin: 20px auto;
  border: 2px solid var(--border-color);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#nes-container canvas {
  width: 100% !important;
  height: 100% !important;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  display: block;
}

.keyboard-hint {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  max-width: 300px;
  margin: 10px auto;
  font-size: 11px;
  color: #666;
}

.keyboard-hint span {
  padding: 2px 4px;
}

.keyboard-hint .key {
  color: var(--accent-color);
  font-weight: bold;
}
