.wrap {
  padding-top: 5vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  overflow-x: hidden;
}

.stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 1100px;
  padding: 0 1rem;
  background: #000;
  padding-bottom: 20px;
}

.canvas-wrap {
  position: relative;
  width: 100%;
  background: var(--panel);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 1;
}

.canvas-wrap > canvas {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
}

@media (max-width: 1024px) {
  .canvas-wrap {
    aspect-ratio: 16 / 9;
    max-height: 50vh;
  }

  .hud {
    gap: 6px;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .help {
    font-size: 0.9rem;
  }

  kbd {
    font-size: 0.85rem;
    padding: 2px 6px;
  }
}

.hud {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.help {
  color: #e5e7eb;
  margin: 0;
  font-family: 'Funnel Sans', sans-serif;
}

kbd {
  background: transparent;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95em;
  font-weight: 600;
  color: #6ee7b7;

  text-shadow: 0 0 6px rgba(110, 231, 183, 0.8),
               0 0 12px rgba(52, 211, 153, 0.6);
  transition: transform 0.15s ease;
}

kbd:hover {
  transform: scale(1.05);
}
