/* 绿茵：草地绿 + 白，比分滚动条 + 球场横幅 + 记分牌赛程 */
:root {
  --ly-g: #12b76a;
  --ly-g2: #32d583;
  --ly-deep: #05603a;
  --ly-mint: #ecfdf3;
  --ly-mint2: #d1fadf;
  --ly-bg: #f4faf6;
  --ly-ink: #10291d;
  --ly-sub: #4b6457;
  --ly-mute: #8aa396;
  --ly-line: #dcefe3;
  --ly-red: #f04438;
  --ly-lime: #b7f36b;
  --ly-shadow: 0 12px 32px rgba(5, 96, 58, .1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ly-bg); color: var(--ly-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 { margin: 0; }
img { vertical-align: middle; }
button { font: inherit; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }
.ly-hide { display: none !important; }
.ly-box { width: 1240px; max-width: 100%; margin: 0 auto; padding: 0 16px; }
.ly-body { padding-top: 26px; padding-bottom: 40px; min-height: 50vh; }
.ly-rv { opacity: 0; transform: translateX(-14px); transition: opacity .5s, transform .5s; }
.ly-rv.in { opacity: 1; transform: none; }

/* ---------- 头部 ---------- */
.ly-head { position: sticky; top: 0; z-index: 60; background: #fff; box-shadow: 0 1px 0 var(--ly-line); transition: box-shadow .3s; }
.ly-scrolled .ly-head { box-shadow: 0 8px 24px rgba(5, 96, 58, .1); }
.ly-head-in { display: flex; align-items: center; height: 70px; gap: 36px; }
.ly-logo { display: flex; align-items: center; gap: 10px; }
.ly-logo-mark svg { display: block; transition: transform .6s cubic-bezier(.3, 1.6, .5, 1); }
.ly-logo:hover .ly-logo-mark svg { transform: rotate(-20deg) scale(1.08); }
.ly-logo-t { font-size: 22px; font-weight: 900; color: var(--ly-deep); line-height: 1.1; }
.ly-logo-t small { display: block; font-size: 10px; letter-spacing: 3px; color: var(--ly-g); font-weight: 700; }
.ly-logo-sm .ly-logo-t { font-size: 20px; }
.ly-menu { display: flex; gap: 4px; height: 100%; }
.ly-menu a { position: relative; display: flex; align-items: center; gap: 6px; padding: 0 20px; font-size: 16px; font-weight: 600; color: var(--ly-sub); transition: color .2s; }
.ly-menu a::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 0; height: 4px; border-radius: 4px 4px 0 0; background: var(--ly-g); transform: scaleX(0); transition: transform .3s; }
.ly-menu a:hover { color: var(--ly-deep); }
.ly-menu a:hover::after, .ly-menu a.cur::after { transform: scaleX(1); }
.ly-menu a.cur { color: var(--ly-deep); }
.ly-menu-ic { font-style: normal; font-size: 15px; transition: transform .5s; }
.ly-menu a:hover .ly-menu-ic { transform: rotate(360deg); }
.ly-head-r { margin-left: auto; }
.ly-live-n { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 22px; background: var(--ly-mint); color: var(--ly-deep); font-weight: 600; }
.ly-live-n > b { color: var(--ly-red); font-size: 17px; }
.ly-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.ly-eq b { width: 3px; border-radius: 2px; background: var(--ly-g); animation: ly-eq 1s ease-in-out infinite; }
.ly-eq b:nth-child(2) { animation-delay: .15s; } .ly-eq b:nth-child(3) { animation-delay: .3s; } .ly-eq b:nth-child(4) { animation-delay: .45s; }
@keyframes ly-eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }

/* ---------- 比分滚动条 ---------- */
.ly-ticker { display: flex; align-items: center; height: 42px; background: var(--ly-deep); color: #fff; overflow: hidden; }
.ly-ticker-lb { flex: none; height: 100%; display: flex; align-items: center; padding: 0 18px; background: var(--ly-lime); color: var(--ly-deep); font-weight: 900; letter-spacing: 1px; clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); padding-right: 28px; }
.ly-ticker-win { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ly-ticker-run { display: flex; width: max-content; animation: ly-marquee 60s linear infinite; }
.ly-ticker:hover .ly-ticker-run { animation-play-state: paused; }
@keyframes ly-marquee { to { transform: translateX(-50%); } }
.ly-ticker-run a { display: flex; align-items: center; gap: 6px; padding: 0 22px; font-size: 13px; white-space: nowrap; border-right: 1px solid rgba(255, 255, 255, .15); }
.ly-ticker-run a:hover { color: var(--ly-lime); }
.ly-ticker-run em { font-style: normal; padding: 0 6px; border-radius: 4px; background: rgba(255, 255, 255, .14); font-size: 11px; }
.ly-ticker-run b { color: var(--ly-lime); font-family: "DIN Alternate", "Bahnschrift", sans-serif; }
.ly-ticker-run i { font-style: normal; font-size: 11px; opacity: .7; }
.ly-ticker-run a[data-lyst="1"] i { color: #ff8a80; opacity: 1; }

/* ---------- 首页横幅 ---------- */
.ly-hero { position: relative; background-size: cover; background-position: center 65%; overflow: hidden; }
.ly-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(244, 250, 246, .97) 0%, rgba(244, 250, 246, .85) 38%, rgba(244, 250, 246, .25) 70%, rgba(244, 250, 246, .5) 100%), linear-gradient(0deg, var(--ly-bg) 0%, transparent 30%); }
.ly-hero-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 380px; padding-top: 30px; padding-bottom: 50px; }
.ly-kicker { display: inline-block; padding: 4px 14px; border-radius: 20px; background: #fff; color: var(--ly-g); font-weight: 700; font-size: 13px; box-shadow: 0 4px 12px rgba(5, 96, 58, .08); }
.ly-hero h1 { margin: 16px 0 18px; font-size: 52px; line-height: 1.1; font-weight: 900; color: var(--ly-deep); letter-spacing: 2px; }
.ly-hero h1 span { display: block; margin-top: 10px; font-size: 20px; font-weight: 600; letter-spacing: 1px; color: var(--ly-sub); }
.ly-hero-stat { display: flex; align-items: center; gap: 12px; }
.ly-hero-stat b { font-size: 60px; line-height: 1; font-weight: 900; color: var(--ly-g); font-family: "DIN Alternate", "Bahnschrift", "Arial Black", sans-serif; text-shadow: 0 6px 18px rgba(18, 183, 106, .3); }
.ly-hero-stat span { color: var(--ly-sub); font-weight: 600; line-height: 1.4; }
.ly-hero-go { display: flex; gap: 12px; margin-top: 22px; }
.ly-hero-card { width: 420px; flex: none; padding: 22px 24px; border-radius: 24px; background: rgba(255, 255, 255, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 50px rgba(5, 96, 58, .18); border: 1px solid rgba(255, 255, 255, .9); animation: ly-in .8s cubic-bezier(.2, .8, .3, 1) both .2s; transition: transform .3s; }
.ly-hero-card:hover { transform: translateY(-6px) rotate(-.5deg); }
@keyframes ly-in { from { opacity: 0; transform: translateY(40px) scale(.96); } }
.ly-hero-card-hd { display: flex; justify-content: space-between; color: var(--ly-sub); font-size: 13px; }
.ly-hero-card-hd span { padding: 1px 10px; border-radius: 10px; background: var(--ly-g); color: #fff; font-weight: 700; }
.ly-hero-card-vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 18px 0; text-align: center; }
.ly-hero-card-vs span { display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; }
.ly-hero-card-vs b { font-size: 44px; font-weight: 900; font-family: "DIN Alternate", "Bahnschrift", "Arial Black", sans-serif; color: var(--ly-deep); }
.ly-hero-card-ft { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px dashed var(--ly-line); color: var(--ly-sub); }
.ly-hero-card-ft em { font-style: normal; font-weight: 800; color: var(--ly-deep); font-family: "DIN Alternate", "Bahnschrift", monospace; font-size: 17px; }
.ly-hero-card[data-lyst="1"] [data-lyf="st"] { color: var(--ly-red); font-weight: 800; }
.ly-hero-card-go { color: var(--ly-g); font-weight: 800; transition: transform .2s; }
.ly-hero-card:hover .ly-hero-card-go { transform: translateX(4px); }

/* ---------- 列表页横幅 ---------- */
.ly-subhero { position: relative; padding: 38px 0 44px; background-size: cover; background-position: center; }
.ly-subhero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(244, 250, 246, .97), rgba(244, 250, 246, .75) 60%, rgba(244, 250, 246, .35)), linear-gradient(0deg, var(--ly-bg), transparent 40%); }
.ly-subhero .ly-box { position: relative; }
.ly-subhero h1 { margin: 10px 0 6px; font-size: 36px; font-weight: 900; color: var(--ly-deep); }
.ly-subhero h1 small { margin-left: 10px; font-size: 15px; color: var(--ly-sub); font-weight: 600; }
.ly-subhero-n { color: var(--ly-sub); font-weight: 600; }
.ly-subhero-n b { font-size: 26px; color: var(--ly-g); }
.ly-crumb { color: var(--ly-sub); font-size: 13px; }
.ly-crumb i { font-style: normal; margin: 0 8px; color: var(--ly-mute); }
.ly-crumb a:hover { color: var(--ly-g); }

