/* ===========================================================
   好体育 2026 — 模板专属样式 templates.css
   schedule / teams / single / meta-boxes
   =========================================================== */

/* ─── PAGE HERO (通用) ─── */
.ht-page-hero {
  background: linear-gradient(135deg, var(--ht-dark) 0%, var(--ht-mid) 100%);
  border-bottom: 1px solid var(--ht-border);
  padding: 100px 0 48px;
  position: relative; overflow: hidden;
}
.ht-page-hero::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(232,0,29,.08) 0%, transparent 60%);
  pointer-events: none;
}
.ht-page-title {
  font-family:'Bebas Neue',sans-serif; font-size:clamp(48px,6vw,80px);
  letter-spacing:2px; margin:12px 0 10px; line-height:1;
}
.ht-page-desc { font-size:15px; color:var(--ht-muted); max-width:560px; line-height:1.75; }

/* ─── FILTER BAR ─── */
.ht-filter-bar {
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:12px;
  padding:20px 0; border-bottom:1px solid var(--ht-border);
  margin-bottom:32px;
}
.ht-filter-form { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.ht-filter-form select {
  background:var(--ht-card); border:1px solid var(--ht-border); border-radius:6px;
  color:var(--ht-text); padding:9px 14px; font-size:13px;
  font-family:'Noto Sans SC',sans-serif; cursor:pointer; transition:border .2s;
}
.ht-filter-form select:focus { border-color:var(--ht-gold); outline:none; }
.ht-filter-clear {
  font-size:13px; color:var(--ht-muted); text-decoration:none;
  border:1px solid var(--ht-border); border-radius:6px; padding:8px 14px;
  transition:all .2s;
}
.ht-filter-clear:hover { border-color:var(--ht-red); color:var(--ht-red); }
.ht-tz-note { font-size:12px; color:var(--ht-muted); display:flex; align-items:center; gap:6px; }

/* ─── LIVE BANNER ─── */
.ht-live-banner {
  background:rgba(232,0,29,.08); border:1px solid rgba(232,0,29,.25);
  border-radius:var(--ht-radius); padding:14px 20px; margin-bottom:28px;
  display:flex; align-items:center; gap:20px; flex-wrap:wrap;
}
.ht-live-banner-label {
  display:flex; align-items:center; gap:6px;
  font-size:11px; font-weight:700; color:var(--ht-red); letter-spacing:2px; text-transform:uppercase;
  flex-shrink:0;
}
.ht-live-banner-match {
  display:flex; align-items:center; gap:8px;
  font-size:14px; font-weight:700; color:var(--ht-text); text-decoration:none;
  padding:4px 12px; background:rgba(232,0,29,.12); border-radius:100px;
  transition:background .2s;
}
.ht-live-banner-match:hover { background:rgba(232,0,29,.22); }
.ht-live-min { font-size:11px; color:var(--ht-red); font-weight:700; }

/* ─── SCHEDULE GROUP ─── */
.ht-schedule-group { margin-bottom:40px; }
.ht-schedule-group-title {
  font-family:'Bebas Neue',sans-serif; font-size:28px; letter-spacing:2px;
  color:var(--ht-muted); padding-bottom:10px;
  border-bottom:1px solid var(--ht-border); margin-bottom:12px;
}

/* ─── SCHEDULE ROW ─── */
.ht-schedule-row {
  display:grid; grid-template-columns:100px 1fr 200px 24px;
  align-items:center; gap:16px;
  background:var(--ht-card); border:1px solid var(--ht-border);
  border-radius:var(--ht-radius); padding:16px 20px;
  margin-bottom:8px; text-decoration:none; color:var(--ht-text);
  transition:var(--ht-transition); position:relative; overflow:hidden;
}
.ht-schedule-row::before {
  content:''; position:absolute; left:0; top:0; bottom:0; width:3px;
  background:var(--ht-red); transform:scaleY(0); transform-origin:center; transition:transform .2s;
}
.ht-schedule-row:hover { transform:translateY(-2px); border-color:rgba(255,209,0,.2); box-shadow:0 8px 24px rgba(0,0,0,.3); }
.ht-schedule-row:hover::before { transform:scaleY(1); }
.ht-schedule-live { border-color:rgba(232,0,29,.3); }
.ht-schedule-finished { opacity:.7; }

/* Status cell */
.ht-sr-status { display:flex; flex-direction:column; align-items:center; gap:2px; }
.ht-sr-live { display:flex; align-items:center; gap:5px; color:var(--ht-red); font-size:12px; font-weight:700; letter-spacing:1px; }
.ht-sr-label { font-size:12px; color:var(--ht-muted); font-weight:700; }
.ht-sr-time { display:flex; flex-direction:column; align-items:center; gap:2px; }
.ht-sr-date { font-size:11px; color:var(--ht-muted); }
.ht-sr-clock { font-family:'Bebas Neue',sans-serif; font-size:22px; color:var(--ht-text); line-height:1; }

/* Match cell */
.ht-sr-match { display:flex; align-items:center; gap:12px; }
.ht-sr-team { display:flex; align-items:center; gap:8px; flex:1; }
.ht-sr-home { justify-content:flex-end; }
.ht-sr-away { justify-content:flex-start; }
.ht-sr-flag { font-size:28px; line-height:1; }
.ht-sr-name { font-size:14px; font-weight:700; }
.ht-sr-score { text-align:center; flex-shrink:0; min-width:72px; }
.ht-sr-score strong { font-family:'Bebas Neue',sans-serif; font-size:28px; letter-spacing:4px; }
.ht-sr-pens { font-size:11px; color:var(--ht-muted); display:block; margin-top:2px; }
.ht-sr-vs { font-size:20px; color:var(--ht-muted); font-family:'Bebas Neue',sans-serif; }

/* Venue cell */
.ht-sr-venue { font-size:12px; color:var(--ht-muted); display:flex; align-items:center; gap:5px; }
.ht-sr-arrow { color:var(--ht-muted); font-size:18px; transition:transform .2s; }
.ht-schedule-row:hover .ht-sr-arrow { transform:translateX(4px); color:var(--ht-text); }

/* ─── GROUP TABS ─── */
.ht-group-tabs {
  display:flex; gap:8px; flex-wrap:wrap; padding:24px 0 16px;
}
.ht-group-tab {
  padding:8px 18px; border-radius:100px;
  border:1.5px solid var(--ht-border); background:var(--ht-card);
  color:var(--ht-muted); font-size:13px; font-weight:700;
  text-decoration:none; transition:var(--ht-transition);
}
.ht-group-tab:hover { border-color:var(--ht-gold); color:var(--ht-gold); }
.ht-group-tab.active { background:var(--ht-red); border-color:var(--ht-red); color:#fff; }

/* ─── TEAMS GRID ─── */
.ht-teams-section { margin-bottom:48px; }
.ht-teams-grid {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:16px;
}
.ht-team-card {
  background:var(--ht-card); border:1px solid var(--ht-border);
  border-radius:var(--ht-radius); overflow:hidden;
  text-decoration:none; color:var(--ht-text);
  transition:var(--ht-transition); display:flex; flex-direction:column;
  position:relative;
}
.ht-tc-bar {
  height:3px; background:var(--team-color,var(--ht-red));
  transition:height .25s;
}
.ht-team-card:hover { transform:translateY(-4px); box-shadow:0 16px 40px rgba(0,0,0,.4); border-color:rgba(255,255,255,.12); }
.ht-team-card:hover .ht-tc-bar { height:5px; }
.ht-tc-top {
  display:flex; justify-content:space-between; align-items:flex-start;
  padding:20px 20px 10px;
}
.ht-tc-flag { font-size:52px; line-height:1; }
.ht-tc-flag img { width:52px; height:52px; border-radius:50%; object-fit:cover; }
.ht-tc-rank { font-size:10px; letter-spacing:1px; color:var(--ht-gold); font-weight:700; border:1px solid rgba(255,209,0,.3); padding:3px 8px; border-radius:100px; }
.ht-tc-body { padding:0 20px 12px; flex:1; }
.ht-tc-name { font-family:'Noto Sans SC',sans-serif; font-size:20px; font-weight:900; margin-bottom:2px; }
.ht-tc-country { font-size:12px; color:var(--ht-muted); margin-bottom:12px; }
.ht-tc-meta { display:flex; flex-direction:column; gap:4px; }
.ht-tc-meta-row { display:flex; gap:8px; font-size:12px; }
.ht-tc-meta-row dt { color:var(--ht-muted); flex-shrink:0; min-width:30px; }
.ht-tc-meta-row dd { color:var(--ht-text); }
.ht-tc-odds { color:var(--ht-gold); font-weight:700; }
.ht-tc-footer {
  display:flex; justify-content:space-between; align-items:center;
  padding:12px 20px; border-top:1px solid var(--ht-border);
  font-size:13px; color:var(--ht-muted);
}
.ht-team-card:hover .ht-tc-footer { color:var(--ht-gold); }

/* ─── TEAM SINGLE ─── */
.ht-team-hero {
  padding:100px 0 60px; position:relative; overflow:hidden;
  background:linear-gradient(135deg, var(--ht-dark) 0%, var(--ht-mid) 100%);
  border-bottom:1px solid var(--ht-border);
}
.ht-team-hero-bg {
  position:absolute; inset:0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, color-mix(in srgb, var(--team-color) 20%, transparent) 0%, transparent 60%);
}
.ht-team-hero-inner { display:flex; gap:40px; align-items:center; position:relative; z-index:1; }
.ht-team-flag-xl { font-size:100px; line-height:1; }
.ht-team-logo { width:120px; height:120px; border-radius:50%; object-fit:cover; border:3px solid var(--team-color); }
.ht-team-hero-meta { display:flex; gap:8px; margin-bottom:12px; }
.ht-team-hero-name { font-family:'Bebas Neue',sans-serif; font-size:clamp(48px,6vw,80px); letter-spacing:2px; line-height:1; margin-bottom:4px; }
.ht-team-hero-country { font-size:16px; color:var(--ht-muted); margin-bottom:12px; }
.ht-team-hero-intro { font-size:15px; color:rgba(240,238,232,.7); line-height:1.75; max-width:500px; }

.ht-team-body { padding-top:40px; padding-bottom:80px; }
.ht-team-stats-row { display:grid; grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); gap:12px; margin-bottom:40px; }
.ht-team-stat-card { background:var(--ht-card); border:1px solid var(--ht-border); border-radius:var(--ht-radius); padding:16px; text-align:center; }
.ht-team-stat-val { font-family:'Bebas Neue',sans-serif; font-size:28px; color:var(--ht-gold); display:block; }
.ht-team-stat-label { font-size:11px; color:var(--ht-muted); }

