.rps-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.rps-battlefield {
  width: 100%;
  max-width: 680px;
  background: var(--bg-surface-subtle);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: relative;
  min-height: 240px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.rps-fighter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}
.rps-hand-display {
  width: clamp(90px, 20vw, 130px);
  height: clamp(90px, 20vw, 130px);
  border-radius: 50%;
  background: var(--bg-surface);
  border: 4px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(3rem, 7vw, 4.5rem);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
}
.rps-fighter-label {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}
.rps-vs-badge {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary);
  background: var(--bg-surface);
  border: 2px solid var(--primary);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.rps-result-banner {
  font-size: clamp(1.25rem, 3.5vw, 1.85rem);
  font-weight: 900;
  min-height: 2.4rem;
  text-align: center;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.rps-choices-grid {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  justify-content: center;
  flex-wrap: wrap;
  margin: 1rem 0;
}
.rps-choice-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1.75rem;
  background: var(--bg-surface);
  border: 3px solid var(--border-color);
  border-radius: var(--radius-xl);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.18s ease;
  min-width: 120px;
}
.rps-choice-btn:hover:not(:disabled) {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
}
.rps-choice-btn:active:not(:disabled) {
  transform: scale(0.96);
}
.rps-choice-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.rps-choice-icon {
  font-size: 3rem;
  line-height: 1;
}
.rps-choice-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
}
.rps-scoreboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  width: 100%;
  max-width: 680px;
  margin-top: 0.5rem;
}
.rps-score-card {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 0.75rem 0.5rem;
  text-align: center;
}
.rps-score-num {
  font-size: 1.75rem;
  font-weight: 900;
  font-family: ui-monospace, monospace;
  color: var(--text-primary);
}
.rps-score-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: 0.2rem;
}
@keyframes rpsShake {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-24px); }
  75% { transform: translateY(12px); }
}
.is-shaking {
  animation: rpsShake 0.4s ease-in-out infinite;
}
@media (max-width: 500px) {
  .rps-battlefield {
    padding: 1.25rem 0.75rem;
    min-height: 180px;
  }
  .rps-hand-display {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
  }
  .rps-vs-badge {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .rps-choice-btn {
    padding: 0.85rem 1rem;
    min-width: 90px;
    flex: 1;
  }
  .rps-choice-icon {
    font-size: 2.2rem;
  }
  .rps-choice-name {
    font-size: 0.9rem;
  }
  .rps-scoreboard {
    gap: 0.35rem;
  }
  .rps-score-card {
    padding: 0.5rem 0.25rem;
  }
  .rps-score-num {
    font-size: 1.35rem;
  }
  .rps-score-label {
    font-size: 0.65rem;
  }
}