/* ---------- 双栏 ---------- */
.ly-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.ly-col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; min-width: 0; } /* 列宽限定，播放器里的视频不会把左栏撑宽 */
.ly-aside { display: grid; gap: 18px; position: sticky; top: 90px; }
.ly-panel { background: #fff; border-radius: 22px; box-shadow: var(--ly-shadow); overflow: hidden; }
.ly-panel-hd { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; background: linear-gradient(90deg, var(--ly-mint), #fff); border-bottom: 1px solid var(--ly-line); }
.ly-panel-hd h1, .ly-panel-hd h2 { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: var(--ly-deep); }
.ly-panel-hd > a { color: var(--ly-g); font-weight: 700; }
.ly-panel-hd > span { color: var(--ly-mute); }
.ly-panel-ic { font-style: normal; display: inline-block; animation: ly-roll 4s linear infinite; }
@keyframes ly-roll { to { transform: rotate(360deg); } }
.ly-cal { display: inline-flex; flex-direction: column; align-items: center; justify-content: flex-end; width: 34px; height: 36px; border-radius: 8px; background: #fff; border: 2px solid var(--ly-g); border-top-width: 8px; font-style: normal; }
.ly-cal b { font-size: 15px; line-height: 24px; }
.ly-card { padding: 20px; border-radius: 20px; background: #fff; box-shadow: var(--ly-shadow); }
.ly-card h3 { position: relative; margin-bottom: 14px; padding-left: 12px; font-size: 16px; color: var(--ly-deep); }
.ly-card h3::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 2px; background: var(--ly-g); }
.ly-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ly-chip { border: 1px solid var(--ly-line); padding: 5px 14px; border-radius: 8px; background: var(--ly-bg); color: var(--ly-sub); font-size: 13px; transition: .2s; }
.ly-chip:hover { border-color: var(--ly-g); color: var(--ly-g); }
.ly-chip.on { background: var(--ly-g); border-color: var(--ly-g); color: #fff; box-shadow: 0 4px 10px rgba(18, 183, 106, .3); }
.ly-card-img { position: relative; min-height: 180px; display: flex; align-items: flex-end; padding: 0; overflow: hidden; background-size: cover; background-position: center; color: #fff; }
.ly-card-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 183, 106, 0), rgba(5, 96, 58, .85)); transition: .4s; }
.ly-card-img:hover::before { background: linear-gradient(180deg, rgba(18, 183, 106, .2), rgba(5, 96, 58, .9)); }
.ly-card-img div { position: relative; padding: 18px; }
.ly-card-img b { font-size: 17px; }
.ly-card-img p { font-size: 13px; opacity: .9; }
.ly-tips { counter-reset: t; display: grid; gap: 10px; }
.ly-tips li { counter-increment: t; display: flex; gap: 10px; color: var(--ly-sub); font-size: 13px; }
.ly-tips li::before { content: counter(t); flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ly-mint2); color: var(--ly-deep); font-weight: 800; text-align: center; line-height: 22px; font-size: 12px; }
.ly-switch { display: grid; gap: 8px; }
.ly-switch a { padding: 10px 14px; border-radius: 12px; background: var(--ly-bg); font-weight: 700; color: var(--ly-sub); transition: .2s; }
.ly-switch a:hover { background: var(--ly-mint); color: var(--ly-deep); }
.ly-switch a.cur { background: var(--ly-g); color: #fff; }

/* ---------- 记分牌赛程行 ---------- */
.ly-rows li + li { border-top: 1px solid var(--ly-line); }
.ly-row { display: flex; align-items: center; padding-right: 20px; transition: background .25s, opacity .5s, transform .5s; }
.ly-row:hover { background: repeating-linear-gradient(90deg, #f3fcf6 0 60px, #eaf9ef 60px 120px); }
.ly-row.is-live { box-shadow: inset 4px 0 0 var(--ly-red); }
.ly-row-a { flex: 1; min-width: 0; display: grid; grid-template-columns: 70px 90px 1fr 110px 1fr; align-items: center; gap: 12px; padding: 14px 10px 14px 22px; }
.ly-row-when time { display: block; font-size: 18px; font-weight: 800; font-family: "DIN Alternate", "Bahnschrift", sans-serif; color: var(--ly-deep); line-height: 1.1; }
.ly-row-when em { font-style: normal; font-size: 12px; color: var(--ly-mute); }
.ly-row-lg { justify-self: start; max-width: 90px; padding: 2px 10px; border-radius: 6px; background: var(--ly-mint); color: var(--ly-g); font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ly-row-t { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 15px; }
.ly-row-t b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; }
.ly-row-h { justify-content: flex-end; }
.ly-row-sc { display: flex; flex-direction: column; align-items: center; padding: 4px 0; border-radius: 10px; background: var(--ly-ink); color: #fff; }
.ly-row-sc b { font-size: 19px; font-family: "DIN Alternate", "Bahnschrift", sans-serif; letter-spacing: 1px; color: var(--ly-lime); line-height: 1.3; }
.ly-row-sc small { font-size: 11px; opacity: .75; }
.ly-row.is-live .ly-row-sc { background: var(--ly-red); }
.ly-row.is-live .ly-row-sc b { color: #fff; }
.ly-row.is-live .ly-row-sc small { opacity: 1; animation: ly-blink 1.2s infinite; }
.ly-row[data-lyst="0"] .ly-row-sc { background: var(--ly-mint); color: var(--ly-sub); }
.ly-row[data-lyst="0"] .ly-row-sc b { color: var(--ly-deep); }
@keyframes ly-blink { 50% { opacity: .4; } }
.ly-badge { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 2px solid var(--ly-line); overflow: hidden; }
.ly-badge img { width: 80%; height: 80%; object-fit: contain; }
.ly-badge-l { width: 64px; height: 64px; box-shadow: 0 6px 16px rgba(5, 96, 58, .14); border-color: #fff; }
.ly-badge-xl { width: 96px; height: 96px; border-width: 4px; border-color: #fff; box-shadow: 0 12px 30px rgba(5, 96, 58, .25); }
.ly-ini { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--ly-g2), var(--ly-g)); color: #fff; font-weight: 800; font-size: 14px; }
.ly-badge-l .ly-ini { font-size: 24px; }
.ly-badge-xl .ly-ini { font-size: 38px; }
.ly-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 76px; height: 34px; padding: 0 16px; border-radius: 10px; border: 2px solid var(--ly-g); color: var(--ly-g); font-weight: 700; font-size: 13px; background: #fff; transition: .2s; white-space: nowrap; }
.ly-btn:hover { background: var(--ly-g); color: #fff; }
.ly-btn-fill { background: var(--ly-g); color: #fff; box-shadow: 0 6px 14px rgba(18, 183, 106, .35); }
.ly-btn-fill:hover { background: var(--ly-deep); border-color: var(--ly-deep); }
.ly-btn-off { border-color: var(--ly-line); color: var(--ly-mute); }
.ly-btn-off:hover { background: var(--ly-bg); color: var(--ly-sub); }
.ly-btn-lg { height: 46px; padding: 0 28px; font-size: 15px; border-radius: 14px; }
.ly-btn-glass { background: rgba(255, 255, 255, .7); }
.ly-pop { animation: ly-pop .8s ease; }
@keyframes ly-pop { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.4); } }
.ly-empty, .ly-done { padding: 56px 20px; text-align: center; color: var(--ly-sub); }
.ly-empty-ball { display: inline-block; width: 54px; height: 54px; margin-bottom: 12px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, var(--ly-g) 0 22%, transparent 23%), radial-gradient(circle at 50% 50%, #fff 0 60%, var(--ly-g) 61% 66%, #fff 67%); box-shadow: 0 8px 18px rgba(5, 96, 58, .18); animation: ly-kick 1.6s ease-in-out infinite; }
@keyframes ly-kick { 0%, 100% { transform: translateX(-20px) rotate(-90deg); } 50% { transform: translateX(20px) rotate(90deg); } }
.ly-done .ly-btn { margin-top: 16px; }
.ly-done-cd { margin-top: 10px; }
.ly-done-cd b { font-size: 22px; color: var(--ly-deep); font-family: "DIN Alternate", "Bahnschrift", monospace; }
.ly-pages { display: flex; justify-content: center; gap: 8px; }
.ly-pages a, .ly-pages b { min-width: 42px; height: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: #fff; box-shadow: var(--ly-shadow); font-weight: 700; transition: .2s; }
.ly-pages a:hover { color: var(--ly-g); transform: translateY(-2px); }
.ly-pages b { background: var(--ly-g); color: #fff; }

/* ---------- 详情：球场 ---------- */
.ly-field { position: relative; padding: 26px 0 40px; overflow: hidden; background: repeating-linear-gradient(90deg, #42c47f 0 9%, #3bb874 9% 18%); }
.ly-field::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(244, 250, 246, .55), rgba(244, 250, 246, .15) 50%, var(--ly-bg) 100%); }
.ly-field-court { background: repeating-linear-gradient(90deg, #f0b46a 0 4%, #eaa95c 4% 8%); }
.ly-field-lines { position: absolute; inset: 20px 4%; border: 3px solid rgba(255, 255, 255, .8); border-radius: 6px; }
.ly-field-lines i:nth-child(1) { position: absolute; left: 50%; top: 0; bottom: 0; border-left: 3px solid rgba(255, 255, 255, .8); }
.ly-field-lines i:nth-child(2) { position: absolute; left: 50%; top: 50%; width: 180px; height: 180px; margin: -90px 0 0 -90px; border: 3px solid rgba(255, 255, 255, .8); border-radius: 50%; animation: ly-pulse 4s ease-in-out infinite; }
.ly-field-lines i:nth-child(3) { position: absolute; left: -3px; top: 50%; width: 120px; height: 220px; margin-top: -110px; border: 3px solid rgba(255, 255, 255, .8); border-left: 0; box-shadow: calc(92vw - 126px) 0 0 -3px transparent; }
@keyframes ly-pulse { 50% { transform: scale(1.08); opacity: .6; } }
.ly-field .ly-box { position: relative; }
.ly-field .ly-crumb { color: var(--ly-deep); font-weight: 600; }
.ly-board { display: grid; grid-template-columns: 1fr 300px 1fr; align-items: center; margin: 22px auto 0; max-width: 900px; padding: 26px; border-radius: 28px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 24px 60px rgba(5, 96, 58, .25); animation: ly-in .8s cubic-bezier(.2, .8, .3, 1) both; }
.ly-board-t { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ly-board-t b { font-size: 22px; font-weight: 900; }
.ly-board-t small { padding: 0 10px; border-radius: 8px; background: var(--ly-mint); color: var(--ly-g); font-weight: 700; }
.ly-board-mid { text-align: center; }
.ly-board-lg { display: inline-block; padding: 2px 14px; border-radius: 12px; background: var(--ly-deep); color: var(--ly-lime); font-weight: 700; font-size: 13px; }
.ly-board-mid strong { display: block; font-size: 64px; line-height: 1.15; font-weight: 900; font-family: "DIN Alternate", "Bahnschrift", "Arial Black", sans-serif; color: var(--ly-ink); }
.ly-board-st { font-weight: 800; color: var(--ly-sub); }
[data-lyst="1"] .ly-board-st { color: var(--ly-red); animation: ly-blink 1.2s infinite; }
.ly-board-mid time { color: var(--ly-mute); font-size: 13px; }
.ly-play .ly-panel-hd h1 { font-size: 19px; }
.ly-lines { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 22px; }
.ly-line { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 6px; border-radius: 12px; border: 2px solid var(--ly-line); background: #fff; font-weight: 700; color: var(--ly-ink); transition: .2s; }
.ly-line b { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px; background: var(--ly-mint); color: var(--ly-g); font-size: 12px; }
.ly-line small { font-size: 11px; color: var(--ly-mute); font-weight: 400; text-transform: uppercase; }
.ly-line:hover { border-color: var(--ly-g); transform: translateY(-2px); }
.ly-line.cur { border-color: var(--ly-g); background: var(--ly-g); color: #fff; }
.ly-line.cur b { background: #fff; }
.ly-line.cur small { color: rgba(255, 255, 255, .8); }
.ly-line-ext { border-style: dashed; }
.ly-video { position: relative; aspect-ratio: 16 / 9; margin: 0 22px 22px; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, var(--ly-mint), var(--ly-mint2)); }
.ly-video iframe, .ly-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.ly-video-tip { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--ly-deep); font-weight: 700; }
.ly-video-tip::before { content: ""; width: 46px; height: 46px; border-radius: 50%; border: 4px solid var(--ly-mint2); border-top-color: var(--ly-g); animation: ly-roll .9s linear infinite; }
.ly-stat th { padding: 6px 4px; font-size: 14px; }
.ly-stat td { padding: 9px 4px; text-align: center; color: var(--ly-sub); border-top: 1px dashed var(--ly-line); }
.ly-stat tr:first-child td { color: var(--ly-mute); font-size: 12px; }
.ly-stat td b { color: var(--ly-ink); }
.ly-stat .ly-stat-sc { font-size: 34px; font-weight: 900; color: var(--ly-deep); font-family: "DIN Alternate", "Bahnschrift", sans-serif; }
.ly-rel a { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 10px 6px; border-bottom: 1px dashed var(--ly-line); transition: .2s; }
.ly-rel a:hover { padding-left: 12px; background: var(--ly-bg); border-radius: 10px; }
.ly-rel time { grid-column: 1 / -1; font-size: 12px; color: var(--ly-mute); }
.ly-rel b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ly-rel i { font-style: normal; font-size: 12px; color: var(--ly-mute); }
.ly-rel li[data-lyst="1"] i { color: var(--ly-red); font-weight: 700; }

/* ---------- 404 ---------- */
.ly-404 { padding: 60px 20px; text-align: center; }
.ly-404-goal { position: relative; width: 240px; height: 120px; margin: 0 auto 24px; border: 6px solid var(--ly-ink); border-bottom: 0; border-radius: 6px 6px 0 0; background: repeating-linear-gradient(45deg, transparent 0 10px, var(--ly-line) 10px 11px), repeating-linear-gradient(-45deg, transparent 0 10px, var(--ly-line) 10px 11px); }
.ly-404-ball { position: absolute; left: 50%; bottom: 0; width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle, var(--ly-ink) 0 24%, #fff 25%); border: 3px solid var(--ly-ink); animation: ly-miss 2.4s cubic-bezier(.3, .2, .3, 1) infinite; }
@keyframes ly-miss { 0% { transform: translate(-50%, 160px) scale(1.4); } 70% { transform: translate(140px, -70px) scale(.8) rotate(540deg); opacity: 1; } 100% { transform: translate(180px, -90px) scale(.6) rotate(720deg); opacity: 0; } }
.ly-404 h1 { font-size: 34px; color: var(--ly-deep); }
.ly-404 p { color: var(--ly-sub); margin-top: 6px; }
.ly-404-go { display: flex; justify-content: center; gap: 10px; margin-top: 22px !important; }

/* ---------- 页脚 ---------- */
.ly-foot { position: relative; margin-top: 30px; background: #fff; color: var(--ly-sub); font-size: 13px; overflow: hidden; }
.ly-foot-pitch { height: 10px; background: repeating-linear-gradient(90deg, var(--ly-g) 0 40px, var(--ly-g2) 40px 80px); animation: ly-slide 6s linear infinite; background-size: 80px 10px; }
@keyframes ly-slide { to { background-position: 80px 0; } }
.ly-foot-in { display: flex; justify-content: space-between; gap: 40px; padding-top: 30px; padding-bottom: 20px; }
.ly-foot-in p { max-width: 640px; margin-top: 10px; }
.ly-foot nav { display: flex; flex-direction: column; gap: 6px; }
.ly-foot nav b { color: var(--ly-deep); }
.ly-foot nav a:hover { color: var(--ly-g); }
.ly-copy { padding: 14px; text-align: center; border-top: 1px solid var(--ly-line); color: var(--ly-mute); }
.ly-side-top { position: fixed; right: 24px; bottom: 30px; z-index: 50; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--ly-g); color: #fff; box-shadow: 0 10px 22px rgba(18, 183, 106, .4); opacity: 0; transform: scale(.6); pointer-events: none; transition: .3s; }
.ly-scrolled .ly-side-top { opacity: 1; transform: none; pointer-events: auto; }
.ly-side-top:hover { background: var(--ly-deep); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .ly-grid { grid-template-columns: 1fr; }
  .ly-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .ly-hero-in { flex-direction: column; align-items: stretch; }
  .ly-hero-card { width: auto; }
}
@media (max-width: 760px) {
  .ly-head-in { gap: 10px; height: 58px; }
  .ly-logo-t small, .ly-live-n .ly-eq { display: none; }
  .ly-logo-t { font-size: 18px; }
  .ly-menu a { padding: 0 8px; font-size: 14px; }
  .ly-menu-ic { display: none; }
  .ly-live-n { padding: 5px 10px; font-size: 12px; }
  .ly-hero h1 { font-size: 34px; }
  .ly-hero-stat b { font-size: 44px; }
  .ly-row { flex-wrap: wrap; padding: 0 12px 12px; }
  .ly-row-a { grid-template-columns: 1fr 86px 1fr; padding: 12px 0 6px; gap: 8px; }
  .ly-row-when, .ly-row-lg { grid-row: 1; }
  .ly-row-when { grid-column: 1 / 3; display: flex; gap: 8px; align-items: baseline; }
  .ly-row-lg { grid-column: 3; justify-self: end; }
  .ly-row-t { font-size: 14px; }
  .ly-row-go { margin-left: auto; }
  .ly-board { grid-template-columns: 1fr 130px 1fr; padding: 18px 10px; }
  .ly-board-mid strong { font-size: 38px; }
  .ly-board-t b { font-size: 15px; }
  .ly-badge-xl { width: 64px; height: 64px; }
  .ly-foot-in { flex-direction: column; }
}

/* 系统设置了“减少动态效果”时关闭动画 */
@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; }
}

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

/* 背景图（原来写在模板 style 属性里） */
.bgi-grass { background-image: url(/static/ly-assets/img/grass.jpg) !important; }
.bgi-hoop { background-image: url(/static/ly-assets/img/hoop.jpg) !important; }
.bgi-kick { background-image: url(/static/ly-assets/img/kick.jpg) !important; }
.bgi-stadium { background-image: url(/static/ly-assets/img/stadium.jpg) !important; }

/* 手机端：缩小字号和间距，队名放不下时换行，尽量完整显示 */
@media (max-width: 760px) {
  .ly-row-a { flex-basis: 100%; }
}
@media (max-width: 480px) {
  .ly-row-a { grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr); gap: 6px; }
  .ly-row-t { gap: 6px; font-size: 13px; }
  .ly-row-t .ly-badge { width: 20px; height: 20px; flex: none; }
  .ly-row-t b { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; line-height: 1.3; }
  .ly-row-sc b { font-size: 16px; }
}

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

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

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

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

/* 列表行：手机端改成卡片——顶行 时间|日期 + 联赛 + 状态标签，下面主客队各一行、比分靠右；电脑端保持原来的横排 */
.ly-tag, .ly-row-num { display: none; }
@media (max-width: 760px) {
  .ly-rows { padding: 4px 10px 10px; }
  .ly-rows li + li { border-top: 0; }
  .ly-row { display: block; margin-top: 10px; padding: 0 14px; border: 1px solid var(--ly-line); border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgba(5, 96, 58, .06); }
  .ly-row:hover { background: #fff; }
  .ly-row.is-live { box-shadow: inset 3px 0 0 var(--ly-red), 0 4px 14px rgba(5, 96, 58, .06); }
  .ly-row-sc, .ly-row-go { display: none; }
  .ly-row-a { grid-template-columns: minmax(0, 1fr) auto; column-gap: 0; row-gap: 0; padding: 0; }
  .ly-row-when, .ly-row-tags { grid-row: 1; align-self: stretch; padding: 11px 0 10px; border-bottom: 1px solid var(--ly-line); }
  .ly-row-when { grid-column: 1; display: flex; align-items: center; min-width: 0; }
  .ly-row-when time { display: flex; align-items: center; font-size: 17px; }
  .ly-row-when em { margin-left: 8px; padding-left: 8px; border-left: 1px solid var(--ly-line); font-size: 12px; }
  .ly-row-tags { grid-column: 2; display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
  .ly-row-tags .ly-row-lg { max-width: 96px; }
  .ly-tag { display: inline-flex; align-items: center; gap: 3px; height: 22px; padding: 0 8px; border: 1px solid var(--ly-g); border-radius: 11px; background: #fff; color: var(--ly-g); font-style: normal; font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap; }
  .ly-tag::before { content: "▶"; font-size: 9px; }
  .ly-tag.ly-btn-fill { border-color: var(--ly-red); background: var(--ly-red); color: #fff; }
  .ly-tag.ly-btn-fill::before { animation: ly-blink 1.2s infinite; }
  .ly-tag-off { border-color: var(--ly-line); color: var(--ly-mute); }
  .ly-tag-off::before { content: none; }
  .ly-tag-off.live { border-color: var(--ly-red); color: var(--ly-red); }
  .ly-row-t, .ly-row-h { grid-column: 1 / -1; display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 10px; padding: 9px 0 0; font-size: 15px; }
  .ly-row-t:last-child { padding-bottom: 11px; }
  .ly-row-h .ly-badge { order: -1; }
  .ly-row-t .ly-badge { width: 26px; height: 26px; }
  .ly-row-t b { flex: 1; min-width: 0; white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; line-height: 1.35; font-weight: 700; }
  .ly-row-num { display: block; flex: none; min-width: 24px; text-align: right; font-style: normal; font-size: 17px; font-weight: 800; font-family: "DIN Alternate", "Bahnschrift", sans-serif; color: var(--ly-ink); }
  .ly-row[data-lyst="0"] .ly-row-num { color: var(--ly-mute); font-weight: 400; }
  .ly-row.is-live .ly-row-num { color: var(--ly-red); }
}

/* 首页：日期选择 + 热门直播 + 赛事直播 */
.ly-col > .hd-dates { margin: 0; }
.ly-panel-hd .hd-tabs { flex: none; }
[data-hd-scope] .hd-day { padding: 14px 22px 4px; }
.ly-row-lg .hd-lg:hover { text-decoration: none; opacity: .8; }
/* 导航 5 项：手机上导航单独一行，一屏放下 */
@media (max-width: 768px) {
  .ly-head-in { flex-wrap: wrap; height: auto; row-gap: 2px; padding-top: 8px; }
  .ly-menu { order: 3; flex: 1 0 100%; width: 100%; height: 40px; overflow: visible; gap: 0; }
  .ly-menu a { flex: 1 0 auto; justify-content: center; padding: 0 4px; font-size: 14px; }
  .ly-menu a::after { left: 6px; right: 6px; }
  .ly-menu-ic { display: none; }
  .ly-head-r { margin-left: auto; }
}
@media (max-width: 480px) {
  .ly-panel-hd { padding: 14px 14px; gap: 8px; }
  .ly-panel-hd h1, .ly-panel-hd h2 { font-size: 17px; }
}

/* 热门标记：本模板专属样式（⚽ 必看），覆盖上面通用的 🔥 热门；手机上只显示图标 */
.ly-fire { --ly-hot-lb: 11px; gap: 2px; font-size: 0; background: linear-gradient(90deg,#12b76a,#4fd18b); color: #fff; border: 0; border-radius: 9px; animation: ly-hot-glow 1.8s ease-in-out infinite; }
.ly-fire::before { content: "⚽"; display: inline-block; transform-origin: 50% 50%; animation: ly-hot-ic 4s linear infinite; }
.ly-fire::after { content: "必看"; font-size: var(--ly-hot-lb); line-height: 1; }
@keyframes ly-hot-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(18,183,106, .35); } 50% { box-shadow: 0 0 0 4px rgba(18,183,106, 0); } }
@keyframes ly-hot-ic { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@media (max-width: 480px) { .ly-fire { --ly-hot-lb: 0; gap: 0; } }
@media (prefers-reduced-motion: reduce) { .ly-fire, .ly-fire::before { animation: none; } }

/* 日期条吸顶（样式在内置 hd.css）：底色跟页面一致 */
:root { --hd-bg: var(--ly-bg); }
