/* 标签列表页样式 */
:root {
  --primary-color: #ff4d4f;
  --secondary-color: #52c41a;
  --danger-color: #ff4d4f;
  --text-color: #333;
  --text-light: #666;
  --text-muted: #999;
  --border-color: #eee;
  --bg-light: #f8f9fa;
  --bg-lighter: #fafafa;
  --box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  --box-shadow-hover: 0 5px 15px rgba(0,0,0,0.1);
  --border-radius: 2px;
  --transition: all 0.3s ease;
}

/* 主容器 */
.tags-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px;
  background:#fafafa;
}

/* 面包屑导航 */
.tags-breadcrumb {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
  background: white;
  padding: 12px 20px;
  border-radius: var(--border-radius);
}

.tags-breadcrumb a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.tags-breadcrumb a:hover {
  color: var(--primary-color);
}

.tags-breadcrumb i {
  margin-right: 5px;
  font-size: 16px;
}

.tags-breadcrumb span {
  margin: 0 8px;
  color: #ccc;
}

.tags-breadcrumb .current-tag {
  color: var(--primary-color);
  max-width: 300px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  vertical-align: middle;
}

/* 主内容区布局 */
.tags-content-layout {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}
.main-content{background: #f1f3f7;}
.tags-main-content {
  flex: 1;
  min-width: 0;
}

.tags-sidebar {
  width: 320px;
  flex-shrink: 0;
}

/* 标签标题区 */
.tags-header {
  background: white;
  border-radius: var(--border-radius);
  padding: 5px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.tags-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
  display: flex;
  align-items: center;
}

.tags-title i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 24px;
}

/* 比赛分组 */

/* 比赛项目 */

/* 空状态 */
.tags-empty-state {
  padding: 10px;
  text-align: center;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.tags-empty-state i {
  font-size: 48px;
  color: #ff4081;
  margin-bottom: 15px;
  display: block;
}

.tags-empty-state p {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
}

/* 侧边栏模块 */
.tags-sidebar-module {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin-bottom: 20px;
}

.tags-module-header {
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-lighter);
  border-top: 3px solid var(--primary);
}
/* 相关标签云 */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin:10px;
}

.tags-cloud-item {
  padding: 6px 12px;
  background: var(--bg-light);
  border-radius: 15px;
  color: var(--text-light);
  font-size: 13px;
  text-decoration: none;
  transition: var(--transition);
}

