/* ==================== 找对象页面样式 ==================== */

/* 统计条 */
.match-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 8px;
}

.match-stat-item {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.match-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

.match-stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
  display: block;
}

/* 卡片网格 */
.match-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

/* 单身卡片 */
.match-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.match-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(236, 72, 153, 0.15);
}

.match-card.vip {
  border: 2px solid #ffd666;
}

.match-vip-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #ffd666, #ffc53d);
  color: #8b4513;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  z-index: 2;
}

.match-urgent-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ff4d4f;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  z-index: 2;
}

/* 照片区域 */
.match-photo-wrap {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: linear-gradient(135deg, #fce7f3, #f3e8ff);
}

.match-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.match-card:hover .match-photo {
  transform: scale(1.05);
}

.match-photo-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  background: linear-gradient(135deg, #fce7f3, #f3e8ff);
}

.match-gender-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.match-gender-badge.male {
  background: linear-gradient(135deg, #2b6beb, #1a55d4);
}

.match-gender-badge.female {
  background: linear-gradient(135deg, #ec4899, #db2777);
}

/* 信息区域 */
.match-info {
  padding: 16px 18px 18px;
}

.match-name-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.match-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.match-age {
  font-size: 14px;
  color: var(--text-secondary);
}

.match-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

.match-meta span {
  background: var(--bg-light);
  padding: 2px 8px;
  border-radius: 4px;
}

.match-height {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.match-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.match-tags .tag {
  background: #fce7f3;
  color: #db2777;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
}

.match-intro {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.match-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.match-reward {
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary);
}

.match-views {
  font-size: 12px;
  color: var(--text-light);
}

/* 详情弹窗内部 */
.profile-hero {
  padding: 32px;
  position: relative;
}

.profile-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--bg-light);
  padding: 10px 14px;
  border-radius: 8px;
}

.profile-key {
  font-size: 12px;
  color: var(--text-light);
}

.profile-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

/* 响应式 */
@media (max-width: 1200px) {
  .match-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .match-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .match-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .match-grid {
    grid-template-columns: 1fr;
  }
  .match-photo-wrap {
    height: 220px;
  }
  .match-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .filter-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
