/* ============================================
   24直播网风格体育主题 - 主样式表
   配色：蓝色#1a73e8 + 橙色#ff6d00
   ============================================ */

:root {
  --z24-primary: #1a73e8;
  --z24-primary-dark: #0d47a1;
  --z24-accent: #ff6d00;
  --z24-accent-dark: #e65100;
  --z24-bg: #f5f7fa;
  --z24-card: #ffffff;
  --z24-card-hover: #f2f4f8;
  --z24-text: #333333;
  --z24-text-light: #666666;
  --z24-text-muted: #999999;
  --z24-border: #e8e8e8;
  --z24-live: #f44336;
  --z24-success: #4caf50;
  --z24-radius: 8px;
  --z24-shadow: 0 2px 12px rgba(0,0,0,0.08);
  --z24-shadow-hover: 0 4px 20px rgba(0,0,0,0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--z24-text);
  background: var(--z24-bg);
  min-height: 100vh;
}
a { color: var(--z24-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--z24-accent); }
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.4; }

.z24-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ========== 赛事类别导航（红色矮条） ========== */
.z24-league-nav {
  width: calc(100% - 20px);
  margin: 6px auto;
  background: linear-gradient(135deg, #e53935, #c62828);
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(198,40,40,0.25);
}
.z24-league-nav .z24-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 3px 10px;
  align-items: center;
}
.z24-ln-item {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 20px;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  white-space: nowrap;
  transition: all .2s;
}
.z24-ln-item:hover, .z24-ln-item.active { color: #fff; background: rgba(255,255,255,0.18); }

/* ========== 头部导航 ========== */
#z24-header {
  width: calc(100% - 20px);
  margin: 0 auto;
  background: linear-gradient(135deg, var(--z24-primary-dark), var(--z24-primary));
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  border-radius: 6px;
}
.z24-header-inner {
  display: flex;
  align-items: center;
  height: 60px;
  gap: 20px;
}
.z24-logo { flex-shrink: 0; transform: translateX(10px); }
.z24-logo a { display: flex; align-items: center; height: 60px; }
.z24-logo img { height: 36px; width: auto; object-fit: contain; }
.z24-logo-text {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}
.z24-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  transform: translateX(10px);
}
.z24-nav a {
  color: rgba(255,255,255,0.85);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 15px;
  white-space: nowrap;
  transition: all .2s;
}
.z24-nav a:hover, .z24-nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.15);
}
.z24-search {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transform: translateX(-10px);
}
.z24-search form { display: flex; }
.z24-search-input {
  width: 180px;
  height: 34px;
  padding: 0 12px;
  border: none;
  border-radius: 4px 0 0 4px;
  background: rgba(255,255,255,0.9);
  font-size: 13px;
  outline: none;
}
.z24-search-input:focus { background: #fff; }
.z24-search-btn {
  height: 34px;
  padding: 0 16px;
  border: none;
  border-radius: 0 4px 4px 0;
  background: var(--z24-accent);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: background .2s;
}
.z24-search-btn:hover { background: var(--z24-accent-dark); }
.z24-mobile-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}
.z24-mobile-menu span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s;
}
.z24-mobile-nav {
  display: none;
  background: var(--z24-primary-dark);
  padding: 10px 15px;
}
.z24-mobile-nav.show { display: block; }
.z24-mobile-nav a {
  display: block;
  color: rgba(255,255,255,0.85);
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 15px;
}
.z24-mobile-nav a:last-child { border-bottom: none; }

