/* ============================================
   热血体育 · 热血运动风主题
   黑底 + 热血红 + 亮黄点缀 + 斜切动感
   ============================================ */
:root {
  --black: #0c0c0e;
  --black-2: #16161a;
  --red: #e10600;
  --red-2: #ff2e2e;
  --yellow: #ffd200;
  --white: #f5f5f5;
  --gray: #9a9aa0;
  --line: #26262e;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--black);
  color: var(--white);
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.empty-tip { color: var(--gray); padding: 20px 0; text-align: center; }

/* ===== 顶部导航：斜切热血风 ===== */
.site-top {
  background: var(--black-2);
  border-bottom: 3px solid var(--red);
  position: relative;
}
.site-top::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -6px; height: 6px;
  background: repeating-linear-gradient(-45deg, var(--red) 0 10px, var(--black-2) 10px 20px);
}
.top-inner { display: flex; align-items: center; gap: 24px; padding: 14px 16px; flex-wrap: wrap; }
.logo {
  font-size: 26px; font-weight: 900; letter-spacing: 1px; color: #fff;
  background: var(--red);
  padding: 6px 18px;
  clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
  text-transform: uppercase;
}
.main-nav { display: flex; gap: 2px; flex: 1; flex-wrap: wrap; }
.main-nav a {
  padding: 8px 16px; font-weight: 700; font-size: 15px; color: var(--white);
  clip-path: polygon(0 0, 100% 0, 92% 100%, 4% 100%);
  transition: background .2s;
}
.main-nav a:hover { background: var(--red); color: #fff; }
.search-box { display: flex; background: #0a0a0c; border: 1px solid var(--line); }
.search-box input { border: none; background: transparent; color: #fff; padding: 8px 10px; width: 150px; outline: none; }
.search-box button { background: var(--red); border: none; color: #fff; padding: 8px 14px; font-weight: 700; cursor: pointer; }
.search-box button:hover { background: var(--red-2); }

/* ===== 广告位占位 ===== */
.ad-slot {
  border: 2px dashed var(--line);
  background: rgba(255,255,255,.02);
  min-height: 70px;
  margin: 14px 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray); font-size: 12px;
}
.ad-top { margin: 12px 0 0; }
.ad-desc {
  color: var(--gray);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
  padding: 10px 18px;
}
.ad-list-bottom { margin: 18px 0 6px; }
.ad-post-top { margin: 18px 0; }
.ad-post-bottom { margin: 18px 0; }

/* ===== 面包屑 ===== */
.breadcrumb {
  padding: 14px 0 4px; color: var(--gray); font-size: 13px;
  border-bottom: 1px solid var(--line); margin-bottom: 18px;
}
.breadcrumb a { color: var(--red-2); }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb span { color: var(--white); }

/* ===== 列表标题 ===== */
.list-title { margin-bottom: 18px; }
.list-title h1 {
  font-size: 28px; font-weight: 900;
  border-left: 6px solid var(--red);
  padding-left: 12px;
}
.list-desc { color: var(--gray); font-size: 13px; margin-top: 8px; }

/* ===== 文章列表 ===== */
.article-list { list-style: none; }
.article-list li {
  background: var(--black-2);
  border-left: 4px solid var(--red);
  padding: 16px 18px;
  margin-bottom: 14px;
  transition: transform .15s, box-shadow .15s;
  position: relative;
  overflow: hidden;
}
.article-list li::after {
  content: "";
  position: absolute; right: -20px; top: 0; bottom: 0; width: 40px;
  background: repeating-linear-gradient(-45deg, transparent 0 6px, rgba(255,255,255,.03) 6px 12px);
}
.article-list li:hover { transform: translateX(4px); box-shadow: 4px 4px 0 rgba(225,6,0,.35); }
.a-title { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.a-title a:hover { color: var(--red-2); }
.a-meta { color: var(--gray); font-size: 12px; display: flex; gap: 16px; margin-bottom: 8px; }
.a-meta a { color: var(--yellow); }
.a-intro { color: #c9c9cf; font-size: 14px; }

/* ===== 分页 ===== */
.pagebar { text-align: center; padding: 22px 0 8px; }
.pagebar-inner { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.page {
  display: inline-block; min-width: 38px; padding: 8px 12px;
  background: var(--black-2); border: 1px solid var(--line);
  color: var(--white); font-weight: 700; font-size: 14px;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 4% 100%);
  transition: background .15s;
}
a.page:hover { background: var(--red); color: #fff; }
.page.current { background: var(--red); color: #fff; border-color: var(--red); }

/* ===== 文章页 ===== */
.post-wrap { padding-top: 6px; }
.post-title {
  font-size: 30px; font-weight: 900; line-height: 1.3; margin-bottom: 12px;
  background: linear-gradient(90deg, #fff 60%, var(--red-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.post-meta {
  display: flex; flex-wrap: wrap; gap: 14px;
  color: var(--gray); font-size: 13px;
  padding: 10px 14px; margin-bottom: 8px;
  background: var(--black-2);
  border-top: 2px solid var(--red);
}
.pm-item a { color: var(--yellow); }
.post-url { color: var(--gray); font-size: 12px; margin-bottom: 10px; word-break: break-all; }
.post-url a { color: var(--red-2); }
.post-tags { color: var(--gray); font-size: 12px; margin-bottom: 12px; }
.post-tags a { color: var(--yellow); display: inline-block; margin-right: 4px; }
.post-tags a:hover { color: var(--red-2); text-decoration: underline; }
.post-content { font-size: 16px; color: #e8e8ec; margin: 10px 0; }
.post-content h1,.post-content h2,.post-content h3 { color: #fff; margin: 18px 0 8px; }
.post-content p { margin: 10px 0; }
.post-content a { color: var(--red-2); }
.post-nav {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line); margin-top: 20px; padding-top: 16px;
  font-size: 14px;
}
.pn-prev, .pn-next { max-width: 48%; }
.post-nav a { color: var(--red-2); }
.post-nav a:hover { color: var(--yellow); }

/* ===== 404 ===== */
.notfound { text-align: center; padding: 80px 0; }.notfound h1 { font-size: 90px; font-weight: 900; color: var(--red); }
.notfound p { color: var(--gray); margin: 8px 0; }
.btn-red {
  display: inline-block; margin-top: 14px; padding: 10px 30px;
  background: var(--red); color: #fff; font-weight: 700;
  clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);}
.btn-red:hover { background: var(--red-2); }

/* ===== 页脚：描述首段 + 动态年份版权 + 备案链接 ===== */
.site-footer {
  margin-top: 40px;
  background: var(--black-2);
  border-top: 3px solid var(--red);
  padding: 26px 0 20px;
  text-align: center;
}
.foot-desc { color: var(--gray); font-size: 13px; max-width: 860px; margin: 0 auto 12px; }
.foot-copy { color: var(--white); font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.foot-links { color: var(--gray); font-size: 12px; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; }
.foot-links a { color: var(--gray); }
.foot-links a:hover { color: var(--yellow); }
.foot-system { color: var(--gray); font-size: 13px; margin: 10px auto 0; max-width: 860px; line-height: 1.7; }

/* 响应式 */
@media (max-width: 720px) {
  .main-nav { order: 3; width: 100%; }
  .search-box { order: 4; width: 100%; }
  .search-box input { flex: 1; }
  .post-title { font-size: 24px; }
  .layout { flex-direction: column; }
  .sidebar-left { width: 100%; margin: 0 0 14px; }
}

/* ===== 左侧联赛对阵侧边栏（每小时更新） ===== */
.layout {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.sidebar-left {
  width: 280px;
  flex: 0 0 280px;
  min-width: 0;
}
.list-wrap { flex: 1; min-width: 0; }

.sb-panel {
  background: #fff;
  color: #1c1c22;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}
.sb-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: linear-gradient(90deg, var(--red), var(--red-2));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.sb-head span {
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, .18);
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: .5px;
}
.sb-head-2 { background: #22222a; }
.sb-head-2 span { background: rgba(255, 255, 255, .14); }
.sb-list { padding: 4px 0; }
.sb-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-bottom: 1px solid #f0f0f2;
}
.sb-row:last-child { border-bottom: none; }
.sb-badge {
  flex: 0 0 auto;
  min-width: 52px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
  color: #fff;
}
.sb-live .sb-badge { background: var(--red); animation: sb-blink 1.2s infinite; }
.sb-soon .sb-badge { background: #4a7ac7; }
.sb-final .sb-badge { background: #9a9aa6; }
@keyframes sb-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .55; }
}
.sb-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sb-teams {
  font-size: 13px;
  font-weight: 700;
  color: #1c1c22;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sb-teams i { font-style: normal; color: var(--red); font-weight: 900; margin: 0 3px; }
.sb-soon .sb-teams i { color: #4a7ac7; }
.sb-final .sb-teams i { color: #9a9aa6; }
.sb-meta {
  font-size: 11px;
  color: #888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sb-go {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: var(--red);
  padding: 3px 8px;
  border-radius: 4px;
  text-decoration: none;
  transition: background .15s;
  white-space: nowrap;
}
.sb-go:hover { background: var(--red-2); }
.sb-list-final {
  max-height: 360px;
  overflow-y: auto;
}
.sb-foot {
  padding: 8px 12px;
  font-size: 11px;
  color: #999;
  text-align: center;
  border-top: 1px solid #f0f0f2;
  background: #fafafa;
}
.sb-empty {
  padding: 24px 14px;
  text-align: center;
  color: #999;
  font-size: 13px;
}
/* 滚动条美化 */
.sb-list-final::-webkit-scrollbar { width: 6px; }
.sb-list-final::-webkit-scrollbar-thumb { background: #d0d0d6; border-radius: 3px; }
