/* 奖励列表容器 */
.award-list-container {
  width: 100%;
  padding: 16px;
}

/* 奖励flex布局 */
.award-grid {
  display: flex;
  flex-wrap: wrap;
  margin: -8px;
  /* 负边距抵消item的margin */
}

/* 奖励item卡片 */
.award-item-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
  width: 2.45rem;
  height: 2.45rem;
  /* Flex布局：每行3个 */
  width: calc(33.33% - 16px);
  margin: 8px;
  flex-shrink: 0;
}

.award-item-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* 奖励图片 */
.award-image {
  margin-bottom: 12px;
}

.award-image img {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 50%;
  object-fit: cover;
  border: 16rpx solid #fff;
}

/* 奖励标题 */
.award-title {
  font-size: 0.34rem;
  font-weight: 500;
  color: #333;
  margin: 8px 0;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 兑换按钮 */
.award-button {
  background: #FFE3B4;
  color: #A47959;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.38rem;
  font-weight: 400;
  border-radius: 200px;
  width: 2.72rem;
}

.award-button.available {
  background: linear-gradient(45deg, #ff6b6b, #ffa726);
  color: white;
}

.award-button.available:hover {
  transform: scale(1.02);
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.award-button.redeemed {
  background: #e0e0e0;
  color: #999;
  cursor: not-allowed;
}

.award-button.unavailable {
  background: #f5f5f5;
  color: #999;
  cursor: not-allowed;
}

/* 加载状态 */
.award-loading {
  text-align: center;
  padding: 40px;
  color: #666;
}

/* 错误状态 */
.award-error {
  text-align: center;
  padding: 40px;
  color: #ff4757;
}

/* 空状态 */
.award-empty {
  text-align: center;
  padding: 40px;
  color: #999;
}

/* 活动结束提醒 */
.ending-soon-notice {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 16px;
  text-align: center;
  color: #856404;
  font-size: 14px;
}