.ht-team-content-grid { display:grid; grid-template-columns:1fr 320px; gap:32px; }
.ht-section-box { background:var(--ht-card); border:1px solid var(--ht-border); border-radius:var(--ht-radius); padding:28px; margin-bottom:24px; }
.ht-box-title { font-family:'Noto Sans SC',sans-serif; font-size:16px; font-weight:700; margin-bottom:20px; padding-bottom:12px; border-bottom:1px solid var(--ht-border); }

/* Squad */
.ht-squad-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.ht-squad-pos-label { font-size:10px; letter-spacing:3px; text-transform:uppercase; color:var(--ht-gold); font-weight:700; margin-bottom:8px; }
.ht-squad-player { display:flex; align-items:center; gap:8px; padding:6px 0; border-bottom:1px solid var(--ht-border); }
.ht-squad-player:last-child { border-bottom:none; }
.ht-squad-num { font-family:'Bebas Neue',sans-serif; font-size:20px; color:var(--ht-muted); min-width:28px; text-align:center; }
.ht-squad-name { flex:1; font-size:14px; font-weight:700; }
.ht-squad-pos-badge { font-size:10px; letter-spacing:1px; color:var(--ht-muted); background:rgba(255,255,255,.06); padding:2px 6px; border-radius:3px; }