/* ========== 热门赛程区 ========== */
.z24-match-bar {
  background: #fff;
  border-bottom: 1px solid var(--z24-border);
  padding: 12px 0;
}
.z24-match-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--z24-text);
}
.z24-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--z24-live);
  animation: z24-pulse 1.5s infinite;
}
@keyframes z24-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.z24-match-sub {
  font-size: 12px;
  color: var(--z24-text-muted);
  font-weight: normal;
}
.match-slider {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.match-slider::-webkit-scrollbar { height: 4px; }
.match-slider::-webkit-scrollbar-thumb { background: #ccc; border-radius: 2px; }
.match-card {
  flex: 0 0 240px;
  background: var(--z24-bg);
  border: 1px solid var(--z24-border);
  border-radius: var(--z24-radius);
  padding: 12px;
  transition: all .2s;
}
.match-card:hover {
  box-shadow: var(--z24-shadow);
  border-color: var(--z24-primary);
}
.match-top {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--z24-text-muted);
  margin-bottom: 8px;
}
.match-league { color: var(--z24-primary); font-weight: 500; }
.match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.match-team {
  flex: 1;
  text-align: center;
}
.team-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--z24-text);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.match-score {
  font-size: 20px;
  font-weight: 700;
  color: var(--z24-accent);
  min-width: 60px;
  text-align: center;
}
.match-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.match-state {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 10px;
}
.state-live { background: rgba(244,67,54,0.1); color: var(--z24-live); }
.state-soon { background: rgba(26,115,232,0.1); color: var(--z24-primary); }
.state-done { background: rgba(0,0,0,0.05); color: var(--z24-text-muted); }
.match-live-btn {
  font-size: 12px;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--z24-accent), var(--z24-accent-dark));
  color: #fff;
  border-radius: 4px;
  font-weight: 500;
}
.match-live-btn:hover { color: #fff; opacity: 0.9; }
.match-empty {
  padding: 20px;
  text-align: center;
  color: var(--z24-text-muted);
}

/* ========== 主体布局 ========== */
#z24-main { padding: 20px 0; }
.z24-main-layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.z24-content {
  flex: 1;
  min-width: 0;
}
.z24-sidebar {
  width: 300px;
  flex-shrink: 0;
}

/* ========== 焦点资讯 ========== */
.z24-feature {
  display: flex;
  gap: 20px;
  background: var(--z24-card);
  border-radius: var(--z24-radius);
  overflow: hidden;
  box-shadow: var(--z24-shadow);
  margin-bottom: 20px;
}
.z24-feature-img {
  position: relative;
  flex: 0 0 400px;
  height: 260px;
  overflow: hidden;
}
.z24-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.z24-feature-img:hover img { transform: scale(1.05); }
.z24-feature-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--z24-accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}
.z24-feature-info {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.z24-feature-info h2 {
  font-size: 22px;
  margin-bottom: 12px;
  line-height: 1.4;
}
.z24-feature-info h2 a { color: var(--z24-text); }
.z24-feature-info h2 a:hover { color: var(--z24-primary); }
.z24-feature-desc {
  color: var(--z24-text-light);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.z24-feature-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--z24-text-muted);
}

/* ========== 文章列表 ========== */
.z24-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.z24-title-bar {
  width: 4px;
  height: 20px;
  background: var(--z24-primary);
  border-radius: 2px;
}
.z24-section-title h3 {
  font-size: 18px;
  color: var(--z24-text);
}
.z24-post-list { margin-bottom: 20px; }
.z24-post-item {
  display: flex;
  gap: 16px;
  background: var(--z24-card);
  border-radius: var(--z24-radius);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--z24-shadow);
  transition: all .2s;
}
.z24-post-item:hover {
  box-shadow: var(--z24-shadow-hover);
  transform: translateY(-2px);
}
.z24-post-thumb {
  flex: 0 0 200px;
  height: 130px;
  border-radius: 6px;
  overflow: hidden;
}
.z24-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.z24-post-item:hover .z24-post-thumb img { transform: scale(1.05); }
.z24-post-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.z24-post-title {
  font-size: 17px;
  margin-bottom: 8px;
}
.z24-post-title a {
  color: var(--z24-text);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.z24-post-title a:hover { color: var(--z24-primary); }
.z24-post-desc {
  color: var(--z24-text-light);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.z24-post-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--z24-text-muted);
  margin-top: 10px;
}
.z24-meta-cat a { color: var(--z24-primary); }

