/* The first-sign-in form (username and team name), shared by the home page and the game */
#profileModal { position: fixed; inset: 0; z-index: 110; display: none; align-items: center; justify-content: center; background: rgba(5, 10, 18, .72); }
#profileModal.show { display: flex; }
#profileModal .pm-card { width: min(92vw, 380px); background: #16212f; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 22px; color: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
#profileModal h2 { margin: 0 0 14px; font-size: 20px; }
#profileModal label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 12px; }
#profileModal small { display: block; font-weight: 400; color: #aab6c5; font-size: 12px; margin: 2px 0 6px; }
#profileModal input { width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: 8px; border: 1px solid #3a4d66; background: #0d1520; color: #fff; font-size: 16px; }
#profileModal .pm-err { color: #ff8a80; min-height: 18px; font-size: 13px; margin-bottom: 8px; }
#profileModal button { width: 100%; padding: 11px; border: 0; border-radius: 999px; background: #ffd23f; color: #1a1a1a; font-weight: 800; font-size: 16px; cursor: pointer; }
