/**
 * PC端预测功能样式
 */

/* 彩种标签 */
#lottery-tabs {
  background: #fff;
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.lottery-tab-item {
  display: inline-block;
  padding: 8px 20px;
  margin-right: 10px;
  background: #f5f5f5;
  color: #666;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
}

.lottery-tab-item:hover {
  background: #e8e8e8;
  color: #333;
}

.lottery-tab-item.active {
  background: #667eea;
  color: #fff;
}

/* 预测列表容器 */
#prediction-list {
  min-height: 400px;
}

/* 用户排行卡片 */
.user-rank-card {
  background: #fff;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.user-rank-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* 排名徽章 */
.rank-number {
  font-size: 24px;
  font-weight: bold;
  color: #999;
  min-width: 50px;
  text-align: center;
}

.rank-medal {
  font-size: 32px;
}

.user-rank-card.rank-gold {
  border-left: 4px solid #FFD700;
}

.user-rank-card.rank-silver {
  border-left: 4px solid #C0C0C0;
}

.user-rank-card.rank-bronze {
  border-left: 4px solid #CD7F32;
}

/* 用户信息区域 */
.user-info-section {
  display: flex;
  align-items: center;
  flex: 1;
  margin-left: 20px;
}

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.avatar-text {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
}

.user-details {
  flex: 1;
}

.user-name {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.user-stats-text {
  font-size: 13px;
  color: #999;
}

/* 统计数据区域 */
.stats-section {
  display: flex;
  align-items: center;
  gap: 20px;
}

.stats-numbers {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: bold;
}

.stat-total {
  color: #666;
}

.stat-separator {
  color: #ddd;
}

.stat-win {
  color: #ff4757;
  font-size: 20px;
}

.view-arrow {
  font-size: 24px;
  color: #999;
}

/* 加载状态 */
#loading-tip,
#loadmore-btn,
#loadall-tip {
  text-align: center;
  padding: 20px;
  color: #999;
}

#loadmore-btn {
  cursor: pointer;
  color: #667eea;
}

#loadmore-btn:hover {
  color: #764ba2;
}

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 14px;
}

/* 用户详情页样式 */
.userbox {
  background: #fff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 20px;
}

.userbox .l {
  position: relative;
}

.userbox .l img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.userbox .l i {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #ff4757;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 10px;
  font-style: normal;
}

.userbox .r {
  flex: 1;
}

.userbox .name {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

#intro p {
  color: #666;
  line-height: 1.6;
}

/* 期数筛选标签 */
.bdtab {
  background: #fff;
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  list-style: none;
  display: flex;
  gap: 10px;
}

.bdtab li {
  padding: 8px 20px;
  background: #f5f5f5;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  color: #666;
}

.bdtab li:hover {
  background: #e8e8e8;
}

.bdtab li.s {
  background: #667eea;
  color: #fff;
}

/* 当前预测框 */
.dqbox {
  background: #fff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.dqbox em {
  padding: 12px 30px;
  font-size: 16px;
  color: #333;
}

.dqbox em b {
  color: #ff4757;
  font-size: 18px;
}

.dqbox a.m {

  padding: 15px 30px;

}

.dqbox a.m:hover {
  background: #764ba2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* 历史成绩表格 */
.dbtable {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

.dbtable table {
  width: 100%;
  border-collapse: collapse;
}

.dbtable thead {
  background: #f5f5f5;
}

.dbtable thead td {
  padding: 12px;
  font-weight: bold;
  color: #333;
  text-align: center;
  border-bottom: 2px solid #e8e8e8;
}

.dbtable tbody td {
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid #f5f5f5;
  color: #666;
}

.dbtable tbody tr:hover {
  background: #f9f9f9;
}

.dbtable tbody td.win {
  color: #ff4757;
  font-weight: bold;
}

.dbtable tbody td.lose {
  color: #999;
}



.h2t b {
  font-size: 18px;
  color: #333;
}

/* 预测信息样式 */
.prediction-info {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 20px;
  margin: 15px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.prediction-detail {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prediction-row {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.prediction-row:last-child {
  border-bottom: none;
}

.prediction-row .label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
  min-width: 80px;
  display: inline-block;
}

.prediction-row .value {
  font-size: 16px;
  color: #333;
  font-weight: bold;
  flex: 1;
}

.prediction-row .value.highlight {
  color: #ff4757;
  font-size: 18px;
  letter-spacing: 2px;
}

/* 响应式 */
@media (max-width: 768px) {
  .user-rank-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .user-info-section {
    margin-left: 0;
    margin-top: 10px;
  }

  .stats-section {
    margin-top: 10px;
    width: 100%;
    justify-content: space-between;
  }
}