/* ========== 分页 ========== */
.z24-pagebar { margin: 20px 0 4px; }
.z24-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 4px 0;
}
.z24-pagination a, .z24-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--z24-border);
  border-radius: 6px;
  background: var(--z24-card);
  color: var(--z24-text);
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  transition: all .2s;
}
.z24-pagination a:hover {
  border-color: var(--z24-primary);
  color: var(--z24-primary);
  background: var(--z24-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}
.z24-page-current {
  background: var(--z24-primary);
  border-color: var(--z24-primary);
  color: #fff;
  font-weight: 700;
  cursor: default;
}

/* ========== 侧边栏 ========== */
.z24-widget {
  background: var(--z24-card);
  border-radius: var(--z24-radius);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: var(--z24-shadow);
}
.z24-widget h4 {
  font-size: 16px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--z24-primary);
  display: inline-block;
}
.z24-widget-list li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--z24-border);
}
.z24-widget-list li:last-child { border-bottom: none; }
.z24-widget-list a {
  color: var(--z24-text);
  font-size: 13px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.z24-widget-list a:hover { color: var(--z24-primary); }
.z24-rel-meta { display: block; font-size: 12px; color: var(--z24-muted); margin-top: 2px; }
.z24-widget-list li.z24-hot-item a { color: #e0353b; }
.z24-widget-list li.z24-rel-item a { color: #1a6fd6; }
.z24-widget-list li.z24-rel-item a:hover { color: #1255a8; }
.z24-widget-list li.z24-hot-item a:hover { color: #b02328; }
.z24-cat-count {
  float: right;
  background: var(--z24-bg);
  color: var(--z24-text-muted);
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 8px;
}
.z24-tag-cloud, .z24-footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.z24-cloud-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--z24-bg);
  border-radius: 4px;
  color: var(--z24-text-light);
  font-size: 13px;
  transition: all .2s;
}
.z24-cloud-tag:hover {
  background: var(--z24-primary);
  color: #fff;
}

/* ========== 录像列表 ========== */
.replay-list { display: flex; flex-direction: column; }
.replay-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px dashed var(--z24-border);
}
.replay-item:last-child { border-bottom: none; }
.replay-side {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
}
.replay-crest {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}
.replay-crest-fallback {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.replay-vs {
  font-size: 8px;
  color: var(--z24-text-muted);
  line-height: 1;
}
.replay-btn {
  flex: 0 0 auto;
  background: linear-gradient(135deg, #ff8a1f, #f60);
  color: #fff;
  font-size: 12px;
  padding: 4px 9px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.replay-btn:hover { opacity: .88; color: #fff; }
.replay-body {
  flex: 1;
  min-width: 0;
}
.replay-title {
  display: block;
  color: var(--z24-text);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  word-break: break-word;
  text-decoration: none;
}
.replay-title:hover { color: var(--z24-primary); }
.replay-meta {
  display: block;
  margin-top: 3px;
  font-size: 8px;
  color: var(--z24-text-muted);
}

/* ========== 面包屑 ========== */
.z24-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--z24-text-muted);
  margin-bottom: 16px;
  padding: 10px 14px;
  background: var(--z24-card);
  border-radius: var(--z24-radius);
}
.z24-breadcrumb a { color: var(--z24-text-light); }
.z24-breadcrumb a:hover { color: var(--z24-primary); }
.z24-bread-sep { color: var(--z24-border); }
.z24-bread-current { color: var(--z24-text); }

/* ========== 文章详情 ========== */
.z24-article {
  background: var(--z24-card);
  border-radius: var(--z24-radius);
  padding: 30px;
  box-shadow: var(--z24-shadow);
}
.z24-article-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--z24-border);
}
.z24-article-title {
  font-size: 26px;
  line-height: 1.4;
  margin-bottom: 16px;
  color: var(--z24-text);
}
.z24-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 13px;
  color: var(--z24-text-muted);
}
.z24-meta-item { white-space: nowrap; }
.z24-article-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--z24-text);
}
.z24-article-content p { margin-bottom: 16px; }
.z24-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 10px 0;
}
.z24-article-content h2, .z24-article-content h3 {
  margin: 24px 0 12px;
}
.z24-article-tags {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--z24-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.z24-tags-label { color: var(--z24-text-muted); font-size: 13px; }
.z24-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--z24-bg);
  border-radius: 4px;
  color: var(--z24-text-light);
  font-size: 13px;
}
.z24-tag:hover { background: var(--z24-primary); color: #fff; }
.z24-article-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--z24-border);
}
.z24-nav-prev, .z24-nav-next {
  flex: 1;
  font-size: 13px;
  color: var(--z24-text-muted);
}
.z24-nav-next { text-align: right; }
.z24-nav-prev a, .z24-nav-next a {
  color: var(--z24-text);
  margin-left: 6px;
}
.z24-nav-prev a:hover, .z24-nav-next a:hover { color: var(--z24-primary); }