/* Related match row (team sidebar) */
.ht-related-match-row { display:block; padding:10px 0; border-bottom:1px solid var(--ht-border); text-decoration:none; color:var(--ht-text); transition:color .2s; }
.ht-related-match-row:last-child { border-bottom:none; }
.ht-related-match-row:hover { color:var(--ht-gold); }
.ht-rmr-teams { font-size:13px; font-weight:700; display:flex; align-items:center; gap:8px; }
.ht-rmr-score { background:var(--ht-card); border:1px solid var(--ht-border); border-radius:4px; padding:2px 8px; font-family:'Bebas Neue',sans-serif; font-size:16px; }
.ht-rmr-time { font-size:11px; color:var(--ht-muted); margin-top:3px; }

/* Related post row */
.ht-related-post-row { display:flex; gap:12px; align-items:center; padding:10px 0; border-bottom:1px solid var(--ht-border); text-decoration:none; color:var(--ht-text); transition:color .2s; }
.ht-related-post-row:last-child { border-bottom:none; }
.ht-related-post-row:hover { color:var(--ht-gold); }
.ht-rpr-thumb { width:60px; height:40px; object-fit:cover; border-radius:4px; flex-shrink:0; }
.ht-rpr-title { font-size:13px; font-weight:700; line-height:1.4; margin-bottom:3px; }
.ht-rpr-date { font-size:11px; color:var(--ht-muted); }

/* ─── SINGLE ARTICLE ─── */
.ht-read-progress {
  position:fixed; top:0; left:0; height:3px; width:0%;
  background:linear-gradient(90deg, var(--ht-red), var(--ht-gold));
  z-index:9999; transition:width .1s linear;
}
.ht-single-page { padding-top:40px; padding-bottom:80px; }
.ht-single-layout { display:grid; grid-template-columns:1fr 320px; gap:48px; align-items:start; }
.ht-single-main { min-width:0; }
.ht-single-sidebar { position:sticky; top:90px; }

.ht-article-tags-top { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:12px; }
.ht-article-title { font-family:'Noto Sans SC',sans-serif; font-size:clamp(22px,3vw,34px); font-weight:900; line-height:1.35; margin:0 0 20px; }
.ht-article-meta-bar { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; margin-bottom:24px; padding-bottom:20px; border-bottom:1px solid var(--ht-border); }
.ht-article-meta-left { display:flex; align-items:center; gap:12px; }
.ht-author-avatar img { width:32px; height:32px; border-radius:50%; }
.ht-author-info { display:flex; flex-direction:column; gap:2px; }
.ht-author-name { font-size:13px; font-weight:700; }
.ht-meta-dates { font-size:12px; color:var(--ht-muted); }
.ht-article-thumb { border-radius:var(--ht-radius); overflow:hidden; margin-bottom:28px; }
.ht-article-img { width:100%; }
.ht-article-caption { font-size:12px; color:var(--ht-muted); text-align:center; padding:8px; }

/* Auto TOC */
.ht-toc {
  background:var(--ht-card); border:1px solid var(--ht-border);
  border-left:3px solid var(--ht-gold); border-radius:var(--ht-radius);
  padding:16px 20px; margin-bottom:28px; font-size:13px;
}
.ht-toc:empty { display:none; }
.ht-toc-title { font-weight:700; margin-bottom:10px; font-size:12px; letter-spacing:2px; text-transform:uppercase; color:var(--ht-muted); }
.ht-toc ol { list-style:decimal; padding-left:18px; display:flex; flex-direction:column; gap:6px; }
.ht-toc a { color:var(--ht-muted); text-decoration:none; transition:color .2s; }
.ht-toc a:hover { color:var(--ht-gold); }

/* Article content typography */
.ht-article-content { font-size:16px; line-height:1.9; color:rgba(240,238,232,.85); margin-bottom:32px; }
.ht-article-content h2 { font-family:'Noto Sans SC',sans-serif; font-size:22px; font-weight:900; color:var(--ht-text); margin:36px 0 14px; padding-bottom:8px; border-bottom:1px solid var(--ht-border); }
.ht-article-content h3 { font-family:'Noto Sans SC',sans-serif; font-size:18px; font-weight:700; color:var(--ht-text); margin:28px 0 12px; }
.ht-article-content p { margin-bottom:18px; }
.ht-article-content a { color:var(--ht-accent); text-decoration:underline; }
.ht-article-content blockquote { border-left:3px solid var(--ht-gold); margin:24px 0; padding:16px 20px; background:rgba(255,209,0,.06); border-radius:0 var(--ht-radius) var(--ht-radius) 0; font-style:italic; color:var(--ht-muted); }
.ht-article-content img { border-radius:var(--ht-radius); margin:20px 0; }
.ht-article-content ul, .ht-article-content ol { padding-left:22px; margin-bottom:18px; display:flex; flex-direction:column; gap:8px; }
.ht-article-content li { line-height:1.75; }

