/**
 * 合併的會員資訊卡片樣式（節省空間版本）
 */

/* ========== 合併的會員卡片 ========== */
.manus-member-card {
  background: white;
  border-radius: 16px;
  margin: 8px 16px 12px 16px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* 第一行：頭像 + 姓名/等級 + 購買按鈕 */
.manus-member-header {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding-bottom: 12px;
  border-bottom: 1px solid #F0F0F0;
  margin-bottom: 12px;
}

.manus-member-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FC3130 0%, #B43228 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 2px 8px rgba(252, 49, 48, 0.3);
}

/* 驗證狀態指示器 */
.manus-member-avatar .verification-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  font-size: 11px;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.manus-member-avatar .verification-badge.verified {
  background: #3b82f6;
  color: white;
}

.manus-member-avatar .verification-badge.unverified {
  background: #f59e0b;
  color: white;
}

.manus-member-avatar .verification-badge svg {
  width: 10px;
  height: 10px;
  stroke: none;
  fill: white;
}

.manus-member-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.manus-member-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.manus-member-name {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.manus-member-tier {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #ffd700, #ffaa00);
  border: 2px solid #cc8800;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 900;
  color: #5a3d00;
  text-shadow: 0 1px 0 rgba(255,255,255,0.3);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.4);
  white-space: nowrap;
  flex-shrink: 0;
}

.manus-member-tier .lv {
  font-size: 10px;
  margin-right: 2px;
}

.manus-member-contact {
  font-size: 15px;
  color: #999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 第二行：積分 + 購買按鈕 */
.manus-member-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.manus-points-display {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 8px 12px;
  background: #FFF9E6;
  border-radius: 12px;
  flex: 1;
  min-width: 0;
  transition: background 0.2s;
}

.manus-points-display:active {
  background: #FFF3CC;
}

.manus-points-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.manus-points-value {
  font-size: 20px;
  font-weight: 700;
  color: #FC3130;
  white-space: nowrap;
}

.manus-points-label {
  font-size: 13px;
  color: #666;
  white-space: nowrap;
}

.manus-buy-points-btn {
  background: white;
  border: 1.5px solid #E0E0E0;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  white-space: nowrap;
}

.manus-buy-points-btn:active {
  background: #F5F5F5;
  transform: scale(0.98);
}

/* 響應式調整 */
@media (max-width: 360px) {
  .manus-member-avatar {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
  
  .manus-member-name {
    font-size: 16px;
  }
  
  .manus-buy-points-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .manus-points-value {
    font-size: 18px;
  }
}

