/* 🌸 BASIS */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #fdf6f8;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.profile-container {
  display: block;
  flex: 1;
}

.profile-info {
  max-width: 620px;
  margin: 0 auto;
  background: white;
  padding: 30px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.profile-image {
  width: 260px;
  height: 260px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  margin: 0 auto 20px;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.profile-details {
  text-align: center;
}

.profile-details h1 {
  margin: 0 0 12px;
  color: #c2185b;
  font-size: 3rem;
}

.profile-details p {
  color: #555;
  line-height: 1.5;
}

.profile-traits {
  margin-top: 20px;
}

.profile-traits h2 {
  text-align: center;
  color: #c2185b;
  margin-bottom: 15px;
}

.profile-traits table {
  margin: 0 auto;
}

.chat-photo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 12px 0;
  border-top: 1px solid #eee;
  margin-top: 25px;
}

.chat-photo-strip img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s;
}

.chat-photo-strip img:hover {
  transform: scale(1.08);
}

/* LOADING */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  color: #c2185b;
  font-size: 1.2em;
}

.loading-heart {
  font-size: 48px;
  animation: spin 1.6s linear infinite;
  margin-bottom: 12px;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* 📱 MOBIEL */
@media (max-width: 768px) {

  .profile-info {
    padding: 20px 16px;
  }

  .profile-image {
    width: 180px;
    height: 180px;
  }

  .profile-details h1 {
    font-size: 2.2rem;
  }

  .profile-traits table {
    width: 100%;
    font-size: 0.95em;
  }

  .chat-photo-strip img {
    width: 70px;
    height: 70px;
  }
}