/* 活力：珊瑚红 + 白，三栏体育门户（分类栏 / 赛程 / 热门榜） */
:root {
  --hl-r: #ff4d4f;
  --hl-r2: #ff7a45;
  --hl-deep: #cf1322;
  --hl-pink: #fff1f0;
  --hl-bg: #f6f7f9;
  --hl-ink: #1f2329;
  --hl-sub: #545b66;
  --hl-mute: #959ba6;
  --hl-line: #eceef2;
  --hl-green: #12b76a;
  --hl-grad: linear-gradient(90deg, var(--hl-r), var(--hl-r2));
  --hl-shadow: 0 4px 16px rgba(31, 35, 41, .06);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--hl-bg); color: var(--hl-ink); font: 14px/1.6 "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd { margin: 0; }
img { vertical-align: middle; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.hl-hide { display: none !important; }
.hl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hl-w { width: 1260px; max-width: 100%; margin: 0 auto; padding: 0 14px; }
.hl-body { padding-top: 16px; padding-bottom: 30px; min-height: 60vh; }
.hl-rv { opacity: 0; transform: translateX(16px); transition: opacity .45s, transform .45s; }
.hl-rv.in { opacity: 1; transform: none; }

/* ---------- 头部 ---------- */
.hl-head { position: sticky; top: 0; z-index: 60; background: #fff; border-top: 4px solid var(--hl-r); box-shadow: 0 2px 10px rgba(31, 35, 41, .06); }
.hl-head-in { display: flex; align-items: center; gap: 30px; height: 64px; }
.hl-logo { display: flex; align-items: center; gap: 8px; }
.hl-logo-ic { position: relative; width: 36px; height: 36px; border-radius: 10px; background: var(--hl-grad); box-shadow: 0 4px 10px rgba(255, 77, 79, .35); }
.hl-logo-ic::before { content: ""; position: absolute; left: 13px; top: 10px; border: 8px solid transparent; border-left: 13px solid #fff; border-right: 0; }
.hl-logo-ic i { position: absolute; inset: -4px; border-radius: 14px; border: 2px solid var(--hl-r); opacity: 0; animation: hl-ping 2s ease-out infinite; }
@keyframes hl-ping { 0% { transform: scale(.8); opacity: .8; } 100% { transform: scale(1.4); opacity: 0; } }
.hl-logo b { font-size: 22px; font-weight: 900; color: var(--hl-ink); }
.hl-logo small { padding: 1px 8px; border-radius: 4px; background: var(--hl-pink); color: var(--hl-r); font-size: 11px; font-weight: 700; }
.hl-nav { display: flex; height: 100%; }
.hl-nav a { position: relative; display: flex; align-items: center; padding: 0 20px; font-size: 16px; font-weight: 700; color: var(--hl-sub); transition: color .2s; }
.hl-nav a::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 0; height: 3px; background: var(--hl-r); transform: scaleX(0); transition: transform .25s; }
.hl-nav a:hover, .hl-nav a.on { color: var(--hl-r); }
.hl-nav a:hover::after, .hl-nav a.on::after { transform: none; }
.hl-head-live { margin-left: auto; display: flex; align-items: center; gap: 4px; padding: 6px 14px; border-radius: 18px; background: var(--hl-pink); color: var(--hl-deep); font-weight: 700; }
.hl-head-live b { font-size: 18px; margin: 0 2px; }
.hl-flame { display: inline-block; animation: hl-flick .8s ease-in-out infinite alternate; transform-origin: bottom; }
@keyframes hl-flick { from { transform: scale(1) rotate(-4deg); } to { transform: scale(1.15) rotate(4deg); } }
.hl-notice { background: #fff; border-bottom: 1px solid var(--hl-line); }
.hl-notice-in { display: flex; align-items: center; gap: 12px; height: 38px; }
.hl-notice-lb { flex: none; padding: 1px 10px; border-radius: 4px; background: var(--hl-r); color: #fff; font-size: 12px; font-weight: 700; }
.hl-notice-win { flex: 1; overflow: hidden; white-space: nowrap; color: var(--hl-sub); font-size: 13px; }
.hl-notice-win p { display: inline-block; padding-left: 100%; animation: hl-marq 26s linear infinite; }
@keyframes hl-marq { to { transform: translateX(-100%); } }

/* ---------- 三栏 ---------- */
.hl-cols { display: grid; grid-template-columns: 210px 1fr 280px; gap: 16px; align-items: start; }
.hl-cols-d { grid-template-columns: 1fr 300px; }
.hl-rail, .hl-right { display: grid; gap: 16px; position: sticky; top: 80px; }
.hl-center { display: grid; gap: 16px; min-width: 0; }
.hl-box { padding: 16px; border-radius: 10px; background: #fff; box-shadow: var(--hl-shadow); }
.hl-box > h3 { position: relative; margin: -2px 0 12px; padding-left: 10px; font-size: 15px; }
.hl-box > h3::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 2px; background: var(--hl-r); }
.hl-h { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 18px; font-weight: 900; }
.hl-h small { font-size: 13px; color: var(--hl-mute); font-weight: 400; }
.hl-h a { margin-left: auto; font-size: 13px; font-weight: 400; color: var(--hl-mute); }
.hl-h a:hover { color: var(--hl-r); }
.hl-h-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--hl-r); }
.hl-h-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--hl-r); animation: hl-ping 1.6s ease-out infinite; }
.hl-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 4px; border-radius: 8px; font-weight: 700; color: var(--hl-sub); transition: .2s; }
.hl-menu a i { font-style: normal; }
.hl-menu a:hover { background: var(--hl-pink); color: var(--hl-r); padding-left: 16px; }
.hl-menu a.on { background: var(--hl-grad); color: #fff; box-shadow: 0 6px 14px rgba(255, 77, 79, .3); }
.hl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hl-chip { padding: 3px 10px; border-radius: 4px; border: 1px solid var(--hl-line); background: #fff; color: var(--hl-sub); font-size: 12px; transition: .2s; }
.hl-chip:hover { border-color: var(--hl-r); color: var(--hl-r); }
.hl-chip.on { background: var(--hl-r); border-color: var(--hl-r); color: #fff; }
.hl-ad { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 110px; padding: 14px; overflow: hidden; background-size: cover; background-position: center; color: #fff; }
.hl-ad::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 77, 79, .1), rgba(207, 19, 34, .8)); transition: .4s; }
.hl-ad:hover::before { background: linear-gradient(180deg, rgba(255, 77, 79, .3), rgba(207, 19, 34, .9)); }
.hl-ad > * { position: relative; }
.hl-ad b { font-size: 16px; }
.hl-ad span { font-size: 12px; opacity: .9; }

/* ---------- 焦点条 ---------- */
.hl-strip-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.hl-sc { position: relative; padding: 12px; border-radius: 10px; background: linear-gradient(180deg, #fff, #fafbfc); border: 1px solid var(--hl-line); transition: .25s; overflow: hidden; }
.hl-sc::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--hl-grad); transform: scaleX(0); transform-origin: left; transition: .3s; }
.hl-sc:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(255, 77, 79, .15); border-color: #ffccc7; }
.hl-sc:hover::before, .hl-sc[data-hlst="1"]::before { transform: none; }
.hl-sc p { display: flex; justify-content: space-between; font-size: 12px; color: var(--hl-mute); }
.hl-sc p span { color: var(--hl-r); font-weight: 700; }
.hl-sc div { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 4px; margin: 10px 0 6px; text-align: center; }
.hl-sc div span { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; }
.hl-sc div b { font-size: 18px; font-family: "DIN Alternate", "Bahnschrift", sans-serif; }
.hl-sc-st { display: block; text-align: center; font-style: normal; font-size: 12px; color: var(--hl-mute); }
.hl-sc[data-hlst="1"] .hl-sc-st { color: var(--hl-r); font-weight: 800; }
.hl-sc[data-hlst="1"] div b { color: var(--hl-r); }

/* ---------- 赛程行 ---------- */
.hl-rows li + li { border-top: 1px solid var(--hl-line); }
.hl-row { display: grid; grid-template-columns: 54px 84px 1fr 60px 64px; align-items: center; gap: 10px; padding: 10px 6px; transition: background .2s, opacity .45s, transform .45s; }
.hl-row:hover { background: #fffafa; }
.hl-row.is-live { background: var(--hl-pink); border-radius: 8px; }
.hl-row-time { font-weight: 800; font-family: "DIN Alternate", "Bahnschrift", sans-serif; font-size: 15px; }
.hl-row-lg { padding: 1px 8px; border-radius: 4px; background: #f2f3f5; color: var(--hl-sub); font-size: 12px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl-row-vs { display: grid; grid-template-columns: 1fr 70px 1fr; align-items: center; gap: 8px; font-weight: 700; min-width: 0; }
.hl-row-vs > span { display: flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl-row-h { justify-content: flex-end; }
.hl-row-vs b { text-align: center; font-family: "DIN Alternate", "Bahnschrift", sans-serif; font-size: 16px; }
.hl-row-vs:hover { color: var(--hl-r); }
.hl-row.is-live .hl-row-vs b { color: var(--hl-r); }
.hl-row-st { text-align: center; font-size: 12px; color: var(--hl-mute); }
.hl-row.is-live .hl-row-st { color: var(--hl-r); font-weight: 800; animation: hl-blink 1.2s infinite; }
@keyframes hl-blink { 50% { opacity: .35; } }
.hl-tm { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 22px; height: 22px; border-radius: 50%; overflow: hidden; background: #fff; border: 1px solid var(--hl-line); }
.hl-tm img { width: 82%; height: 82%; object-fit: contain; }
.hl-tm-l { width: 36px; height: 36px; }
.hl-tm-xl { width: 88px; height: 88px; border: 4px solid #fff; box-shadow: 0 8px 22px rgba(255, 77, 79, .2); }
.hl-ini { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: var(--hl-grad); color: #fff; font-weight: 800; font-size: 11px; }
.hl-tm-l .hl-ini { font-size: 15px; }
.hl-tm-xl .hl-ini { font-size: 34px; }
.hl-btn { display: inline-flex; align-items: center; justify-content: center; height: 28px; padding: 0 12px; border-radius: 14px; border: 1px solid var(--hl-r); color: var(--hl-r); background: #fff; font-size: 12px; font-weight: 700; transition: .2s; white-space: nowrap; }
.hl-btn:hover { background: var(--hl-r); color: #fff; }
.hl-btn-fill { background: var(--hl-grad); border-color: transparent; color: #fff; box-shadow: 0 4px 10px rgba(255, 77, 79, .35); }
.hl-btn-gray { border-color: var(--hl-line); color: var(--hl-mute); }
.hl-btn-gray:hover { background: #f2f3f5; color: var(--hl-sub); }
.hl-pop { animation: hl-pop .6s ease; }
@keyframes hl-pop { 40% { transform: scale(1.4); color: var(--hl-r); } }
.hl-none, .hl-off { padding: 40px; text-align: center; color: var(--hl-mute); }
.hl-none-ic { display: inline-block; font-style: normal; font-size: 40px; animation: hl-flick 1s ease-in-out infinite alternate; }
.hl-pager { display: flex; justify-content: center; gap: 6px; }
.hl-pager a, .hl-pager b { min-width: 36px; height: 34px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; background: #fff; box-shadow: var(--hl-shadow); font-weight: 700; transition: .2s; }
.hl-pager a:hover { color: var(--hl-r); }
.hl-pager b { background: var(--hl-r); color: #fff; }

/* ---------- 右栏 ---------- */
.hl-count { text-align: center; background: var(--hl-grad); color: #fff; }
.hl-count b { display: block; font-size: 46px; line-height: 1.1; font-family: "DIN Alternate", "Bahnschrift", "Arial Black", sans-serif; }
.hl-count span { font-size: 13px; opacity: .92; }
.hl-count-bar { display: block; height: 4px; margin-top: 10px; border-radius: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.hl-count-bar em { display: block; width: 30%; height: 100%; background: #fff; animation: hl-load 2s ease-in-out infinite; }
@keyframes hl-load { 0% { transform: translateX(-100%); } 100% { transform: translateX(340%); } }
.hl-hot { counter-reset: h; }
.hl-hot a { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 8px; padding: 7px 0; transition: .2s; }
.hl-hot a:hover { color: var(--hl-r); transform: translateX(3px); }
.hl-hot em { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 4px; background: #f2f3f5; color: var(--hl-mute); font-style: normal; font-size: 12px; font-weight: 800; }
.hl-hot li:nth-child(1) em { background: var(--hl-r); color: #fff; }
.hl-hot li:nth-child(2) em { background: var(--hl-r2); color: #fff; }
.hl-hot li:nth-child(3) em { background: #faad14; color: #fff; }
.hl-hot span { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl-hot i { font-style: normal; font-size: 11px; color: var(--hl-mute); }
.hl-hot li[data-hlst="1"] i { color: var(--hl-r); font-weight: 800; }
.hl-help li { position: relative; padding: 5px 0 5px 16px; color: var(--hl-sub); font-size: 13px; }
.hl-help li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--hl-r); }

/* ---------- 列表头 ---------- */
.hl-title { position: relative; padding: 24px 26px; overflow: hidden; background-size: cover; background-position: center; }
.hl-title::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 30%, rgba(255, 255, 255, .7) 65%, rgba(255, 241, 240, .3)); }
.hl-title > * { position: relative; }
.hl-title h1 { margin: 6px 0; font-size: 28px; font-weight: 900; }
.hl-title h1 small { margin-left: 10px; font-size: 14px; color: var(--hl-mute); font-weight: 400; }
.hl-title p b { color: var(--hl-r); font-size: 20px; }
.hl-crumb { color: var(--hl-mute); font-size: 13px; }
.hl-crumb a:hover { color: var(--hl-r); }
.hl-crumb-d { margin-bottom: 12px; }

/* ---------- 详情 ---------- */
.hl-vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 28px; background: radial-gradient(circle at 50% 0, var(--hl-pink), #fff 70%); }
.hl-vs-t { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hl-vs-t b { font-size: 20px; font-weight: 900; }
.hl-vs-m { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 30px; }
.hl-vs-m p { color: var(--hl-r); font-weight: 700; }
.hl-vs-m strong { font-size: 58px; line-height: 1.1; font-family: "DIN Alternate", "Bahnschrift", "Arial Black", sans-serif; }
.hl-vs-st { padding: 1px 12px; border-radius: 10px; background: #f2f3f5; color: var(--hl-sub); font-size: 13px; font-weight: 700; }
[data-hlst="1"] .hl-vs-st { background: var(--hl-r); color: #fff; animation: hl-blink 1.4s infinite; }
.hl-vs-m time { color: var(--hl-mute); font-size: 12px; }
.hl-lines { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.hl-line { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px 0 6px; border-radius: 6px; border: 1px solid var(--hl-line); background: #fff; font-weight: 700; color: var(--hl-sub); transition: .2s; }
.hl-line em { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 4px; background: var(--hl-pink); color: var(--hl-r); font-style: normal; font-size: 12px; }
.hl-line:hover { border-color: var(--hl-r); color: var(--hl-r); }
.hl-line.cur { background: var(--hl-grad); border-color: transparent; color: #fff; }
.hl-line.cur em { background: rgba(255, 255, 255, .25); color: #fff; }
.hl-line-ext::after { content: "↗"; }
.hl-video { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: linear-gradient(135deg, #fff1f0, #fff7e6); }
.hl-video iframe, .hl-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.hl-video-tip { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--hl-deep); font-weight: 700; }
.hl-video-tip::before { content: ""; width: 22px; height: 22px; margin-right: 10px; border-radius: 50%; border: 3px solid #ffccc7; border-top-color: var(--hl-r); animation: hl-spin .8s linear infinite; }
@keyframes hl-spin { to { transform: rotate(360deg); } }
.hl-off { background: var(--hl-pink); border-radius: 8px; color: var(--hl-sub); }
.hl-off .hl-btn { margin-top: 12px; height: 34px; padding: 0 18px; }
.hl-off-cd b { font-size: 22px; color: var(--hl-r); font-family: "DIN Alternate", "Bahnschrift", monospace; }
.hl-dl div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--hl-line); }
.hl-dl dt { color: var(--hl-mute); }
.hl-dl dd { font-weight: 700; }

/* ---------- 404 ---------- */
.hl-404 { padding: 60px 20px; text-align: center; }
.hl-404-n { font-size: 110px; line-height: 1; font-weight: 900; font-family: "DIN Alternate", "Bahnschrift", "Arial Black", sans-serif; background: var(--hl-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hl-404 h1 { margin-top: 12px; font-size: 22px; }
.hl-404 p { color: var(--hl-sub); }
.hl-404-go { display: flex; justify-content: center; gap: 10px; margin-top: 20px !important; }
.hl-404-go .hl-btn { height: 36px; padding: 0 20px; font-size: 14px; }

/* ---------- 页脚 + 浮动 ---------- */
.hl-foot { padding: 24px 0; background: #fff; border-top: 1px solid var(--hl-line); color: var(--hl-mute); font-size: 12px; text-align: center; }
.hl-foot p + p { margin-top: 6px; }
.hl-foot-nav { color: var(--hl-line); }
.hl-foot-nav a { margin: 0 12px; color: var(--hl-sub); font-weight: 700; font-size: 13px; }
.hl-foot-nav a:hover { color: var(--hl-r); }
.hl-float { position: fixed; right: 14px; bottom: 80px; z-index: 50; display: grid; gap: 6px; }
.hl-float a { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: #fff; color: var(--hl-sub); font-size: 12px; font-weight: 700; box-shadow: 0 6px 16px rgba(31, 35, 41, .12); transition: .2s; }
.hl-float a:hover { background: var(--hl-r); color: #fff; transform: translateX(-3px); }

@media (max-width: 1180px) {
  .hl-cols { grid-template-columns: 1fr 260px; }
  .hl-rail { display: none; }
  .hl-strip-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .hl-cols, .hl-cols-d { grid-template-columns: 1fr; }
  .hl-right { position: static; }
  .hl-head-in { gap: 10px; height: 56px; }
  .hl-logo small, .hl-head-live .hl-flame { display: none; }
  .hl-logo b { font-size: 18px; }
  .hl-nav a { padding: 0 8px; font-size: 14px; }
  .hl-head-live { padding: 4px 10px; font-size: 12px; }
  .hl-row { grid-template-columns: 46px 1fr 56px; }
  .hl-row-lg, .hl-row-st { display: none; }
  .hl-row-vs { grid-template-columns: 1fr 52px 1fr; font-size: 13px; }
  .hl-row-vs .hl-tm { display: none; }
  .hl-vs { padding: 20px 8px; }
  .hl-vs-m { padding: 0 8px; }
  .hl-vs-m strong { font-size: 36px; }
  .hl-tm-xl { width: 60px; height: 60px; }
  .hl-vs-t b { font-size: 15px; }
  .hl-float { display: none; }
}

/* 系统设置了“减少动态效果”时关闭动画 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: reduce) {
  .hl-notice-win p { padding-left: 0; transform: none !important; animation: none !important; }
}

/* 比分列表（内置 score-row 等）配色 */
:root { --sc-accent: #ff4d4f; --sc-on: #fff; --sc-live: #e8382f; --sc-radius: 10px; }

/* 背景图（原来写在模板 style 属性里） */
.bgi-court { background-image: url(/static/hl-res/img/court.jpg) !important; }
.bgi-stadium { background-image: url(/static/hl-res/img/stadium.jpg) !important; }
.bgi-turf { background-image: url(/static/hl-res/img/turf.jpg) !important; }

/* 手机端：缩小字号和间距，队名放不下时换行，尽量完整显示 */
@media (max-width: 480px) {
  .hl-row { grid-template-columns: 40px minmax(0, 1fr) 50px; gap: 6px; padding: 8px 4px; }
  .hl-row-vs { grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); gap: 4px; font-size: 13px; }
  .hl-row-vs > span { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; line-height: 1.3; }
}
@media (max-width: 480px) {
  .hl-row-vs { font-size: 12.5px; }
  .hl-sc { padding: 10px 8px; }
  .hl-sc div span { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; line-height: 1.3; }
}

/* 手机端：头部站名和导航不折行（之前会被挤成竖排），放不下时导航横向滚动 */
@media (max-width: 480px) {
  .hl-head-in { gap: 8px; flex-wrap: nowrap; }
  .hl-logo, .hl-logo b { white-space: nowrap; flex: none; font-size: 16px; }
  .hl-nav { flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; }
  .hl-nav::-webkit-scrollbar { display: none; }
  .hl-nav a { flex: none; white-space: nowrap; padding-left: 8px; padding-right: 8px; font-size: 14px; }
  .hl-head-live { flex: none; white-space: nowrap; font-size: 11px; }
}
@media (max-width: 400px) {
  .hl-head-live { display: none; }
}
@media (max-width: 480px) {
  .hl-sc div { gap: 2px; }
  .hl-sc div span { font-size: 11px; }
  .hl-sc div b { font-size: 14px; }
}

/* 热门比赛标记（后台设为热门或属于热门联赛），手机上只显示火苗 */
.hl-fire { display: inline-flex; align-items: center; gap: 1px; margin-left: 4px; padding: 0 6px 0 4px; border-radius: 9px; background: linear-gradient(90deg, #ff8a1f, #ff3b30); color: #fff; font: normal 700 11px/17px -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; letter-spacing: 0; vertical-align: middle; white-space: nowrap; text-transform: none; animation: hl-fire-glow 1.8s ease-in-out infinite; }
.hl-fire::before { content: "🔥"; font-size: 11px; line-height: 1; }
@keyframes hl-fire-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 80, 30, .35); } 50% { box-shadow: 0 0 0 4px rgba(255, 80, 30, 0); } }
@media (max-width: 480px) {
  .hl-fire { padding: 0 3px; font-size: 0; gap: 0; margin-left: 2px; }
  .hl-fire::before { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .hl-fire { animation: none; } }

/* 热门比赛：火苗跳动；整行左侧一抹淡淡的火光缓慢明暗，叠在原有背景上，不改变原样式 */
.hl-fire::before { display: inline-block; transform-origin: 50% 85%; animation: hl-flicker 1.3s ease-in-out infinite; }
@keyframes hl-flicker {
  0%, 100% { transform: scale(1) rotate(-4deg); filter: brightness(1); }
  25% { transform: scale(1.1, 1.2) rotate(3deg); filter: brightness(1.2); }
  50% { transform: scale(.95, 1.04) rotate(-2deg); filter: brightness(.95); }
  75% { transform: scale(1.06, 1.14) rotate(4deg); filter: brightness(1.15); }
}
.hl-hotrow { animation: hl-ember 3.2s ease-in-out infinite; }
@keyframes hl-ember {
  0%, 100% { box-shadow: inset 3px 0 0 rgba(255, 98, 40, .7), inset 90px 0 70px -52px rgba(255, 140, 50, .16); }
  50% { box-shadow: inset 3px 0 0 rgba(255, 64, 30, .9), inset 130px 0 90px -60px rgba(255, 112, 40, .26); }
}
tr.hl-hotrow { animation: none; }
tr.hl-hotrow > td { animation: hl-ember-td 3.2s ease-in-out infinite; }
tr.hl-hotrow > td:first-child { box-shadow: inset 3px 0 0 rgba(255, 80, 30, .8); }
@keyframes hl-ember-td { 0%, 100% { background-color: rgba(255, 150, 60, .05); } 50% { background-color: rgba(255, 120, 40, .11); } }
@media (prefers-reduced-motion: reduce) {
  .hl-fire::before, .hl-hotrow, tr.hl-hotrow > td { animation: none; }
  .hl-hotrow { box-shadow: inset 3px 0 0 rgba(255, 98, 40, .7), inset 90px 0 70px -52px rgba(255, 140, 50, .16); }
}

/* 播放页球队名链接到球队搜索页 */
.hl-tlink { color: inherit; text-decoration: none; border-bottom: 1px dashed currentColor; }
.hl-tlink:hover { opacity: .8; border-bottom-style: solid; }
.hl-hot-t { margin-right: 4px; color: var(--hl-mute); font-size: 12px; font-variant-numeric: tabular-nums; }

/* 首页：日期选择 + 热门直播 + 赛事直播 */
.hl-center > .hd-dates { margin: 0 0 16px; }
.hl-center { min-width: 0; }
.hl-h .hd-tabs { margin-left: auto; font-weight: 400; }
[data-hd-scope] .hd-day { padding-left: 4px; }
.hl-row-lg .hd-lg:hover { color: var(--hl-r); }
.hl-md { white-space: nowrap; }
.hl-lg-m { display: none; }
@media (max-width: 800px) {
  .hl-lg-m { display: block; max-width: 100%; overflow: hidden; color: var(--hl-r); font-size: 11px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
  .hl-row-time { font-size: 13px; }
}
/* 导航 5 项：手机上导航单独一行，一屏放下 */
@media (max-width: 800px) {
  .hl-head-in { flex-wrap: wrap; height: auto; row-gap: 4px; padding-top: 8px; }
  .hl-nav { order: 3; flex: 1 0 100%; width: 100%; height: 40px; overflow: visible; }
  .hl-nav a { flex: 1 0 auto; justify-content: center; padding: 0 4px; font-size: 14px; }
  .hl-nav a::after { left: 8px; right: 8px; }
}

/* 热门标记：本模板专属样式（🔥 火爆），覆盖上面通用的 🔥 热门；手机上只显示图标 */
.hl-fire { --hl-hot-lb: 11px; gap: 2px; font-size: 0; background: linear-gradient(90deg,#ff4d4f,#ff9c6e); color: #fff; border: 0; border-radius: 3px 9px 9px 3px; animation: hl-hot-glow 1.8s ease-in-out infinite; }
.hl-fire::before { content: "🔥"; display: inline-block; transform-origin: 50% 50%; animation: hl-hot-ic 1.3s ease-in-out infinite; }
.hl-fire::after { content: "火爆"; font-size: var(--hl-hot-lb); line-height: 1; }
@keyframes hl-hot-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,77,79, .35); } 50% { box-shadow: 0 0 0 4px rgba(255,77,79, 0); } }
@keyframes hl-hot-ic { 0%, 100% { transform: scale(1) rotate(-4deg); } 25% { transform: scale(1.1, 1.2) rotate(3deg); } 50% { transform: scale(.95, 1.04) rotate(-2deg); } 75% { transform: scale(1.06, 1.14) rotate(4deg); } }
@media (max-width: 480px) { .hl-fire { --hl-hot-lb: 0; gap: 0; } }
@media (prefers-reduced-motion: reduce) { .hl-fire, .hl-fire::before { animation: none; } }
