@charset "utf-8";
/* 紫韵：酒红顶栏 + 紫色选中 + 金色频道按钮 */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { background: #efeff4; color: #333; font: 14px/1.5 "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif; }
a { color: #333; text-decoration: none; }
a:hover { color: #600586; }
ul, ol { list-style: none; }
img { border: 0; vertical-align: middle; }
[hidden] { display: none !important; }
.zy-w { max-width: 1200px; margin: 0 auto; padding: 0 10px; }
.zy-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- 顶部酒红条 ---------- */
.zy-menu { background: #500000; background: linear-gradient(#500000, #220808); color: #fff; font-size: 13px; }
.zy-menu-in { display: flex; align-items: center; height: 38px; gap: 18px; }
.zy-menu-logo { color: #fff; font-weight: bold; font-size: 16px; letter-spacing: 1px; }
.zy-menu-logo:hover { color: #fed780; }
.zy-menu-items { display: flex; height: 100%; }
.zy-menu-items li a { display: flex; align-items: center; gap: 5px; height: 38px; padding: 0 14px; color: rgba(255, 255, 255, .75); }
.zy-menu-items li.on a, .zy-menu-items li a:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.zy-menu-tip { margin-left: auto; color: rgba(255, 255, 255, .7); }
.zy-menu-tip .pc { margin-right: 10px; }
.zy-menu-tip b { color: #fed780; }

/* ---------- 白色头部 + 分类 ---------- */
.zy-head { background: #fff; border-bottom: 1px solid #e5e5e5; padding: 10px 0 8px; }
.zy-head-top { display: flex; align-items: baseline; gap: 12px; }
.zy-title { font-size: 24px; color: #3D0153; letter-spacing: 1px; }
.zy-sub { color: #999; font-size: 13px; }
.zy-cat { display: flex; flex-wrap: wrap; margin: 8px 0 4px; font-size: 15px; line-height: 27px; }
.zy-cat a { padding: 0 17px; color: #555; border-radius: 3px; }
.zy-cat a.on { background: #600586; color: #fff; font-weight: bold; }
.zy-leagues { display: block; white-space: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; line-height: 26px; padding: 4px 0 2px; border-top: 1px dashed #eee; margin-top: 6px; }
.zy-leagues span { display: inline-block; padding: 0 14px; margin-right: 4px; color: #666; cursor: pointer; border-radius: 3px; font-size: 13px; }
.zy-leagues span:hover { color: #600586; }
.zy-leagues span.on { background: #600586; color: #fff; font-weight: bold; }

.zy-main { padding: 12px 0 24px; min-height: 60vh; }
.zy-crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 4px 0 10px; color: #999; font-size: 13px; }
.zy-crumb h1 { font-size: 16px; color: #3D0153; }
.zy-crumb > span:last-child { margin-left: auto; }

/* ---------- 赛程行 ---------- */
.zy-game {
  display: grid;
  grid-template-columns: 96px 72px minmax(0, 1fr) 84px minmax(0, 1fr) 56px 56px 128px;
  align-items: center;
  min-height: 48px;
  background: #fff;
  border-bottom: 1px solid #eee;
}
.zy-game > li { padding: 4px 6px; text-align: center; min-width: 0; }
.zy-game:hover { background: #faf4fc; }
.zy-game.hot { background: linear-gradient(45deg, #fadcff, #fff 40%, #fff); border-bottom-color: rgba(185, 142, 191, .33); }
.zy-thead { min-height: 34px; background: #3D0153 !important; color: #fff; font-size: 13px; border: 0; border-radius: 3px 3px 0 0; }
.zy-thead > li span { display: block; font-size: 11px; opacity: .7; line-height: 1; }

.c-ev span {
  display: inline-block; max-width: 100%; padding: 0 6px; border-radius: 2px;
  background: #9c27b0; color: #fff; font-size: 12px; line-height: 22px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis; vertical-align: middle;
}
.ico { display: none; }
.c-time time { display: block; font-weight: bold; font-size: 15px; color: #333; }
.st { display: block; font-style: normal; font-size: 12px; color: #999; line-height: 1.3; }
.st.live { color: #e60012; font-weight: bold; }
.c-home a, .c-away a { display: flex; align-items: center; gap: 8px; }
.c-home a { justify-content: flex-end; text-align: right; }
.c-away a { justify-content: flex-start; text-align: left; }
.c-home strong, .c-away strong { font-weight: normal; font-size: 15px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.avatar { flex: none; width: 26px; height: 26px; border-radius: 50%; overflow: hidden; background: #f3e5f5; display: inline-flex; align-items: center; justify-content: center; }
.avatar img { width: 26px; height: 26px; object-fit: contain; }
.avatar i { font-style: normal; font-size: 12px; font-weight: bold; color: #600586; }
.c-vs { font-weight: bold; color: #aaa; font-size: 15px; }
.c-vs b { color: #713b02; font-size: 17px; padding: 0 3px; }
.zy-game.hot .c-vs b { color: #e60012; }
.c-red, .c-cor { color: #888; font-size: 13px; }
.ch { display: inline-block; max-width: 100%; padding: 0 10px; line-height: 28px; border-radius: 3px; font-size: 13px; color: #999; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch.ok { background: rgba(225, 170, 87, .9); color: #fff; }
.ch.ok:hover { background: #d4932f; color: #fff; }
.ch.ok.play { background: #600586; }
.ch.ok.play:hover { background: #3D0153; }

/* 日期 / 栏目分隔 */
.zy-block { margin-bottom: 10px; }
.zy-sepa {
  display: flex; align-items: center; gap: 12px; padding: 0 14px; line-height: 36px;
  background: linear-gradient(rgba(255, 255, 255, .95), rgba(236, 236, 236, .95));
  border-bottom: 1px solid #e3e3e3; font-size: 14px; font-weight: bold; color: #000;
}
.zy-sepa > span:first-child { padding-left: 10px; border-left: 3px solid #600586; line-height: 16px; }
.zy-sepa-n { color: #999; font-weight: normal; font-size: 12px; }
.zy-sepa a { margin-left: auto; font-weight: normal; font-size: 13px; color: #e60012; }

.zy-info { background: #fff8e1; border: 1px solid #ffe0a6; color: #8a6d3b; padding: 6px 14px; font-size: 13px; margin: 6px 0; }
.zy-info b { color: #e60012; }
.zy-info a { color: #600586; margin-left: 6px; }
.zy-none { background: #fff; text-align: center; color: #999; padding: 40px 0; font-size: 15px; }

.zy-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; padding: 18px 0 4px; }
.zy-pager a, .zy-pager span { min-width: 34px; padding: 0 10px; line-height: 32px; text-align: center; background: #fff; border: 1px solid #ddd; border-radius: 3px; }
.zy-pager a:hover { border-color: #600586; }
.zy-pager span.on { background: #600586; border-color: #600586; color: #fff; font-weight: bold; }

/* 比分变化：金色闪烁 */
.zy-flash { animation: zyflash 1.2s linear 3; }
@keyframes zyflash { 50% { background: #fed780; } }

/* ---------- 播放页（深紫） ---------- */
body.zy-player { background: #200d29; color: #fff; }
body.zy-player::before {
  content: ""; position: fixed; inset: 0; z-index: -1; opacity: .35;
  background-image: radial-gradient(rgba(156, 39, 176, .35) 1px, transparent 1px), radial-gradient(rgba(254, 215, 128, .15) 1px, transparent 1px);
  background-size: 22px 22px, 37px 37px;
  background-position: 0 0, 11px 11px;
}
body.zy-player .zy-head { background: rgba(255, 255, 255, .96); }
body.zy-player .zy-crumb, body.zy-player .zy-crumb a { color: rgba(255, 255, 255, .6); }
body.zy-player .zy-crumb a:hover { color: #fed780; }

.zy-vs { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 6px; padding: 14px 16px 16px; text-align: center; }
.zy-vs-lg { display: flex; align-items: center; justify-content: center; gap: 10px; color: rgba(255, 255, 255, .75); font-size: 13px; }
.zy-vs-lg time { color: #fed780; }
.zy-vs-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 14px 0 8px; }
.zy-vs-team { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.zy-vs-team img, .zy-vs-team > i { width: 64px; height: 64px; border-radius: 50%; background: #fff; object-fit: contain; padding: 4px; }
.zy-vs-team > i { display: flex; align-items: center; justify-content: center; padding: 0; font-style: normal; font-size: 26px; font-weight: bold; color: #600586; }
.zy-vs-team strong { font-size: 17px; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.zy-vs-score { font-size: 40px; font-weight: bold; color: rgba(255, 255, 255, .5); line-height: 1.1; letter-spacing: 2px; }
.zy-vs-score b { color: #fed780; padding: 0 6px; }
.zy-vs-mid .st { font-size: 13px; color: rgba(255, 255, 255, .6); margin-top: 4px; }
.zy-vs-mid .st.live { color: #fff; background: #e60012; border-radius: 2px; display: inline-block; padding: 0 8px; }
.zy-vs-stat { color: rgba(255, 255, 255, .7); font-size: 13px; }
.zy-vs-stat b { color: #fed780; margin: 0 4px; }
.zy-vs-stat span { margin: 0 10px; opacity: .3; }
.zy-vs-h1 { margin-top: 10px; font-size: 18px; color: #fff; }

.zy-room { margin-top: 12px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .08); border-radius: 6px; padding: 12px; }
.zy-screen { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 4px; overflow: hidden; }
.zy-screen video, .zy-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.zy-screen-tip { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .6); }
.zy-chs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.zy-ch { padding: 0 16px; line-height: 34px; border: 0; border-radius: 3px; cursor: pointer; font: inherit; font-size: 14px; background: rgba(225, 170, 87, .85); color: #fff; }
.zy-ch:hover { background: #d4932f; color: #fff; }
.zy-ch.play { background: purple; }
.zy-ch.out::after { content: " ↗"; }
.zy-room-tip { margin-top: 10px; font-size: 12px; color: rgba(255, 255, 255, .5); }
.zy-over { text-align: center; padding: 40px 10px; font-size: 17px; font-weight: bold; color: #fed780; }
.zy-wait { color: rgba(255, 255, 255, .7); font-weight: normal; font-size: 15px; }

.zy-more { margin-top: 14px; }
body.zy-player .zy-sepa { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .08); color: #fff; }
body.zy-player .zy-game { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .07); }
body.zy-player .zy-game:hover { background: rgba(255, 255, 255, .08); }
body.zy-player .zy-game.hot { background: linear-gradient(45deg, rgba(156, 39, 176, .45), rgba(255, 255, 255, .03) 45%); }
body.zy-player .zy-game a, body.zy-player .c-time time { color: #fff; }
body.zy-player .c-vs b { color: #fed780; }

/* ---------- 404 ---------- */
.zy-404 { background: #fff; text-align: center; padding: 50px 16px; }
.zy-404-n { font-size: 80px; font-weight: bold; color: #600586; line-height: 1; text-shadow: 3px 3px 0 #fadcff; }
.zy-404 h1 { font-size: 22px; margin: 12px 0 6px; }
.zy-404 p { color: #888; }
.zy-btn { display: inline-block; margin: 18px 6px 0; padding: 0 20px; line-height: 34px; background: #600586; color: #fff; border-radius: 3px; }
.zy-btn:hover { background: #3D0153; color: #fff; }

/* ---------- 页脚 ---------- */
.zy-foot { background: #fff; border-top: 3px solid #600586; padding: 18px 0 22px; color: #777; font-size: 12px; text-align: center; }
body.zy-player .zy-foot { background: #160818; border-top-color: #500000; color: rgba(255, 255, 255, .5); }
body.zy-player .zy-foot a { color: rgba(255, 255, 255, .7); }
.zy-foot p { margin: 4px 0; }
.zy-foot-nav a { margin: 0 10px; }
.zy-foot-note { max-width: 860px; margin: 8px auto !important; line-height: 1.7; }
.zy-top { position: fixed; right: 16px; bottom: 24px; width: 40px; height: 40px; line-height: 40px; text-align: center; border-radius: 50%; background: #600586; color: #fff; opacity: .8; font-size: 14px; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.zy-top:hover { opacity: 1; color: #fed780; }

/* ---------- 手机 ---------- */
@media (max-width: 768px) {
  .zy-w { padding: 0; }
  .zy-menu-items, .zy-menu-tip .pc, .zy-sub { display: none; }
  .zy-menu-in, .zy-head .zy-w, .zy-crumb, .zy-pager { padding-left: 10px; padding-right: 10px; }
  .zy-menu-tip { font-size: 12px; }
  .zy-title { font-size: 20px; }
  .zy-cat a { padding: 0 14px; }
  .zy-thead { display: none !important; }
  .zy-game { grid-template-columns: 56px minmax(0, 1fr) 62px minmax(0, 1fr) 72px; min-height: 54px; }
  .zy-game > li { padding: 4px 3px; }
  .zy-game .c-ev, .zy-game .c-red, .zy-game .c-cor { display: none; }
  .c-time time { font-size: 14px; }
  .c-home strong, .c-away strong { font-size: 13px; }
  .c-home a, .c-away a { flex-direction: column-reverse; gap: 2px; text-align: center; }
  .c-away a { flex-direction: column; }
  .c-home a, .c-away a { justify-content: center; }
  .avatar, .avatar img { width: 22px; height: 22px; }
  .c-vs b { font-size: 15px; padding: 0 1px; }
  .ch { padding: 0 6px; font-size: 12px; line-height: 26px; }
  .zy-vs { border-radius: 0; }
  .zy-vs-team img, .zy-vs-team > i { width: 48px; height: 48px; font-size: 20px; }
  .zy-vs-team strong { font-size: 14px; }
  .zy-vs-score { font-size: 30px; }
  .zy-room { border-radius: 0; padding: 8px; }
  .zy-ch { padding: 0 10px; font-size: 13px; line-height: 30px; }
}

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

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

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

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

/* 首页：日期选择 + 热门直播 + 赛事直播 */
.zy-w > .hd-dates { margin: 12px 0; }
.zy-sepa .hd-tabs { margin-left: auto; font-weight: 400; }
.zy-sepa .hd-tabs button { padding: 2px 12px; font-size: 12px; }
.c-ev .hd-lg:hover { color: #600586; }
.zy-lg-m { display: none; }
@media (max-width: 768px) {
  .zy-lg-m { display: block; max-width: 100%; overflow: hidden; color: #600586; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
}
/* 导航 5 项：手机上一行放下 */
@media (max-width: 480px) {
  .zy-cat { flex-wrap: nowrap; }
  .zy-cat a { flex: 1 0 auto; padding: 0 4px; font-size: 14px; text-align: center; }
}

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

/* 日期条吸顶（样式在内置 hd.css）：底色跟页面一致 */
:root { --hd-bg: #efeff4; }
/* 整行可点（row-cover），行里的联赛链接浮在上面 */
.zy-game { cursor: pointer; }
.zy-lg-m { position: relative; z-index: 2; }