/* Match banner (inline) */
.ht-match-banner {
  display:flex; align-items:center; justify-content:center; flex-direction:column; gap:6px;
  background:var(--ht-card); border:1px solid var(--ht-border);
  border-top:3px solid var(--ht-red); border-radius:var(--ht-radius);
  padding:16px 24px; margin:24px 0; text-decoration:none; color:var(--ht-text);
  transition:var(--ht-transition);
}
.ht-match-banner:hover { border-color:rgba(255,209,0,.3); transform:translateY(-2px); }
.ht-mb-label { font-size:10px; letter-spacing:2px; text-transform:uppercase; color:var(--ht-muted); display:flex; align-items:center; gap:5px; }
.ht-mb-teams { display:flex; align-items:center; gap:20px; font-size:16px; font-weight:700; }
.ht-mb-score { font-family:'Bebas Neue',sans-serif; font-size:36px; letter-spacing:4px; color:var(--ht-gold); }
.ht-mb-time { font-size:12px; color:var(--ht-muted); }

/* Share buttons */
.ht-share-btns { display:flex; gap:8px; align-items:center; }
.ht-share-btn {
  display:inline-flex; align-items:center; justify-content:center;
  width:32px; height:32px; border-radius:6px; border:none;
  font-size:13px; font-weight:700; cursor:pointer; transition:var(--ht-transition);
  text-decoration:none; flex-shrink:0;
}
.ht-share-btn-lg { width:40px; height:40px; font-size:15px; border-radius:8px; }
.ht-share-x   { background:rgba(255,255,255,.08); color:var(--ht-text); }
.ht-share-fb  { background:#1877F2; color:#fff; }
.ht-share-copy { background:rgba(255,255,255,.08); color:var(--ht-text); font-family:inherit; }
.ht-share-btn:hover { transform:translateY(-2px); filter:brightness(1.15); }
.ht-share-bottom { display:flex; align-items:center; gap:16px; padding:20px 0; border-top:1px solid var(--ht-border); margin-bottom:32px; }
.ht-share-label { font-size:13px; color:var(--ht-muted); font-weight:700; }

/* Tags */
.ht-article-tags { margin-bottom:24px; display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.ht-tags-label { font-size:12px; color:var(--ht-muted); }
.ht-tag-pill { background:rgba(255,255,255,.06); border:1px solid var(--ht-border); border-radius:100px; padding:4px 12px; font-size:12px; color:var(--ht-muted); text-decoration:none; transition:var(--ht-transition); }
.ht-tag-pill:hover { border-color:var(--ht-gold); color:var(--ht-gold); }

/* Prev/Next */
.ht-post-nav { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:40px; }
.ht-pn-card { background:var(--ht-card); border:1px solid var(--ht-border); border-radius:var(--ht-radius); padding:16px 20px; text-decoration:none; color:var(--ht-text); transition:var(--ht-transition); display:flex; flex-direction:column; gap:6px; }
.ht-pn-card:hover { border-color:rgba(255,209,0,.25); transform:translateY(-2px); }
.ht-pn-prev { text-align:left; }
.ht-pn-next { text-align:right; }
.ht-pn-dir { font-size:11px; color:var(--ht-muted); letter-spacing:1px; }
.ht-pn-title { font-size:14px; font-weight:700; line-height:1.4; }

/* Related section */
.ht-related-section { margin-bottom:40px; }
.ht-related-title { font-family:'Bebas Neue',sans-serif; font-size:32px; letter-spacing:2px; margin-bottom:20px; }
.ht-related-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:14px; }
.ht-related-card { background:var(--ht-card); border:1px solid var(--ht-border); border-radius:var(--ht-radius); overflow:hidden; text-decoration:none; color:var(--ht-text); transition:var(--ht-transition); }
.ht-related-card:hover { transform:translateY(-3px); border-color:rgba(255,255,255,.12); box-shadow:0 12px 32px rgba(0,0,0,.3); }
.ht-related-img { overflow:hidden; }
.ht-related-img img { width:100%; height:160px; object-fit:cover; transition:transform .4s; }
.ht-related-card:hover .ht-related-img img { transform:scale(1.04); }
.ht-related-body { padding:14px; }
.ht-related-post-title { font-size:14px; font-weight:700; line-height:1.45; margin:6px 0 6px; }

/* Sidebar */
.ht-sidebar-post { display:flex; gap:12px; align-items:center; padding:10px 0; border-bottom:1px solid var(--ht-border); text-decoration:none; color:var(--ht-text); transition:color .2s; }
.ht-sidebar-post:last-child { border-bottom:none; }
.ht-sidebar-post:hover { color:var(--ht-gold); }
.ht-sp-thumb { width:60px; height:40px; object-fit:cover; border-radius:4px; flex-shrink:0; }
.ht-sp-title { font-size:13px; font-weight:700; line-height:1.35; margin-bottom:3px; }
.ht-sp-date { font-size:11px; color:var(--ht-muted); }
.ht-widget-match { display:flex; justify-content:space-between; align-items:center; padding:8px 0; border-bottom:1px solid var(--ht-border); text-decoration:none; color:var(--ht-text); font-size:13px; font-weight:700; transition:color .2s; }
.ht-widget-match:last-of-type { border-bottom:none; }
.ht-widget-match:hover { color:var(--ht-gold); }
.ht-widget-more { display:block; text-align:right; font-size:12px; color:var(--ht-accent); margin-top:12px; text-decoration:none; }
.ht-widget-more:hover { text-decoration:underline; }

/* Widget match card */
.ht-widget-match-card .ht-wmc-inner { display:block; text-decoration:none; color:var(--ht-text); }
.ht-wmc-live { display:flex; align-items:center; gap:6px; color:var(--ht-red); font-size:11px; font-weight:700; letter-spacing:2px; margin-bottom:8px; }
.ht-wmc-teams { display:flex; justify-content:space-between; align-items:center; padding:8px 0; }
.ht-wmc-team { display:flex; flex-direction:column; align-items:center; gap:4px; font-size:13px; font-weight:700; flex:1; }
.ht-wmc-flag { font-size:28px; }
.ht-wmc-score { font-family:'Bebas Neue',sans-serif; font-size:28px; letter-spacing:4px; color:var(--ht-gold); text-align:center; }
.ht-wmc-venue { font-size:12px; color:var(--ht-muted); margin-top:8px; }
.ht-wmc-cta { display:block; margin-top:12px; font-size:13px; color:var(--ht-accent); text-decoration:none; }
.ht-wmc-inner:hover .ht-wmc-cta { text-decoration:underline; }

/* ─── RESPONSIVE ─── */
@media (max-width:1024px) {
  .ht-single-layout { grid-template-columns:1fr; }
  .ht-single-sidebar { position:static; }
  .ht-team-content-grid { grid-template-columns:1fr; }
  .ht-schedule-row { grid-template-columns:80px 1fr 140px 20px; }
}
@media (max-width:768px) {
  .ht-schedule-row { grid-template-columns:1fr; padding:14px; gap:10px; }
  .ht-sr-status { flex-direction:row; justify-content:flex-start; }
  .ht-sr-venue { display:none; }
  .ht-teams-grid { grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); }
  .ht-post-nav { grid-template-columns:1fr; }
  .ht-related-grid { grid-template-columns:1fr 1fr; }
  .ht-team-hero-inner { flex-direction:column; align-items:flex-start; }
  .ht-squad-grid { grid-template-columns:1fr; }
  .ht-team-stats-row { grid-template-columns:repeat(3,1fr); }
}
@media (max-width:480px) {
  .ht-related-grid { grid-template-columns:1fr; }
}