/* ========== 评论区 ========== */
.z24-comments { margin-top: 30px; }
.z24-comments-title {
  font-size: 18px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--z24-primary);
  display: inline-block;
}
.z24-comment-list { margin-bottom: 20px; }
.z24-comment-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--z24-border);
}
.z24-comment-avatar { flex-shrink: 0; }
.z24-comment-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.z24-avatar-default {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--z24-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}
.z24-comment-body { flex: 1; min-width: 0; }
.z24-comment-head {
  display: flex;
  gap: 12px;
  margin-bottom: 6px;
  font-size: 12px;
}
.z24-comment-name { color: var(--z24-primary); font-weight: 600; }
.z24-comment-time { color: var(--z24-text-muted); }
.z24-comment-content {
  font-size: 14px;
  color: var(--z24-text);
  line-height: 1.6;
}
.z24-no-comment {
  padding: 30px;
  text-align: center;
  color: var(--z24-text-muted);
  background: var(--z24-bg);
  border-radius: var(--z24-radius);
}
.z24-comment-form { margin-top: 20px; }
.z24-form-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.z24-form-row input {
  flex: 1;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--z24-border);
  border-radius: 4px;
  font-size: 13px;
  outline: none;
  transition: border-color .2s;
}
.z24-form-row input:focus { border-color: var(--z24-primary); }
.z24-form-textarea textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--z24-border);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  outline: none;
  transition: border-color .2s;
}
.z24-form-textarea textarea:focus { border-color: var(--z24-primary); }
.z24-form-submit { margin-top: 12px; }
.z24-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s;
}
.z24-btn-primary {
  background: var(--z24-primary);
  color: #fff;
}
.z24-btn-primary:hover { background: var(--z24-primary-dark); }
.z24-form-logged {
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--z24-text-muted);
}

/* ========== 搜索结果 ========== */
.z24-search-result {
  background: var(--z24-card);
  border-radius: var(--z24-radius);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--z24-shadow);
}
.z24-search-result h2 { font-size: 18px; margin-bottom: 8px; }
.z24-search-result p { color: var(--z24-text-muted); font-size: 13px; }

/* ========== 404 ========== */
.z24-404 {
  text-align: center;
  padding: 80px 20px;
  background: var(--z24-card);
  border-radius: var(--z24-radius);
  box-shadow: var(--z24-shadow);
}
.z24-404 h1 {
  font-size: 80px;
  color: var(--z24-primary);
  margin-bottom: 16px;
}
.z24-404 p {
  color: var(--z24-text-light);
  font-size: 16px;
  margin-bottom: 24px;
}

/* ========== 底部 ========== */
#z24-footer {
  background: #1a1a2e;
  color: rgba(255,255,255,0.7);
  padding: 40px 0 20px;
  margin-top: 40px;
}
.z24-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}
.z24-footer-col h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 14px;
}
.z24-footer-col p { font-size: 13px; line-height: 1.7; }
.z24-footer-col ul li { margin-bottom: 8px; }
.z24-footer-col a {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}
.z24-footer-col a:hover { color: var(--z24-accent); }
.z24-footer-tags a {
  display: inline-block;
  padding: 3px 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  margin: 0 4px 6px 0;
  font-size: 12px;
}
.z24-footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
}
.z24-footer-bottom p { margin-bottom: 6px; }
.z24-footer-bottom a { color: rgba(255,255,255,0.5); }
.z24-footer-bottom a:hover { color: var(--z24-accent); }

/* ========== 回到顶部 ========== */
#z24-backtop {
  position: fixed;
  right: 20px;
  bottom: 80px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--z24-primary);
  color: #fff;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: all .3s;
  z-index: 999;
}
#z24-backtop:hover {
  background: var(--z24-primary-dark);
  transform: translateY(-3px);
}
#z24-backtop.show { display: flex; }

/* ========== 响应式 - 平板 ========== */
@media (max-width: 992px) {
  .z24-main-layout { flex-direction: column; }
  .z24-sidebar { width: 100%; }
  .z24-feature { flex-direction: column; }
  .z24-feature-img { flex: none; width: 100%; height: 220px; }
  .z24-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .z24-search-input { width: 140px; }
}