.tags-cloud-item:hover {
  background: rgba(24, 144, 255, 0.1);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* 热门赛事 */
.tags-hot-matches {
  padding: 0;
}

.tags-module-title .layui-icon {
    margin-right: 8px;
    font-size: 16px;
    color: var(--primary);
}
.tags-module-title{
    font-size: 16px;
    font-weight: 600;
    
}
/* 最新新闻 */
.tags-news-item {
  padding: 12px 15px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
  transition: var(--transition);
}

.tags-news-item:last-child {
  border-bottom: none;
}

.tags-news-item:hover {
  background: var(--bg-light);
}

.tags-news-thumb {
  width: 70px;
  height: 50px;
  border-radius: 5px;
  object-fit: cover;
  flex-shrink: 0;
}

.tags-news-content {
  flex: 1;
  min-width: 0;
}

.tags-news-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tags-news-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.tags-news-category {
  padding: 2px 6px;

}

.tags-news-date {
  color: var(--text-muted);
}
.bg-danger{color:#fff;background:#ff4081;padding:6px 16px;border-radius:2px}.bg-success{color:#999;background:#f2f2f2;padding:6px 16px;border-radius:2px}.container{width:100%;max-width:1200px;margin:0 auto;padding:0 15px;box-sizing:border-box}.league{color:var(--text-light);padding:0 10px}.mini-logo{width:24px;height:24px;padding: 0 5px;object-fit:cover;border-radius:50%}.widget-header{padding:15px;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center}.widget-title{font-size:16px;font-weight:600;color:var(--text-dark)}.tag.hot{background-color:var(--primary-transparent);color:var(--primary)}.tag{display:inline-block;padding:6px 12px;background-color:var(--bg-light);border-radius:50px;color:var(--text-medium);font-size:13px;transition:var(--transition)}.tags-cloud{display:flex;flex-wrap:wrap;gap:8px;padding:15px}.today-match-item{padding:12px;border-bottom:1px solid #eee;margin-bottom:10px;display:flex;align-items:center}.today-match-time{min-width:60px;text-align:center;color:#666;font-size:16px}.today-match-teams{flex:1;display:flex;align-items:center;justify-content:center;gap:30px}.today-team-logo{width:24px;height:24px;padding: 0 5px;object-fit:cover;border-radius:50%}.today-team-name{font-size:14px;color:#333}.today-match-status{min-width:60px;text-align:center}@media (max-width:576px){.today-match-item{flex-direction:column;gap:10px;text-align:center}}.tags-module-header{padding:15px 20px;border-bottom:1px solid var(--border-color);background:var(--bg-lighter);border-top:3px solid var(--primary)}
/* 响应式适配 */
@media (max-width: 992px) {
  .tags-content-layout {
    flex-direction: column;
  }
  
  .tags-sidebar {
    width: 100%;
  }
  
  .tags-match-item {
    flex-wrap: wrap;
  }
  
  .tags-match-league {
    width: 100%;
  }
  
  .tags-match-teams {
    width: 100%;
    order: -1;
  }
}

@media (max-width: 768px) {
  .tags-match-item {
    padding: 15px;
  }
  
  .tags-team {
    width: auto;
    flex: 1;
  }
  
  .tags-team-home {
    justify-content: flex-start;
    text-align: left;
  }
  
  .tags-team-name {
    max-width: 100px;
  }
  
  .tags-match-action {
    width: auto;
  }
}

@media (max-width: 576px) {
  .tags-container {
    padding: 15px 10px;
  }
  
  .tags-breadcrumb {
    padding: 10px 15px;
  }
  
  .tags-match-status, 
  .tags-match-league,
  .tags-match-teams,
  .tags-match-action {
    width: 100%;
  }
  
  .tags-match-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
  
  .tags-match-teams {
    flex-direction: column;
    gap: 10px;
  }
  
  .tags-team {
    width: 100%;
    justify-content: flex-start;
  }
  
  .tags-team-home {
    text-align: left;
  }
  
  .tags-team-vs {
    display: none;
  }
  
  .tags-match-action {
    justify-content: flex-start;
  }
}

/* H5环境优化 */
.h5-environment .tags-container {
  padding: 10px;
}

.h5-environment .tags-hour-header {
  padding: 12px 15px;
}

.h5-environment .tags-match-item {
  padding: 12px 15px;
}

.h5-environment .tags-title {
  font-size: 18px;
}

.h5-environment .tags-team-name {
  max-width: 90px;
}

.h5-environment .tags-module-content {
  padding: 12px 15px;
}

/* 暗黑模式支持 */
@media (prefers-color-scheme: dark) {
  :root {
    --text-color: #f0f0f0;
    --text-light: #d0d0d0;
    --text-muted: #a0a0a0;
    --border-color: #333;
    --bg-light: #222;
    --bg-lighter: #282828;
    --box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  }
  
  .tags-breadcrumb,
  .tags-header,
  .tags-match-group,
  .tags-empty-state,
  .tags-sidebar-module {
    background: #1f1f1f;
  }
  
  .tags-match-item:hover {
    background: #282828;
  }
  
  .tags-cloud-item {
    background: #282828;
  }
  
  .tags-cloud-item:hover {
    background: rgba(24, 144, 255, 0.2);
  }
  
  .tags-hot-match-item:hover,
  .tags-news-item:hover {
    background: #282828;
  }
} 