/* ═══════════════════════════════════════════════
   栏目页 / 文章列表页 样式
   ═══════════════════════════════════════════════ */

/* 栏目 HERO */
.ht-archive-wrap { padding-bottom: 80px; }
.ht-archive-hero {
  background: linear-gradient(160deg, var(--ht-dark) 0%, var(--ht-mid) 100%);
  border-bottom: 1px solid var(--ht-border);
  padding: 96px 0 44px;
  position: relative; overflow: hidden;
}
.ht-archive-hero::after {
  content:''; position:absolute; right:-80px; top:-60px;
  width:380px; height:380px; border-radius:50%;
  background: radial-gradient(circle, rgba(232,0,29,.08) 0%, transparent 70%);
  pointer-events:none;
}
.ht-archive-title {
  font-family:'Bebas Neue',sans-serif;
  font-size:clamp(40px,6vw,72px); letter-spacing:2px;
  margin:10px 0 8px; line-height:1;
}
.ht-archive-desc { font-size:15px; color:var(--ht-muted); max-width:520px; line-height:1.7; }
.ht-archive-meta { font-size:13px; color:var(--ht-muted); margin-top:10px; }
.ht-archive-meta strong { color:var(--ht-gold); }

/* 分类 Tab 导航 */
.ht-cat-tabs {
  display:flex; gap:8px; flex-wrap:wrap;
  padding:28px 0 24px;
  border-bottom:1px solid var(--ht-border);
  margin-bottom:32px;
}
.ht-cat-tab {
  display:inline-flex; align-items:center; gap:6px;
  padding:8px 18px; border-radius:100px;
  border:1.5px solid var(--ht-border); background:var(--ht-card);
  color:var(--ht-muted); font-size:13px; font-weight:700;
  text-decoration:none; transition:all .2s;
}
.ht-cat-tab:hover { border-color:var(--ht-gold); color:var(--ht-gold); }
.ht-cat-tab.active { background:var(--ht-red); border-color:var(--ht-red); color:#fff; }
.ht-cat-count {
  font-size:11px; font-weight:400;
  background:rgba(255,255,255,.12); border-radius:100px;
  padding:1px 7px;
}
.ht-cat-tab.active .ht-cat-count { background:rgba(255,255,255,.2); }

/* 文章网格 */
.ht-archive-grid {
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
  margin-bottom:48px;
}

/* 大卡片（首篇）横跨全行 */
.ht-arc-card.ht-arc-featured {
  grid-column: 1 / -1;
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:360px;
}
.ht-arc-card.ht-arc-featured .ht-arc-img-wrap { border-radius:var(--ht-radius) 0 0 var(--ht-radius); }
.ht-arc-card.ht-arc-featured .ht-arc-body { padding:40px 40px; display:flex; flex-direction:column; justify-content:center; }

/* 普通小卡片 */
.ht-arc-card {
  background:var(--ht-card);
  border:1px solid var(--ht-border);
  border-radius:var(--ht-radius);
  overflow:hidden;
  display:flex; flex-direction:column;
  transition:all .25s;
}
.ht-arc-card:hover {
  transform:translateY(-4px);
  box-shadow:0 16px 40px rgba(0,0,0,.35);
  border-color:rgba(255,255,255,.1);
}

.ht-arc-img-wrap { overflow:hidden; display:block; }
.ht-arc-img { width:100%; height:200px; object-fit:cover; display:block; transition:transform .4s; }
.ht-arc-featured .ht-arc-img { height:100%; }
.ht-arc-card:hover .ht-arc-img { transform:scale(1.04); }
.ht-arc-img-overlay {
  position:absolute; bottom:0; left:0; right:0;
  padding:20px 20px 16px;
  background:linear-gradient(to top, rgba(0,0,0,.6), transparent);
}
.ht-arc-img-wrap { position:relative; }
.ht-arc-overlay-cat {
  font-size:11px; font-weight:700; letter-spacing:2px; text-transform:uppercase;
  color:#fff; background:var(--ht-red); padding:4px 10px; border-radius:3px;
}
.ht-arc-no-thumb {
  height:180px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--ht-card),var(--ht-mid));
}
.ht-arc-no-thumb span {
  font-family:'Bebas Neue',sans-serif; font-size:72px; color:rgba(255,255,255,.1);
}