/* ========== 响应式 - 手机 ========== */
@media (max-width: 768px) {
  .z24-header-inner { height: 54px; gap: 10px; }
  .z24-nav { display: none; transform: none; }
  .z24-search { display: none; transform: none; }
  .z24-logo { transform: none; }
  .z24-mobile-menu { display: flex; }
  .z24-logo-text { font-size: 18px; }
  .z24-logo img { height: 30px; }

  .z24-container { padding: 0 12px; }
  #z24-main { padding: 12px 0; }

  .match-card { flex: 0 0 200px; padding: 10px; }
  .team-name { font-size: 13px; }
  .match-score { font-size: 18px; min-width: 50px; }

  .z24-feature { margin-bottom: 14px; }
  .z24-feature-img { height: 180px; }
  .z24-feature-info { padding: 14px; }
  .z24-feature-info h2 { font-size: 18px; }
  .z24-feature-desc { -webkit-line-clamp: 2; }
  .z24-feature-meta { flex-wrap: wrap; gap: 8px 14px; }

  .z24-post-item { flex-direction: column; padding: 12px; gap: 12px; }
  .z24-post-thumb { flex: none; width: 100%; height: 160px; }
  .z24-post-title { font-size: 15px; }
  .z24-post-meta { flex-wrap: wrap; gap: 6px 12px; }

  .z24-article { padding: 16px; }
  .z24-article-title { font-size: 20px; }
  .z24-article-meta { gap: 6px 14px; font-size: 12px; }
  .z24-article-content { font-size: 14px; }
  .z24-article-nav { flex-direction: column; gap: 10px; }
  .z24-nav-next { text-align: left; }

  .z24-form-row { flex-direction: column; }

  .z24-footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .z24-pagination a, .z24-pagination span { min-width: 32px; height: 32px; padding: 0 8px; font-size: 13px; }

  #z24-backtop { right: 12px; bottom: 60px; width: 40px; height: 40px; }
}

@media (max-width: 480px) {
  .z24-feature-img { height: 160px; }
  .z24-post-thumb { height: 140px; }
  .match-card { flex: 0 0 180px; }
}

/* 头部固定 */
#z24-header.z24-sticky { position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }

