{/* Player 1 */}
Player 1
setName1(e.target.value)}
placeholder="Enter name"
maxLength={24}
style={{
padding: '0.6rem 1rem', fontSize: '1rem', background: theme.bg,
color: theme.text, border: `1px solid ${theme.border}`, borderRadius: 6,
textAlign: 'center', outline: 'none', width: 140
}}
/>
{/* Display Tower toggle */}
{/* Collapsible Drawer for Player 1 details */}
{/* Color selector for Player 1 */}
COLOR
{getPresetColors(theme.player1Str).map(c => {
const isSelected = color1.toLowerCase() === c.toLowerCase()
return (
)
})}
{/* Native color picker circle */}
{/* Swap button in between P1 and P2 */}
{/* Player 2 */}
Player 2
setName2(e.target.value)}
placeholder="Enter name"
maxLength={24}
style={{
padding: '0.6rem 1rem', fontSize: '1rem', background: theme.bg,
color: theme.text, border: `1px solid ${theme.border}`, borderRadius: 6,
textAlign: 'center', outline: 'none', width: 140
}}
/>
{/* Display Tower toggle */}
{/* Collapsible Drawer for Player 2 details */}
{/* Color selector for Player 2 */}
COLOR
{getPresetColors(theme.player2Str).map(c => {
const isSelected = color2.toLowerCase() === c.toLowerCase()
return (
)
})}
{/* Native color picker circle */}
{/* Readonly Rules Summary */}
{/* Difficulty/Profile */}
Difficulty
{/* Opponent Type */}
Opponent Type
{(['streamer', 'coach', 'analyst', 'taunt'] as const).map(t => {
const isActive = opponentType === t
return (
)
})}
{/* Taunt Style / Personality (Conditional) */}
{opponentType === 'taunt' && (
Personality
{(['friendly', 'funny', 'lover', 'serious'] as const).map(s => {
const isActive = tauntStyle === s
return (
)
})}
)}
)}