.ht-arc-body { padding:20px; flex:1; display:flex; flex-direction:column; gap:10px; }
.ht-arc-meta-top { display:flex; align-items:center; gap:10px; }
.ht-arc-cat {
  font-size:11px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase;
  color:var(--ht-red); background:rgba(232,0,29,.1);
  padding:3px 10px; border-radius:3px; text-decoration:none;
  transition:background .2s;
}
.ht-arc-cat:hover { background:rgba(232,0,29,.2); }
.ht-arc-read-time { font-size:11px; color:var(--ht-muted); margin-left:auto; }

.ht-arc-title { font-family:'Noto Sans SC',sans-serif; font-size:16px; font-weight:700; line-height:1.45; margin:0; }
.ht-arc-title a { color:var(--ht-text); text-decoration:none; transition:color .2s; }
.ht-arc-title a:hover { color:var(--ht-gold); }
.ht-arc-title-lg { font-size:26px; line-height:1.35; }
.ht-arc-excerpt { font-size:14px; color:var(--ht-muted); line-height:1.75; margin:0; }

.ht-arc-meta-bottom { display:flex; align-items:center; justify-content:space-between; margin-top:auto; padding-top:12px; border-top:1px solid var(--ht-border); }
.ht-arc-author { display:flex; align-items:center; gap:7px; font-size:12px; color:var(--ht-muted); }
.ht-arc-avatar { width:20px!important; height:20px!important; border-radius:50%!important; }
.ht-arc-date { font-size:12px; color:var(--ht-muted); }

/* 推荐占位 */
.ht-arc-promo {
  grid-column: 1 / -1;
  background:linear-gradient(135deg,rgba(232,0,29,.08),rgba(255,209,0,.05));
  border:1px dashed rgba(232,0,29,.3);
  border-radius:var(--ht-radius);
  padding:32px;
}
.ht-arc-promo-inner { display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
.ht-arc-promo-tag { font-size:10px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--ht-red); background:rgba(232,0,29,.12); padding:4px 10px; border-radius:3px; }
.ht-arc-promo-title { font-family:'Bebas Neue',sans-serif; font-size:28px; letter-spacing:1px; flex:1; }
.ht-arc-promo p { font-size:14px; color:var(--ht-muted); flex:2; }

/* 无内容状态 */
.ht-empty-state { text-align:center; padding:80px 24px; }
.ht-empty-icon { font-size:64px; margin-bottom:20px; }
.ht-empty-state h2 { font-family:'Bebas Neue',sans-serif; font-size:40px; margin-bottom:12px; }
.ht-empty-state p { color:var(--ht-muted); margin-bottom:28px; }

