.card {
  width: 100%;
  max-width: 480px;
  border-radius: 12px;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.header {
  padding: 24px;
  display: flex;
  align-items: center;
  background-color: #fafafa;
  border-bottom: 1px solid #f0f0f0;
}

.avatarWrapper {
  margin-right: 20px;
}

.avatar {
  border-radius: 50%;
  object-fit: cover;
}

.userInfo {
  flex: 1;
}

.nameRow {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.username {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  color: #333;
}

.gender {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #c2185b;
  font-size: 12px;
  margin-left: 8px;
}

.scoreRow {
  display: flex;
  align-items: center;
}

.scoreRow > span {
  font-size: 1.1rem;
  font-weight: 500;
  color: #757575;
}

.content {
  padding: 16px 24px 24px;
}

.section {
  margin-bottom: 20px;
}

.sectionTitle {
  font-size: 0.9rem;
  font-weight: 600;
  color: #9e9e9e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 12px 0;
}

.infoGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.infoRow {
  display: flex;
  flex-direction: column;
}

.infoRow:last-child  {
  grid-column: 1 / 3;
}

.infoRow > span:nth-child(1) {
  font-size: 0.75rem;
  color: #9e9e9e;
  margin-bottom: 2px;
}

.infoRow > span:nth-child(2) {
  font-size: 0.9rem;
  color: #424242;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.emoji {
  margin-right: 4px;
}

.remaining {
  color: #ff9800;
  font-size: 0.8rem;
  margin-left: 4px;
}

@media (max-width: 480px) {
  .infoGrid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
