/* photo.css: the player's own photo (js/photo.js, 2026-11-11).
   A round picture in the corner of the pianist's portrait (the menu card and
   the profile page), and in place of the layered avatar in the lists. */

/* in a list row: the leaderboards (.lb-av, .fpb-avimg) and a team's members */
img.up-photo { border-radius: 50%; object-fit: cover; background: #1f2a44; }
img.tm-photo { width: 40px; height: 40px; display: block; }

/* the badge on a portrait. The ids out-rank the Stage menu's
   `.pc-avatar-big img { width: 100% }`, which would otherwise blow it up. */
#pc-avatar { position: relative; }
#menu #pc-avatar .up-photo-badge,
#profile-screen .pf-portrait .up-photo-badge {
  position: absolute; left: 8px; bottom: 8px; width: 64px; height: 64px;
  border-radius: 50%; object-fit: cover; display: block; z-index: 2;
  border: 3px solid #121827; box-shadow: 0 0 0 2px rgba(51,212,255,.55), 0 3px 10px rgba(0,0,0,.5);
  background: #1f2a44;
}
#menu #pc-avatar span.up-photo-badge,
#profile-screen .pf-portrait span.up-photo-badge {
  display: flex; align-items: center; justify-content: center; font-size: 26px; line-height: 1;
}
.up-photo-badge.busy { animation: up-photo-pulse 1s ease-in-out infinite alternate; }
@keyframes up-photo-pulse { from { opacity: .45; } to { opacity: 1; } }

/* the profile page's buttons and what they say */
#profile-screen .pf-photo-rm { font-size: 12px; padding: 7px 12px; font-weight: 700; }
#profile-screen .pf-photo-msg { margin: 0; font-size: 12px; line-height: 1.4; color: #9fe8ff; }
#profile-screen .pf-photo-msg.bad { color: #ff9aa9; }