/* 分页 */
.ht-pagination-wrap { margin:0 0 40px; }
.ht-pagination-wrap .nav-links { display:flex; gap:8px; justify-content:center; flex-wrap:wrap; }
.ht-pagination-wrap .page-numbers {
  display:inline-flex; align-items:center; justify-content:center;
  min-width:40px; height:40px; padding:0 12px;
  background:var(--ht-card); border:1px solid var(--ht-border);
  border-radius:6px; color:var(--ht-text); text-decoration:none;
  font-size:14px; font-weight:700; transition:all .2s;
}
.ht-pagination-wrap .page-numbers:hover { border-color:var(--ht-gold); color:var(--ht-gold); }
.ht-pagination-wrap .page-numbers.current { background:var(--ht-red); border-color:var(--ht-red); color:#fff; }
.ht-pagination-wrap .prev,.ht-pagination-wrap .next { padding:0 16px; }

/* ═══════════════════════════════════════════════
   文章详情页 single.php 样式
   ═══════════════════════════════════════════════ */
.ht-single-page { padding:40px 0 80px; }
.ht-single-container { max-width:1200px; }
.ht-single-breadcrumb { margin-bottom:28px; }
.ht-single-layout {
  display:grid;
  grid-template-columns:1fr 300px;
  gap:48px;
  align-items:start;
}
.ht-single-main { min-width:0; }

/* 文章头部 */
.ht-article-tags-row { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:14px; }
.ht-single-title {
  font-family:'Noto Sans SC',sans-serif;
  font-size:clamp(22px,3.5vw,36px);
  font-weight:900; line-height:1.32;
  margin:0 0 22px;
}
.ht-single-meta-bar {
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:12px;
  padding-bottom:20px; border-bottom:1px solid var(--ht-border);
  margin-bottom:28px;
}
.ht-single-meta-left { display:flex; align-items:center; gap:12px; }
.ht-arc-avatar-lg { width:36px!important; height:36px!important; border-radius:50%!important; }
.ht-author-name { font-size:14px; font-weight:700; }
.ht-meta-dates { font-size:12px; color:var(--ht-muted); margin-top:2px; }

/* 特色图片 */
.ht-article-thumb { border-radius:var(--ht-radius); overflow:hidden; margin-bottom:28px; }
.ht-article-img { width:100%; display:block; }
.ht-article-caption { font-size:12px; color:var(--ht-muted); text-align:center; padding:10px; }

/* 目录 */
.ht-toc {
  background:var(--ht-card); border:1px solid var(--ht-border);
  border-left:3px solid var(--ht-gold);
  border-radius:var(--ht-radius); padding:18px 22px;
  margin-bottom:28px; font-size:13px;
}
.ht-toc:empty { display:none; }
.ht-toc-title { font-weight:700; font-size:11px; letter-spacing:2px; text-transform:uppercase; color:var(--ht-muted); margin-bottom:12px; }
.ht-toc ol { list-style:decimal; padding-left:20px; display:flex; flex-direction:column; gap:6px; }
.ht-toc li { line-height:1.5; }
.ht-toc a { color:var(--ht-muted); text-decoration:none; transition:color .2s; }
.ht-toc a:hover { color:var(--ht-gold); }

/* 正文排版 */
.ht-article-content { font-size:16px; line-height:1.9; color:rgba(240,238,232,.85); margin-bottom:32px; }
.ht-article-content h2 { font-family:'Noto Sans SC',sans-serif; font-size:22px; font-weight:900; color:var(--ht-text); margin:36px 0 14px; padding-bottom:10px; border-bottom:2px solid var(--ht-border); }
.ht-article-content h3 { font-family:'Noto Sans SC',sans-serif; font-size:18px; font-weight:700; color:var(--ht-text); margin:28px 0 12px; }
.ht-article-content p { margin-bottom:18px; }
.ht-article-content a { color:var(--ht-accent); }
.ht-article-content blockquote { border-left:3px solid var(--ht-gold); margin:24px 0; padding:14px 20px; background:rgba(255,209,0,.05); border-radius:0 var(--ht-radius) var(--ht-radius) 0; font-style:italic; color:var(--ht-muted); }
.ht-article-content img { border-radius:var(--ht-radius); margin:20px 0; max-width:100%; }
.ht-article-content ul,.ht-article-content ol { padding-left:24px; margin-bottom:18px; display:flex; flex-direction:column; gap:8px; }
.ht-article-content table { width:100%; border-collapse:collapse; margin:20px 0; font-size:14px; }
.ht-article-content th { background:var(--ht-card); padding:10px 14px; text-align:left; border:1px solid var(--ht-border); font-weight:700; }
.ht-article-content td { padding:10px 14px; border:1px solid var(--ht-border); }
.ht-article-content tr:hover td { background:rgba(255,255,255,.03); }

/* 标签 */
.ht-tag-pill { background:rgba(255,255,255,.06); border:1px solid var(--ht-border); border-radius:100px; padding:4px 12px; font-size:12px; color:var(--ht-muted); text-decoration:none; transition:all .2s; }
.ht-tag-pill:hover { border-color:var(--ht-gold); color:var(--ht-gold); }

/* 分享 */
.ht-share-top  { display:flex; gap:8px; }
.ht-share-bottom { display:flex; align-items:center; gap:16px; padding:20px 0; border-top:1px solid var(--ht-border); margin-bottom:36px; flex-wrap:wrap; }
.ht-share-label { font-size:13px; color:var(--ht-muted); font-weight:700; }
.ht-share-btns { display:flex; gap:8px; align-items:center; }
.ht-share-btn {
  display:inline-flex; align-items:center; justify-content:center;
  width:34px; height:34px; border-radius:8px; border:none;
  font-size:13px; font-weight:700; cursor:pointer; transition:all .2s; text-decoration:none;
}
.ht-share-btn-lg { width:42px; height:42px; font-size:16px; }
.ht-share-x    { background:rgba(255,255,255,.08); color:var(--ht-text); }
.ht-share-fb   { background:#1877F2; color:#fff; }
.ht-share-copy { background:rgba(255,255,255,.08); color:var(--ht-text); font-family:inherit; }
.ht-share-btn:hover { transform:translateY(-2px); filter:brightness(1.15); }

/* 关联赛事横幅 */
.ht-match-banner {
  display:flex; flex-direction:column; align-items:center; gap:8px;
  background:var(--ht-card); border:1px solid var(--ht-border); border-top:3px solid var(--ht-red);
  border-radius:var(--ht-radius); padding:18px 24px; margin:24px 0;
  text-decoration:none; color:var(--ht-text); transition:all .2s;
}
.ht-match-banner:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,0,0,.25); }
.ht-mb-label { font-size:10px; letter-spacing:2px; text-transform:uppercase; color:var(--ht-muted); display:flex; align-items:center; gap:5px; }
.ht-mb-teams { display:flex; align-items:center; gap:24px; font-size:16px; font-weight:700; }
.ht-mb-score { font-family:'Bebas Neue',sans-serif; font-size:38px; letter-spacing:4px; color:var(--ht-gold); }
.ht-mb-time { font-size:12px; color:var(--ht-muted); }

/* 上下篇 */
.ht-post-nav { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:48px; }
.ht-pn-card {
  background:var(--ht-card); border:1px solid var(--ht-border);
  border-radius:var(--ht-radius); padding:16px 20px;
  text-decoration:none; color:var(--ht-text); transition:all .2s;
  display:flex; align-items:center; gap:12px;
}
.ht-pn-card:hover { border-color:rgba(255,209,0,.25); transform:translateY(-2px); }
.ht-pn-next { flex-direction:row-reverse; text-align:right; }
.ht-pn-thumb { width:64px; height:44px; object-fit:cover; border-radius:5px; flex-shrink:0; }
.ht-pn-dir { font-size:11px; color:var(--ht-muted); letter-spacing:1px; margin-bottom:4px; }
.ht-pn-title { font-size:14px; font-weight:700; line-height:1.4; }

