/* 金杯 · 体育媒体风：白底、藏青 + 金色、图片横幅、动效 */
:root {
  --navy: #0b1f44;
  --navy-2: #163a7a;
  --blue: #1f6fff;
  --gold: #ffb400;
  --gold-2: #ff8a00;
  --ink: #0f172a;
  --text: #475569;
  --muted: #94a3b8;
  --line: #e5e9f0;
  --soft: #f5f7fb;
  --live: #ef3b3b;
  --num: "Bahnschrift", "DIN Alternate", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--text); font: 14px/1.65 -apple-system, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
[hidden], .jb-hide { display: none !important; }
h1, h2 { color: var(--ink); }
.jb-w { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* 进入视口动效（fx.js 添加 .in） */
.jb-rv { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.jb-rv.in { opacity: 1; transform: none; }

/* 页头 */
.jb-hd { position: sticky; top: 0; z-index: 50; background: var(--navy); box-shadow: 0 2px 0 var(--gold); }
.jb-hd-in { display: flex; align-items: center; gap: 36px; height: 64px; }
.jb-brand { display: flex; align-items: center; gap: 10px; }
.jb-brand b { color: #fff; font-size: 20px; font-weight: 800; letter-spacing: 1px; font-style: italic; }
.jb-brand:hover { color: #fff; }
.jb-nav { display: flex; height: 100%; flex: 1; }
.jb-nav a { position: relative; display: flex; align-items: center; padding: 0 20px; color: #b8c4da; font-size: 15px; font-weight: 600; transition: color .2s; }
.jb-nav a::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 0; height: 3px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.jb-nav a:hover { color: #fff; }
.jb-nav a:hover::after, .jb-nav a.on::after { transform: scaleX(1); }
.jb-nav a.on { color: #fff; }
.jb-live { display: flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 20px; background: rgba(255,255,255,.08); color: #fff; font: 700 13px/1 var(--num); letter-spacing: 1px; }
.jb-live:hover { color: #fff; background: rgba(255,255,255,.14); }
.jb-live i, .jb-row.is-live .jb-row-lg i { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(239,59,59,.6); animation: jbpulse 1.6s infinite; }
.jb-live b { color: var(--gold); }
@keyframes jbpulse { 0% { box-shadow: 0 0 0 0 rgba(239,59,59,.6); } 70% { box-shadow: 0 0 0 8px rgba(239,59,59,0); } 100% { box-shadow: 0 0 0 0 rgba(239,59,59,0); } }

/* 图片横幅 */
.jb-hero { position: relative; overflow: hidden; color: #fff; background: var(--navy); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), 0 100%); }
.jb-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; animation: jbzoom 24s ease-in-out infinite alternate; }
.jb-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(11,31,68,.95) 0%, rgba(11,31,68,.78) 45%, rgba(11,31,68,.25) 100%); }
@keyframes jbzoom { from { transform: scale(1); } to { transform: scale(1.1); } }
.jb-hero-in { position: relative; z-index: 2; padding-top: 56px; padding-bottom: 84px; }
.jb-kick { margin: 0 0 8px; color: var(--gold); font: 700 13px/1 var(--num); letter-spacing: 4px; animation: jbin .6s both; }
.jb-hero h1 { margin: 0; color: #fff; font-size: 44px; font-weight: 900; font-style: italic; letter-spacing: 2px; line-height: 1.2; animation: jbin .6s .1s both; }
.jb-hero-sub { margin: 10px 0 0; color: #cbd5e6; font-size: 15px; animation: jbin .6s .2s both; }
.jb-hero-sub b { color: var(--gold); font: 700 18px/1 var(--num); }
@keyframes jbin { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.jb-stats { display: flex; gap: 14px; margin-top: 28px; animation: jbin .6s .3s both; }
.jb-stats div { min-width: 120px; padding: 12px 18px; border-left: 3px solid var(--gold); background: rgba(255,255,255,.08); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.jb-stats b { display: block; color: #fff; font: 700 30px/1.1 var(--num); }
.jb-stats span { font-size: 12px; color: #cbd5e6; }
.jb-stats-live { border-left-color: var(--live) !important; }
.jb-stats-live b { color: #ff7b7b; }
.jb-hero-go { display: flex; gap: 12px; margin: 26px 0 0; animation: jbin .6s .4s both; }
.jb-hero-s .jb-hero-in { padding-top: 40px; padding-bottom: 64px; }
.jb-hero-s h1 { font-size: 34px; }
.jb-crumb { margin: 0 0 10px; font-size: 12px; color: #9fb0cc; }
.jb-crumb a:hover { color: var(--gold); }

/* 滚动比分条 */
.jb-tick { display: flex; align-items: center; max-width: 1180px; margin: -18px auto 0; position: relative; z-index: 3; background: #fff; border-radius: 4px; box-shadow: 0 10px 30px -12px rgba(11,31,68,.35); overflow: hidden; }
.jb-tick-t { flex: none; align-self: stretch; display: flex; align-items: center; padding: 0 18px; background: var(--gold); color: var(--navy); font-weight: 800; font-style: italic; }
.jb-tick-win { flex: 1; overflow: hidden; }
.jb-tick-run { display: flex; width: max-content; animation: jbrun 50s linear infinite; }
.jb-tick:hover .jb-tick-run { animation-play-state: paused; }
.jb-tick-run > span { display: flex; }
.jb-tick-i { padding: 12px 22px; border-right: 1px solid var(--line); white-space: nowrap; color: var(--ink); font-size: 13px; }
.jb-tick-i em { margin-right: 8px; font-style: normal; color: var(--muted); font-family: var(--num); }
.jb-tick-i b { padding: 0 6px; color: var(--navy-2); font-family: var(--num); }
.jb-tick-i[data-jbst="1"] b { color: var(--live); }
@keyframes jbrun { to { transform: translateX(-50%); } }

.jb-main { padding-top: 36px; padding-bottom: 24px; min-height: 50vh; }

/* 焦点赛事 */
.jb-label { margin: 0; color: var(--gold-2); font-size: 12px; font-weight: 800; letter-spacing: 2px; }
.jb-final { position: relative; padding: 26px 30px 24px; margin-bottom: 40px; border-radius: 6px; background: linear-gradient(135deg, #fff 0%, #fff 60%, #fff7e0 100%); border: 1px solid var(--line); box-shadow: 0 12px 32px -18px rgba(11,31,68,.35); text-align: center; overflow: hidden; }
.jb-final::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(var(--gold), var(--gold-2)); }
.jb-final-vs { display: grid; grid-template-columns: 1fr 260px 1fr; align-items: center; margin: 14px 0 6px; }
.jb-final-vs > div:not(.jb-final-mid) { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.jb-final-vs b { font-size: 19px; font-weight: 800; color: var(--ink); max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.jb-final-mid { display: flex; flex-direction: column; gap: 4px; }
.jb-final-mid strong { font: 700 46px/1.05 var(--num); color: var(--navy); }
.jb-final-mid span { font-size: 13px; }
.jb-final-mid span.live { color: var(--live); font-weight: 700; }
.jb-cd em { font-style: normal; font: 700 16px/1 var(--num); color: var(--gold-2); }
.jb-final-mid time { font-size: 12px; color: var(--muted); }
.jb-final-go { margin: 16px 0 0; }

/* 队徽 */
.jb-emb { display: inline-flex; flex: none; width: 22px; height: 22px; align-items: center; justify-content: center; font-style: normal; }
.jb-emb img { width: 100%; height: 100%; object-fit: contain; }
.jb-ini { display: inline-flex; width: 100%; height: 100%; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; font-size: 11px; font-weight: 700; }
.jb-emb-xl { width: 64px; height: 64px; transition: transform .3s; }
.jb-final:hover .jb-emb-xl { transform: scale(1.06); }
.jb-emb-xl .jb-ini { font-size: 24px; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--gold); }

/* 栏目 */
.jb-sec { margin-bottom: 40px; }
.jb-sec-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.jb-title { position: relative; margin: 0; padding-left: 18px; font-size: 22px; font-weight: 900; font-style: italic; }
.jb-title::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 7px; background: var(--blue); transform: skewX(-15deg); }
.jb-sec-bb .jb-title::before { background: var(--gold-2); }
.jb-sec-h a { font-size: 13px; font-weight: 600; color: var(--blue); }
.jb-none { margin: 0; padding: 36px; text-align: center; color: var(--muted); background: var(--soft); border-radius: 6px; }

/* 联赛筛选 */
.jb-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.jb-chip { padding: 5px 14px; border: 1px solid var(--line); border-radius: 20px; background: #fff; color: var(--text); font: inherit; font-size: 13px; cursor: pointer; transition: all .2s; }
.jb-chip:hover { border-color: var(--blue); color: var(--blue); }
.jb-chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }

/* 赛程表 */
.jb-table { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.jb-thead, .jb-row { display: grid; grid-template-columns: 76px 140px minmax(0, 1fr) 84px minmax(0, 1fr) 72px 96px; align-items: center; gap: 10px; padding: 0 16px; }
.jb-thead { height: 40px; background: var(--navy); font-size: 12px; color: #b8c4da; text-align: center; }
.jb-row { position: relative; min-height: 58px; border-top: 1px solid var(--line); text-align: center; transition: background .2s, opacity .5s, transform .5s; }
.jb-thead + .jb-row { border-top: 0; }
.jb-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold); transform: scaleY(0); transition: transform .2s; }
.jb-row:hover { background: #f8faff; color: inherit; }
.jb-row:hover::before { transform: scaleY(1); }
.jb-row.is-live { background: #fff8f8; }
.jb-row.is-live::before { background: var(--live); transform: scaleY(1); }
.jb-row-time { display: flex; flex-direction: column; line-height: 1.25; font-size: 12px; color: var(--muted); }
.jb-row-time b { font: 700 17px/1.2 var(--num); color: var(--ink); }
.is-live .jb-row-time b { color: var(--live); }
.jb-row-lg { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--text); overflow: hidden; white-space: nowrap; }
.jb-row-lg i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.jb-row-h, .jb-row-a { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--ink); font-weight: 700; overflow: hidden; white-space: nowrap; }
.jb-row-h { justify-content: flex-end; }
.jb-row-a { justify-content: flex-start; }
.jb-thead .jb-row-h, .jb-thead .jb-row-a { color: #b8c4da; font-weight: 400; }
.jb-row-sc { display: inline-block; justify-self: center; min-width: 64px; padding: 4px 8px; border-radius: 4px; background: var(--soft); font: 700 17px/1 var(--num); color: var(--navy); }
.is-live .jb-row-sc { background: var(--live); color: #fff; }
.jb-row-st { font-style: normal; font-size: 12px; color: var(--muted); }
.jb-row-st.live, .jb-dl dd.live, .jb-rel i.live { color: var(--live); font-weight: 700; }
.jb-pop { animation: jbpop 1.8s; }
@keyframes jbpop { 0% { transform: scale(1.35); background: var(--gold); color: var(--navy); } 60% { transform: scale(1); } }

/* 按钮 */
.jb-btn { display: inline-block; padding: 10px 26px; border: 2px solid var(--navy); border-radius: 4px; background: #fff; color: var(--navy); font-size: 14px; font-weight: 700; text-align: center; cursor: pointer; transition: transform .15s, background .2s, color .2s, box-shadow .2s; }
.jb-btn:hover { background: var(--navy); color: #fff; transform: translateY(-1px); }
.jb-btn-fill { background: var(--navy); color: #fff; }
.jb-btn-fill:hover { background: var(--blue); border-color: var(--blue); box-shadow: 0 8px 20px -8px var(--blue); }
.jb-btn-gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.jb-btn-gold:hover { background: #ffc633; border-color: #ffc633; color: var(--navy); box-shadow: 0 8px 22px -8px var(--gold); }
.jb-btn-ghost { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.jb-btn-ghost:hover { background: #fff; border-color: #fff; color: var(--navy); }
.jb-btn-sm { padding: 4px 0; width: 84px; border-width: 1px; font-size: 12px; }
.jb-row .jb-btn-fill { background: var(--live); border-color: var(--live); }
.jb-btn-dim { border-color: var(--line); color: var(--muted); font-weight: 400; }
.jb-row:hover .jb-btn:not(.jb-btn-dim):not(.jb-btn-fill) { background: var(--navy); color: #fff; }
.jb-row:hover .jb-btn-dim { background: #fff; color: var(--text); }

/* 图片推荐位 */
.jb-promo { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 120px; margin-bottom: 40px; padding: 24px 32px; border-radius: 6px; overflow: hidden; background-size: cover; background-position: center 30%; color: #fff; }
.jb-promo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,31,68,.95), rgba(11,31,68,.3)); transition: opacity .3s; }
.jb-promo > * { position: relative; }
.jb-promo span { display: flex; flex-direction: column; color: #cbd5e6; }
.jb-promo b { color: #fff; font-size: 22px; font-weight: 900; font-style: italic; }
.jb-promo i { padding: 8px 18px; border-radius: 4px; background: var(--gold); color: var(--navy); font-style: normal; font-weight: 800; transition: transform .2s; }
.jb-promo:hover { color: #fff; }
.jb-promo:hover i { transform: translateX(4px); }
.jb-promo-s { flex-direction: column; align-items: flex-start; min-height: 150px; padding: 20px; margin: 0; }
.jb-promo-s b { font-size: 18px; }

/* 列表 */
.jb-day { margin-bottom: 28px; }
.jb-day-t { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; font-size: 17px; font-weight: 800; }
.jb-day-t span { font-size: 12px; font-weight: 400; color: var(--muted); }
.jb-pages { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.jb-pages a, .jb-pages b { min-width: 38px; padding: 6px 12px; text-align: center; border: 1px solid var(--line); border-radius: 4px; font-family: var(--num); }
.jb-pages a:hover { border-color: var(--navy); color: var(--navy); }
.jb-pages b { background: var(--navy); border-color: var(--navy); color: #fff; }

/* 详情横幅记分牌 */
.jb-hero-d .jb-hero-in { padding-top: 26px; padding-bottom: 70px; }
.jb-hero-d::before { background: linear-gradient(180deg, rgba(11,31,68,.82), rgba(11,31,68,.94)); }
.jb-board { display: grid; grid-template-columns: 1fr 300px 1fr; align-items: center; margin-top: 12px; text-align: center; animation: jbup .6s both; }
@keyframes jbup { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.jb-board-t { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.jb-board-t b { color: #fff; font-size: 22px; font-weight: 800; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.jb-board-t small { color: #9fb0cc; font-size: 12px; }
.jb-board-mid { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.jb-board-lg { padding: 2px 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 12px; font-size: 12px; color: #cbd5e6; }
.jb-board-mid strong { font: 700 56px/1 var(--num); color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,.3); }
.jb-board-st { padding: 2px 12px; border-radius: 3px; background: rgba(255,255,255,.12); font-size: 13px; }
.jb-board-st.live { background: var(--live); color: #fff; animation: jbblink 2s infinite; }
@keyframes jbblink { 50% { opacity: .65; } }
.jb-board-mid time { font-size: 12px; color: #9fb0cc; }

/* 详情 */
.jb-room { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.jb-stage h1 { margin: 0 0 14px; font-size: 20px; font-weight: 800; }
.jb-video { position: relative; aspect-ratio: 16/9; background: #050b18; border-radius: 6px 6px 0 0; overflow: hidden; }
.jb-video video, .jb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.jb-video-tip { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; color: #8b97ab; }
.jb-lines { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 16px; background: var(--navy); border-radius: 0 0 6px 6px; }
.jb-lines-t { margin-right: 6px; font-size: 13px; color: #9fb0cc; }
.jb-line { padding: 6px 16px; border: 1px solid rgba(255,255,255,.25); border-radius: 4px; background: transparent; color: #fff; font: inherit; cursor: pointer; transition: all .2s; }
.jb-line:hover { border-color: var(--gold); color: var(--gold); }
.jb-line.cur { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 700; }
.jb-line-ext::after { content: " ↗"; opacity: .6; }
.jb-off { padding: 44px 20px; text-align: center; background: var(--soft); border-radius: 6px; }
.jb-off p { margin: 0 0 12px; }
.jb-off-cd span { font: 700 22px/1 var(--num); color: var(--gold-2); }

.jb-side { display: flex; flex-direction: column; gap: 20px; }
.jb-card { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.jb-card h2 { margin: 0; padding: 12px 16px; font-size: 15px; font-weight: 800; border-bottom: 1px solid var(--line); border-left: 4px solid var(--gold); }
.jb-dl { margin: 0; padding: 4px 16px; }
.jb-dl div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.jb-dl div:last-child { border-bottom: 0; }
.jb-dl dt { color: var(--muted); }
.jb-dl dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
.jb-rel { list-style: none; margin: 0; padding: 0; }
.jb-rel a { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding: 10px 16px; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s; }
.jb-rel li:last-child a { border-bottom: 0; }
.jb-rel a:hover { background: #f8faff; padding-left: 20px; }
.jb-rel time { grid-column: 1 / -1; font-size: 12px; color: var(--muted); font-family: var(--num); }
.jb-rel span { color: var(--ink); font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.jb-rel i { font-style: normal; font-size: 12px; color: var(--muted); }

.jb-404 { padding: 10px 0 40px; }
.jb-404-go { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 0; }

/* 页脚 */
.jb-ft { margin-top: 40px; background: var(--navy); color: #9fb0cc; font-size: 13px; border-top: 4px solid var(--gold); }
.jb-ft-in { display: flex; justify-content: space-between; gap: 40px; padding-top: 32px; padding-bottom: 24px; }
.jb-ft-in > div { max-width: 560px; }
.jb-ft-name { color: #fff; font-size: 18px; font-weight: 800; font-style: italic; }
.jb-ft-in p { margin: 12px 0 0; line-height: 1.8; }
.jb-ft-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; align-content: flex-start; }
.jb-ft-nav a { color: #dfe5ee; }
.jb-ft-nav a:hover { color: var(--gold); }
.jb-copy { margin: 0; padding: 14px 24px; border-top: 1px solid rgba(255,255,255,.08); text-align: center; font-size: 12px; }

.jb-side-top { position: fixed; right: 20px; bottom: 24px; z-index: 40; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 800; box-shadow: 0 8px 20px -8px rgba(0,0,0,.4); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s, transform .25s; }
.jb-scrolled .jb-side-top { opacity: 1; transform: none; pointer-events: auto; }
.jb-side-top:hover { color: var(--navy); background: #ffc633; }

@media (max-width: 900px) {
  .jb-room { grid-template-columns: 1fr; }
  .jb-thead, .jb-row { grid-template-columns: 52px minmax(0, 1fr) 64px minmax(0, 1fr) 72px; gap: 6px; padding: 0 10px; }
  .jb-row-lg, .jb-row-st, .jb-thead span:nth-child(2), .jb-thead span:nth-child(6) { display: none; }
  .jb-btn-sm { width: 68px; }
  .jb-tick { margin: -18px 14px 0; }
}
@media (max-width: 640px) {
  .jb-w { padding: 0 14px; }
  .jb-hd-in { gap: 10px; height: 56px; }
  .jb-brand b { font-size: 16px; }
  .jb-brand img { width: 28px; height: 28px; }
  .jb-nav a { padding: 0 8px; font-size: 13px; }
  .jb-nav a::after { left: 8px; right: 8px; }
  .jb-live { padding: 4px 8px; font-size: 11px; }
  .jb-hero-in { padding-top: 34px; padding-bottom: 64px; }
  .jb-hero h1 { font-size: 30px; }
  .jb-hero-s h1 { font-size: 24px; }
  .jb-stats { gap: 8px; }
  .jb-stats div { min-width: 0; flex: 1; padding: 8px 10px; }
  .jb-stats b { font-size: 22px; }
  .jb-tick-t { padding: 0 10px; font-size: 12px; }
  .jb-final { padding: 20px 10px; }
  .jb-final-vs, .jb-board { grid-template-columns: 1fr 120px 1fr; }
  .jb-final-vs b, .jb-board-t b { font-size: 15px; }
  .jb-final-mid strong { font-size: 30px; }
  .jb-board-mid strong { font-size: 34px; }
  .jb-emb-xl { width: 46px; height: 46px; }
  .jb-thead, .jb-row { grid-template-columns: 44px minmax(0, 1fr) 54px minmax(0, 1fr); }
  .jb-thead span:nth-child(7), .jb-row .jb-btn { display: none; }
  .jb-row-h .jb-emb, .jb-row-a .jb-emb { display: none; }
  .jb-row-sc { min-width: 0; font-size: 15px; }
  .jb-promo { flex-direction: column; align-items: flex-start; padding: 20px; }
  .jb-ft-in { flex-direction: column; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .jb-rv { opacity: 1; transform: none; }
}

/* 比分列表（内置 score-row 等）配色 */
:root { --sc-accent: #0b1f44; --sc-on: #ffb400; --sc-live: #ef3b3b; --sc-radius: 8px; }

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

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

/* 手机端：长队名不截断，换行完整显示 */
@media (max-width: 480px) {
  .jb-final-vs b, .jb-row-h, .jb-row-a, .jb-board-t b { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; line-height: 1.3; }
}

/* 热门比赛标记（后台设为热门或属于热门联赛），手机上只显示火苗 */
.jb-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: jb-fire-glow 1.8s ease-in-out infinite; }
.jb-fire::before { content: "🔥"; font-size: 11px; line-height: 1; }
@keyframes jb-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) {
  .jb-fire { padding: 0 3px; font-size: 0; gap: 0; margin-left: 2px; }
  .jb-fire::before { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .jb-fire { animation: none; } }

/* 热门比赛：火苗跳动；整行左侧一抹淡淡的火光缓慢明暗，叠在原有背景上，不改变原样式 */
.jb-fire::before { display: inline-block; transform-origin: 50% 85%; animation: jb-flicker 1.3s ease-in-out infinite; }
@keyframes jb-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); }
}
.jb-hotrow { animation: jb-ember 3.2s ease-in-out infinite; }
@keyframes jb-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.jb-hotrow { animation: none; }
tr.jb-hotrow > td { animation: jb-ember-td 3.2s ease-in-out infinite; }
tr.jb-hotrow > td:first-child { box-shadow: inset 3px 0 0 rgba(255, 80, 30, .8); }
@keyframes jb-ember-td { 0%, 100% { background-color: rgba(255, 150, 60, .05); } 50% { background-color: rgba(255, 120, 40, .11); } }
@media (prefers-reduced-motion: reduce) {
  .jb-fire::before, .jb-hotrow, tr.jb-hotrow > td { animation: none; }
  .jb-hotrow { box-shadow: inset 3px 0 0 rgba(255, 98, 40, .7), inset 90px 0 70px -52px rgba(255, 140, 50, .16); }
}

/* 播放页球队名链接到球队搜索页 */
.jb-tlink { color: inherit; text-decoration: none; border-bottom: 1px dashed currentColor; }
.jb-tlink:hover { opacity: .8; border-bottom-style: solid; }

/* 首页：日期选择 + 热门直播 + 赛事直播 */
.jb-sec-dates .hd-dates { margin: 0; }
.jb-sec-n { font-size: 13px; color: var(--muted); }
.jb-row-lg .hd-lg:hover { color: var(--blue); }
.jb-lg-m { display: none; }
@media (max-width: 900px) {
  .jb-lg-m { display: block; max-width: 100%; overflow: hidden; color: var(--blue); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
}
/* 导航 5 项：手机上导航单独一行，一屏放下 */
@media (max-width: 768px) {
  .jb-hd-in { flex-wrap: wrap; height: auto; row-gap: 2px; padding-top: 8px; }
  .jb-nav { order: 3; flex: 1 0 100%; width: 100%; height: 40px; overflow: visible; }
  .jb-nav a { flex: 1 0 auto; justify-content: center; padding: 0 4px; font-size: 14px; }
  .jb-nav a::after { left: 6px; right: 6px; }
  .jb-live { margin-left: auto; }
}

/* 热门标记：本模板专属样式（🏆 焦点），覆盖上面通用的 🔥 热门；手机上只显示图标 */
.jb-fire { --jb-hot-lb: 11px; gap: 2px; font-size: 0; background: linear-gradient(90deg,#f5b300,#ffe066); color: #14234b; border: 0; border-radius: 9px; animation: jb-hot-glow 1.8s ease-in-out infinite; }
.jb-fire::before { content: "🏆"; display: inline-block; transform-origin: 50% 50%; animation: jb-hot-ic 1s ease-in-out infinite; }
.jb-fire::after { content: "焦点"; font-size: var(--jb-hot-lb); line-height: 1; }
@keyframes jb-hot-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(245,179,0, .35); } 50% { box-shadow: 0 0 0 4px rgba(245,179,0, 0); } }
@keyframes jb-hot-ic { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@media (max-width: 480px) { .jb-fire { --jb-hot-lb: 0; gap: 0; } }
@media (prefers-reduced-motion: reduce) { .jb-fire, .jb-fire::before { animation: none; } }
