/* 三栏布局：主队 | 比分 | 客队 */
.top-live-item-body .dw {
  display: grid;
  grid-template-columns: 1fr 50px 1fr;
  align-items: center;
  text-align: center;
}

/* 主队、客队块：纵向排列 图标+文字 */
.top-live-item-body .icons {
  display: flex;
  flex-direction: column;
  align-items: center;   /* 水平居中 */
  justify-content: center;
  max-width: 80px;       /* 限制最大宽度 */
  margin: 0 auto;
}

/* 队名文字 */
.top-live-item-body .icons div {
  font-size: 12px;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

/* 比分块 */
.top-live-item-body .vs {
  font-weight: bold;
  font-size: 14px;
  text-align: center;
}

.middle-info {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0; /* 防止撑开直播状态 */
}

.middle-info a {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.middle-info .home,
.middle-info .away {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100px; /* 控制宽度，让文字超长时溢出 */
}

.middle-info .name {
  font-size: 14px;
  line-height: 1.2;
  max-width: 100px; /* 控制文字最大宽度 */
  white-space: nowrap; /* 一行显示 */
  overflow: hidden;
  text-overflow: ellipsis; /* 超出显示省略号 */
}

.middle-info .vs {
  flex-shrink: 0;
}

/* 状态按钮样式 */
.starttxt {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
}

/* 未开始 - 淡绿色 */
.not-start {
  background: linear-gradient(135deg, #a8e6cf, #dcedc1);
  color: #2e7d32;
}
.not-start:hover {
  background: linear-gradient(135deg, #81c784, #aed581);
  color: #fff;
}

/* 正在直播 - 红色 */
.live {
  background: linear-gradient(135deg, #e53935, #ef5350);
}
.live:hover {
  background: linear-gradient(135deg, #ef5350, #e57373);
}

/* 已结束 - 蓝灰色 */
.end {
  background: linear-gradient(135deg, #607d8b, #90a4ae);
}
.end:hover {
  background: linear-gradient(135deg, #90a4ae, #b0bec5);
  color: #333;
}

.news-item {
    display: block;
    width: 100%;
    padding: 8px 12px;
    background-color: #f8f9fa; /* 默认浅灰背景 */
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: all 0.3s;
}

.news-item:hover {
    background-color: #cce5ff; /* 淡蓝色悬停背景 */
    color: #333; /* 文字颜色保持深色，更柔和 */
    transform: translateX(2px); /* 微动感 */
}