/* 相关推荐 */
.ht-related-section { margin-bottom:48px; }
.ht-related-title { font-family:'Bebas Neue',sans-serif; font-size:32px; letter-spacing:2px; margin-bottom:20px; padding-bottom:12px; border-bottom:1px solid var(--ht-border); }
.ht-related-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.ht-related-card { background:var(--ht-card); border:1px solid var(--ht-border); border-radius:var(--ht-radius); overflow:hidden; text-decoration:none; color:var(--ht-text); transition:all .2s; }
.ht-related-card:hover { transform:translateY(-3px); box-shadow:0 10px 28px rgba(0,0,0,.3); }
.ht-related-img { overflow:hidden; }
.ht-related-img img { width:100%; height:140px; object-fit:cover; transition:transform .4s; }
.ht-related-card:hover .ht-related-img img { transform:scale(1.05); }
.ht-related-body { padding:12px 14px; display:flex; flex-direction:column; gap:6px; }
.ht-related-post-title { font-size:13px; font-weight:700; line-height:1.45; }

/* 侧边栏（单篇专用） */
.ht-single-sidebar { position:sticky; top:90px; display:flex; flex-direction:column; gap:20px; }
.ht-sidebar-widget { background:var(--ht-card); border:1px solid var(--ht-border); border-radius:var(--ht-radius); padding:20px; }
.ht-sidebar-widget-title { font-size:12px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--ht-muted); margin-bottom:14px; padding-bottom:10px; border-bottom:1px solid var(--ht-border); }

.ht-sw-post { display:flex; gap:10px; padding:10px 0; border-bottom:1px solid var(--ht-border); text-decoration:none; color:var(--ht-text); transition:color .2s; }
.ht-sw-post:last-child { border-bottom:none; }
.ht-sw-post:hover { color:var(--ht-gold); }
.ht-sw-thumb { width:56px; height:40px; object-fit:cover; border-radius:4px; flex-shrink:0; }
.ht-sw-info { flex:1; min-width:0; }
.ht-sw-title { font-size:12px; font-weight:700; line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.ht-sw-date { font-size:11px; color:var(--ht-muted); margin-top:3px; }

.ht-sw-match { display:block; padding:10px 0; border-bottom:1px solid var(--ht-border); text-decoration:none; color:var(--ht-text); transition:color .2s; }
.ht-sw-match:hover { color:var(--ht-gold); }
.ht-sw-match-teams { display:flex; justify-content:space-between; align-items:center; font-size:12px; font-weight:700; }
.ht-sw-match-teams strong { font-family:'Bebas Neue',sans-serif; font-size:18px; letter-spacing:2px; color:var(--ht-gold); }
.ht-sw-match-time { font-size:11px; color:var(--ht-muted); margin-top:3px; }
.ht-sw-more { display:block; font-size:12px; color:var(--ht-accent); margin-top:12px; text-decoration:none; text-align:right; }
.ht-sw-more:hover { text-decoration:underline; }

.ht-sw-cat { display:flex; justify-content:space-between; align-items:center; padding:9px 0; border-bottom:1px solid var(--ht-border); text-decoration:none; color:var(--ht-text); font-size:13px; font-weight:700; transition:color .2s; }
.ht-sw-cat:last-child { border-bottom:none; }
.ht-sw-cat:hover { color:var(--ht-gold); }
.ht-sw-cat-count { font-size:11px; background:rgba(255,255,255,.07); border-radius:100px; padding:2px 8px; color:var(--ht-muted); }

.ht-sidebar-match-card .ht-swm-inner { display:block; text-decoration:none; color:var(--ht-text); }
.ht-swm-live { display:flex; align-items:center; gap:5px; color:var(--ht-red); font-size:11px; font-weight:700; letter-spacing:2px; margin-bottom:8px; }
.ht-swm-teams { display:flex; justify-content:space-between; align-items:center; padding:10px 0; }
.ht-swm-team { display:flex; flex-direction:column; align-items:center; gap:4px; font-size:12px; font-weight:700; flex:1; }
.ht-swm-flag { font-size:28px; }
.ht-swm-score { font-family:'Bebas Neue',sans-serif; font-size:28px; letter-spacing:4px; color:var(--ht-gold); }
.ht-swm-venue { font-size:11px; color:var(--ht-muted); margin-top:4px; }

/* 响应式 */
@media (max-width:1100px) {
  .ht-archive-grid { grid-template-columns:repeat(2,1fr); }
  .ht-arc-card.ht-arc-featured { grid-column:1/-1; }
  .ht-single-layout { grid-template-columns:1fr; }
  .ht-single-sidebar { position:static; flex-direction:row; flex-wrap:wrap; }
  .ht-single-sidebar > div { flex:1; min-width:260px; }
  .ht-related-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:768px) {
  .ht-archive-grid { grid-template-columns:1fr; }
  .ht-arc-card.ht-arc-featured { grid-template-columns:1fr; }
  .ht-arc-card.ht-arc-featured .ht-arc-img-wrap { border-radius:var(--ht-radius) var(--ht-radius) 0 0; }
  .ht-arc-card.ht-arc-featured .ht-arc-body { padding:20px; }
  .ht-post-nav { grid-template-columns:1fr; }
  .ht-related-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:480px) {
  .ht-related-grid { grid-template-columns:1fr; }
  .ht-single-sidebar { flex-direction:column; }
}
