#gsi-canvas {
  width: 100%;
  max-width: 640px;
  height: auto;
  aspect-ratio: 640 / 360;
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 0 2px var(--color-border);
  display: block;
  margin: 0 auto;
}

.gsi-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 14px;
}
.gsi-btn {
  border: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  background: var(--color-primary-dark);
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
}
.gsi-jump { background: #ff7043; }
.gsi-grapple { background: #ffca28; color: #1a1a1a; }
.gsi-btn:active { filter: brightness(0.85); }

.gsi-levels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}
.gsi-level-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: 2px solid var(--color-border);
  background: var(--color-bg-alt);
  color: var(--color-text);
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}
.gsi-level-btn span { font-weight: 500; font-size: 0.78rem; color: var(--color-text-soft); }
.gsi-level-btn.active { border-color: var(--color-primary); }
.gsi-level-btn.locked { opacity: 0.5; cursor: not-allowed; }

@media (max-width: 460px) {
  .gsi-btn { padding: 11px 16px; font-size: 0.9rem; }
}