/* 广告位 */
.z24-ad-top { background: #f5f5f5; padding: 10px 0; text-align: center; }
.z24-ad-top img { max-width: 100%; height: auto; }
.z24-ad-footer { background: #f5f5f5; padding: 12px 0; text-align: center; margin-bottom: 20px; }
.z24-ad-sidebar { background: #f9f9f9; padding: 12px; text-align: center; border-radius: 4px; margin-bottom: 16px; }
.z24-ad-list-bottom { background: #f9f9f9; padding: 12px; text-align: center; border-radius: 4px; margin: 16px 0; }
.z24-ad-post-start { background: #f9f9f9; padding: 12px; text-align: center; border-radius: 4px; margin-bottom: 16px; }
.z24-ad-post-end { background: #f9f9f9; padding: 12px; text-align: center; border-radius: 4px; margin-top: 16px; }

/* ========== 轮播组件（热门赛程/最新录像） ========== */
.z24-carousel { position: relative; }
.z24-carousel-x .z24-car-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px;
  scrollbar-width: none;
  margin: 0 34px;
}
.z24-carousel-x .z24-car-track::-webkit-scrollbar { display: none; }
.z24-carousel-x .match-card { flex: 0 0 calc(25% - 9px); scroll-snap-align: start; }
.z24-carousel-y .z24-car-track {
  max-height: 330px;
  overflow-y: auto;
  padding: 2px 2px;
  scrollbar-width: none;
  margin: 30px 34px 30px 0;
}
.z24-carousel-y .z24-car-track::-webkit-scrollbar { display: none; }
.z24-carousel-y .replay-item { scroll-snap-align: start; }
.z24-car-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--z24-border);
  background: #fff;
  color: var(--z24-text);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: all .2s;
  padding: 0;
}
.z24-car-arrow:hover { background: var(--z24-primary); color: #fff; border-color: var(--z24-primary); }
.z24-carousel-x .z24-car-prev { left: 0; }
.z24-carousel-x .z24-car-next { right: 0; }
.z24-carousel-y .z24-car-prev { top: 50%; transform: translateY(-100%); left: auto; right: 0; margin-left: 0; }
.z24-carousel-y .z24-car-next { top: 50%; transform: translateY(0); left: auto; right: 0; margin-left: 0; bottom: auto; }
@media (max-width: 680px) {
  .z24-carousel-x .match-card { flex: 0 0 calc(50% - 6px); }
  .z24-car-arrow { width: 26px; height: 26px; font-size: 16px; }
  .z24-carousel-y .z24-car-track { max-height: 330px; margin: 28px 30px 28px 0; }
  .z24-carousel-y .z24-car-prev, .z24-carousel-y .z24-car-next { margin-left: 0; }
}

/* ========== 热门赛程截图样式补充 ========== */
.z24-match-title { position: relative; }
.z24-match-more {
  margin-left: auto;
  font-size: 13px;
  color: var(--z24-primary);
  font-weight: 500;
  text-decoration: none;
}
.z24-match-more:hover { text-decoration: underline; }
.match-date { font-size: 12px; color: var(--z24-text-muted); }
.match-live-btn { display: inline-block; white-space: nowrap; }
/* 轮播分页圆点 */
.z24-car-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 8px 0 2px;
}
.z24-car-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
  padding: 0;
  transition: all .2s;
}
.z24-car-dot:hover { background: var(--z24-primary); }
.z24-car-dot.on { background: var(--z24-primary); width: 18px; border-radius: 4px; }
@media (max-width: 680px) {
  .z24-car-dot { width: 7px; height: 7px; }
  .z24-car-dot.on { width: 16px; }
}

/* ========== 卡片队徽 ========== */
.match-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.team-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.z24-widget h4 { display: flex; align-items: center; gap: 6px; }
.z24-widget-tag {
  font-style: normal;
  font-size: 11px;
  color: var(--z24-primary);
  border: 1px solid var(--z24-primary);
  padding: 1px 7px;
  border-radius: 3px;
  letter-spacing: .04em;
}
/* ========== 全部赛程页 ========== */
.am-page { background: var(--z24-bg); min-height: 100vh; }
.am-header {
  background: #fff;
  border-bottom: 1px solid var(--z24-border);
  position: sticky;
  top: 0;
  z-index: 20;
}
.am-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.am-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--z24-text); font-weight: 700; font-size: 18px; }
.am-logo img { height: 34px; width: auto; }
.am-back {
  font-size: 13px;
  color: var(--z24-primary);
  text-decoration: none;
  border: 1px solid var(--z24-primary);
  padding: 6px 14px;
  border-radius: 6px;
  white-space: nowrap;
}
.am-back:hover { background: var(--z24-primary); color: #fff; }
.am-wrap { max-width: 1180px; margin: 0 auto; padding: 18px 14px 30px; }
.am-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.am-tab {
  font-size: 14px;
  padding: 8px 18px;
  border: 1px solid var(--z24-border);
  border-radius: 999px;
  background: #fff;
  color: var(--z24-text);
  cursor: pointer;
}
.am-tab.on { background: var(--z24-primary); color: #fff; border-color: var(--z24-primary); }
.am-group { margin-bottom: 20px; }
.am-league {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--z24-text);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--z24-primary);
}
.am-league em { font-style: normal; font-size: 12px; color: var(--z24-text-muted); font-weight: normal; }
.am-list { display: flex; flex-direction: column; gap: 8px; }
.am-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--z24-border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
}
.am-time { color: var(--z24-text-muted); width: 46px; flex-shrink: 0; font-size: 13px; }
.am-state { font-size: 12px; padding: 1px 8px; border-radius: 10px; flex-shrink: 0; }
.am-state.live { background: rgba(244,67,54,0.1); color: var(--z24-live); }
.am-state.soon { background: rgba(26,115,232,0.1); color: var(--z24-primary); }
.am-state.done { background: rgba(0,0,0,0.05); color: var(--z24-text-muted); }
.am-teams { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 0; }
.am-team { display: flex; align-items: center; gap: 6px; max-width: 38%; }
.am-team img { width: 20px; height: 20px; object-fit: contain; }
.am-team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.am-score { font-weight: 700; color: var(--z24-accent); min-width: 46px; text-align: center; }
.am-live-btn {
  font-size: 12px;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--z24-accent), var(--z24-accent-dark));
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  flex-shrink: 0;
}
.am-live-btn:hover { color: #fff; opacity: .9; }
.am-empty { text-align: center; color: var(--z24-text-muted); padding: 30px; background: #fff; border-radius: 8px; }
.am-footer { text-align: center; color: var(--z24-text-muted); font-size: 12px; padding: 20px 0 30px; }
@media (max-width: 680px) {
  .am-item { flex-wrap: wrap; padding: 10px; }
  .am-team { max-width: 40%; font-size: 13px; }
}
