*{margin:0;padding:0;box-sizing:border-box}

:root{
  --red:#de1e30;
  --g1:#333; --g2:#666; --g3:#999; --g4:#bbb;
  --g5:#e6e6e6; --g6:#f2f3f5; --g7:#f7f8fa;
  --page:#f0f1f3;
}

body{
  background:var(--page);color:var(--g1);
  font:14px/1.5 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
li{list-style:none}
button{font-family:inherit;cursor:pointer}
img{display:block;border:0}

/* 切换用的隐藏（必须 !important，因为 .match 是 grid） */
[hidden]{display:none!important}

/* ============ 图标 ============ */
.ico{
  display:inline-block;flex-shrink:0;
  fill:none;stroke:currentColor;stroke-width:1.6;
  stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;
}
.ico-16{width:16px;height:16px}
.ico-18{width:18px;height:18px}
.ico-20{width:20px;height:20px}

.arrow-r{
  display:inline-block;width:5px;height:5px;
  border-top:1.5px solid currentColor;
  border-right:1.5px solid currentColor;
  transform:rotate(45deg);
  margin-left:4px;flex-shrink:0;
  transition:transform .15s;
}
a:hover>.arrow-r{transform:rotate(45deg) translate(1px,-1px)}

.wrap{width:1200px;margin:0 auto}
.card{background:#fff;border-radius:6px}

/* ============ 顶部导航 ============ */
.hd{position:sticky;top:0;z-index:200;height:64px;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.06)}
.hd-in{width:1200px;margin:0 auto;display:flex;height:64px;align-items:center}
.logo{display:flex;align-items:center;height:64px;padding-right:46px;flex-shrink:0}
.logo-mark{
  width:120px;height:30px;border-radius:4px;background:var(--red);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:15px;font-weight:800;letter-spacing:1px;
}
.nav{display:flex;height:64px;flex-shrink:0}
.nav>li{position:relative;display:flex;align-items:center;height:64px;padding-right:20px}
.nav>li>a{font-size:14px;color:var(--g1);white-space:nowrap;transition:color .15s}
.nav>li>a:hover,.nav>li>a.on{color:var(--red)}
.nav>li>a.on{font-weight:600}
.sub{
  position:absolute;top:64px;left:0;width:144px;background:#fff;
  border-radius:0 0 6px 6px;box-shadow:0 6px 16px rgba(0,0,0,.1);
  padding:6px 0;display:none;z-index:300;
}
.nav>li:hover .sub{display:block}
.sub a{display:block;padding:9px 18px;font-size:15px;color:var(--g1);transition:.15s}
.sub a:hover{color:var(--red);background:var(--g7)}
.sub .hot{
  display:inline-block;margin-left:6px;padding:0 5px;height:16px;line-height:16px;
  background:var(--red);color:#fff;font-size:10px;border-radius:3px;vertical-align:2px;
}
.hd-right{margin-left:auto;display:flex;align-items:center;flex-shrink:0}
.search{display:flex;align-items:center;width:170px;height:32px;border:1px solid var(--g5);border-radius:4px;background:#fff}
.search .ico{margin:0 4px 0 6px;stroke:var(--g3)}
.search input{flex:1;min-width:0;height:100%;border:0;outline:0;background:none;padding:0;font-size:12px;color:var(--g1)}
.search input::placeholder{color:var(--g4)}
.btn-login,.btn-reg{
  width:50px;height:24px;margin-left:10px;
  display:flex;align-items:center;justify-content:center;font-size:12px;transition:.15s;
}
.btn-login{border:1px solid var(--g5);color:var(--g2);background:#fff}
.btn-login:hover{background:var(--red);border-color:var(--red);color:#fff}
.btn-reg{background:var(--red);color:#fff}

/* ============ 第一屏 ============ */
.top-row{display:flex;justify-content:space-between;margin:10px 0;height:204px}
.side-menu{width:200px;background:#fff;border-radius:6px;padding:2px 0 0 20px}
.side-menu li{display:flex;align-items:center;height:40px}
.side-menu a{display:flex;align-items:center;width:100%}
.side-menu .ico{margin:0 10px 0 8px;stroke:var(--g2)}
.side-menu span{font-size:14px;color:var(--g1)}
.side-menu a:hover span{color:var(--red)}
.side-menu a:hover .ico{stroke:var(--red)}

.main-panel{width:990px;background:#fff;border-radius:6px;padding:1px;overflow:hidden}
.cat-bar{
  display:flex;align-items:center;height:46px;margin-bottom:3px;border-radius:6px;
  background:linear-gradient(180deg,#fdf1f2 0%,#fff 100%);
}
.cat-tabs{display:flex;height:46px;flex-shrink:0}
.cat-tabs li{
  width:130px;height:46px;line-height:32px;text-align:center;
  font-size:14px;color:var(--g1);cursor:pointer;transition:color .15s;
}
.cat-tabs li:hover{color:var(--red)}
.cat-tabs li.on{color:var(--red);font-weight:600}
.league-bar{flex:1;display:flex;align-items:center;justify-content:flex-end;height:46px;overflow:hidden}
.league-bar ul{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;
  width:600px;height:46px;overflow:hidden;
}
.league-bar li{
  flex-shrink:0;margin-right:24px;font-size:12px;color:var(--g1);
  white-space:nowrap;cursor:pointer;transition:color .15s;
}
.league-bar li:hover{color:var(--red)}
.league-bar li.on{color:var(--red);font-weight:600}
.league-more{
  width:80px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:flex-end;
  padding-right:14px;font-size:12px;color:var(--red);
}
.slider{display:flex;height:140px;padding:0 12px;gap:8px;overflow:hidden}
.slide{
  width:186px;height:140px;flex-shrink:0;border:1px solid var(--g5);border-radius:4px;
  overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;
  transition:border-color .15s;
}
.slide:hover{border-color:var(--red)}
.slide-hd{display:flex;align-items:center;justify-content:space-between;height:28px;padding:0 9px;background:var(--g6)}
.slide-hd .lg{flex:1;font-size:12px;color:var(--g1);font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.slide-hd .st{width:20px;text-align:right;font-size:12px;color:var(--g3);flex-shrink:0}
.slide-bd{padding:0 10px}
.slide-team{display:flex;align-items:center;height:20px;margin-bottom:10px}
.slide-team:last-child{margin-bottom:0}
.slide-team img{width:20px;height:20px;margin-right:10px;object-fit:contain;flex-shrink:0}
.slide-team span{font-size:14px;color:var(--g1)}
.slide-ft{height:30px;line-height:30px;padding:0 10px;font-size:12px;color:var(--g3)}

/* ============ 热门赛事条 ============ */
.hot-bar{display:flex;align-items:center;height:50px;background:#fff;border-radius:6px;margin-bottom:10px;overflow:hidden}
.hot-bar .banner{
  width:180px;height:50px;flex-shrink:0;background:linear-gradient(90deg,#de1e30,#ff5a45);
  display:flex;align-items:center;justify-content:center;color:#fff;font-size:14px;font-weight:700;letter-spacing:1px;
}
.hot-scroll{flex:1;display:flex;align-items:center;height:100%;gap:30px;padding-left:24px;overflow:hidden}
.hot-scroll a{font-size:14px;color:var(--g1);white-space:nowrap;transition:color .15s}
.hot-scroll a:hover{color:var(--red)}
.hot-more{
  width:93px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:flex-end;
  padding-right:10px;font-size:14px;color:var(--red);
}

/* ============ 内容两栏 ============ */
.cols{display:flex;justify-content:space-between;margin-bottom:10px}
.col-main{width:870px}
.col-side{width:320px}
.col-main>*+*,.col-side>*+*{margin-top:10px}

/* 新闻 */
.news-card{background:#fff;border-radius:6px;padding:14px 14px 12px}
.news-top{display:flex;height:288px;margin-bottom:14px}
.news-cover{
  width:404px;height:288px;border-radius:8px;overflow:hidden;flex-shrink:0;
  background:linear-gradient(135deg,#2c3e50,#4a6572);
  display:flex;align-items:flex-end;padding:16px;color:#fff;font-size:13px;
}
.news-cover span{background:rgba(0,0,0,.45);padding:4px 10px;border-radius:4px}
.news-main{flex:1;padding:0 10px;overflow:hidden;display:flex;flex-direction:column}
.news-title{display:block;font-size:20px;line-height:32px;font-weight:700;color:var(--g1);padding-left:5px;margin-bottom:4px;transition:color .15s}
.news-title:hover{color:var(--red)}
.news-list{flex:1;overflow:hidden;display:flex;flex-direction:column}
.news-list a{display:block;font-size:14px;line-height:32px;color:var(--g2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transition:color .15s}
.news-list a::before{content:'';display:inline-block;width:4px;height:4px;border-radius:50%;background:var(--g4);vertical-align:4px;margin-right:9px}
.news-list a:hover{color:var(--red)}
.news-cards{display:flex;gap:11px;overflow:hidden;height:216px}
.ncard{width:197px;flex-shrink:0}
.ncard .thumb{
  width:195px;height:140px;border-radius:6px;overflow:hidden;margin-bottom:7px;
  background:linear-gradient(135deg,#dfe6ec,#b9c6d2);
  display:flex;align-items:center;justify-content:center;color:#fff;font-size:12px;
}
.ncard p{
  height:40px;font-size:15px;line-height:22px;color:var(--g1);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:14px;
}
.ncard:hover p{color:var(--red)}
.ncard .meta{height:14px;display:flex;align-items:center;font-size:12px;color:var(--g3)}
.ncard .meta span:first-child{margin-right:7px}

/* 今日热点 */
.hotnews{background:#fff;border-radius:6px;overflow:hidden;display:flex;flex-direction:column}
.hotnews-hd{
  height:45px;flex-shrink:0;display:flex;align-items:center;padding:0 12px;
  border-bottom:1px solid var(--g7);font-size:14px;font-weight:700;color:var(--g1);
}
.hotnews-hd::before{content:'';width:3px;height:14px;border-radius:2px;background:var(--red);margin-right:8px}
.hotnews-list{padding:11px 13px;max-height:700px;overflow:hidden}
.hotnews-list a{
  position:relative;padding-left:20px;font-size:15px;line-height:22px;color:var(--g1);
  margin-bottom:12px;overflow:hidden;text-overflow:ellipsis;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
}
.hotnews-list a:hover{color:var(--red)}
.hotnews-list a .rk{position:absolute;left:0;top:0;width:15px;text-align:center;font-size:13.5px;font-weight:700;color:#ffa03b}
.hotnews-list a.top3 .rk{color:var(--red)}

/* ============ 焦点直播 ============ */
.live-card{background:#fff;border-radius:6px;overflow:hidden;display:flex;flex-direction:column}
.live-hd{display:flex;align-items:center;height:45px;padding-right:20px;overflow:hidden}
.live-hd .title{font-size:16px;font-weight:700;color:var(--g1);padding:0 20px;flex-shrink:0}
.live-tabs{display:flex;align-items:center;height:45px}
.live-tabs li{
  display:flex;align-items:center;height:45px;padding:0 14px;
  font-size:16px;color:var(--g1);cursor:pointer;transition:color .15s;
}
.live-tabs li .ico{margin-right:4px;stroke:currentColor}
.live-tabs li:hover{color:var(--red)}
.live-tabs li.on{color:var(--red);font-weight:600}
.live-hd .more{
  margin-left:auto;padding-right:20px;font-size:14px;color:var(--red);
  display:inline-flex;align-items:center;flex-shrink:0;
}
.live-tools{
  display:flex;align-items:center;height:36px;padding:0 20px;gap:6px;
  border-bottom:1px solid var(--g7);
}
.live-tools li{
  height:24px;line-height:24px;padding:0 10px;border-radius:3px;
  font-size:12px;color:var(--g2);cursor:pointer;transition:.15s;user-select:none;
}
.live-tools li:hover{color:var(--red)}
.live-tools li.on{background:#fdecee;color:var(--red);font-weight:600}

.match-scroll{max-height:640px;overflow-y:auto;padding:10px 20px}
.match-scroll::-webkit-scrollbar{width:6px}
.match-scroll::-webkit-scrollbar-thumb{background:#d8dade;border-radius:3px}
.date-title{height:28px;line-height:28px;font-size:12px;color:var(--g3);padding-left:2px}

.match{
  display:grid;
  grid-template-columns:40px 50px 80px 60px 1fr 80px 1fr 60px 20px;
  align-items:center;gap:0 10px;min-height:42px;padding:6px 0;
  border-bottom:1px solid #f5f6f7;transition:background .13s;
}
.match:hover{background:#fafbfc}
.match:last-child{border-bottom:0}
.m-icon{display:flex;justify-content:center;align-items:center}
.m-icon .ico{stroke:var(--g3)}
.m-time{font-size:12px;color:var(--g1);text-align:center;white-space:nowrap;font-variant-numeric:tabular-nums}
.m-league{
  font-size:12px;line-height:18px;color:var(--g1);text-align:center;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.m-state{font-size:12px;color:var(--g3);text-align:center;line-height:17px}
.m-state .live{color:var(--red)}
.m-team{display:flex;align-items:center;min-width:0}
.m-team.home{justify-content:flex-end}
.m-team.away{justify-content:flex-start}
.m-team p{font-size:13px;color:var(--g1);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.m-team img{width:24px;height:24px;object-fit:contain;flex-shrink:0}
.m-team.home img{margin-left:10px}
.m-team.away img{margin-right:10px}
.m-score{text-align:center;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.m-score .win{color:var(--g1)}
.m-score .lose{color:var(--g3)}
.m-score .sep{color:var(--g1);font-weight:400;margin:0 1px}
.m-score .live{color:var(--red)}
.m-score .vs{color:var(--g3);font-weight:600}
.m-video{display:flex;justify-content:center}
.m-video .ico{stroke:var(--g2);stroke-width:1.5}
.m-arrow{display:flex;justify-content:center}
.m-arrow .ico{stroke:var(--g3);stroke-width:2}

/* ============ 榜单 ============ */
.rank-card{background:#fff;border-radius:6px;overflow:hidden;margin-bottom:10px}
.rank-tabs{display:flex;align-items:center;height:44px;padding:0 12px;border-bottom:1px solid var(--g7)}
.rank-tabs ul{display:flex;align-items:center;gap:18px}
.rank-tabs li{font-size:14px;color:var(--g2);cursor:pointer;position:relative;padding-bottom:2px;transition:color .15s}
.rank-tabs li:hover{color:var(--red)}
.rank-tabs li.on{color:var(--red);font-weight:600}
.rank-tabs li.on::after{content:'';position:absolute;left:0;right:0;bottom:-12px;height:2px;background:var(--red);border-radius:2px}
.rank-tabs .more{margin-left:auto;font-size:14px;color:var(--red);display:inline-flex;align-items:center}
.season-tabs{display:flex;align-items:center;gap:16px;padding:0 12px;height:36px;border-bottom:1px solid var(--g7);overflow:hidden}
.season-tabs li{font-size:12px;color:var(--g2);cursor:pointer;white-space:nowrap;transition:color .15s}
.season-tabs li:hover{color:var(--red)}
.season-tabs li.on{color:var(--red);font-weight:600}
.rank-table{width:100%;border-collapse:collapse;font-size:12px}
.rank-table th{height:32px;font-weight:400;color:var(--g3);text-align:center;background:#fafbfc}
.rank-table td{height:38px;text-align:center;color:var(--g1);border-bottom:1px solid #f5f6f7}
.rank-table tr:last-child td{border-bottom:0}
.rank-table tr:hover td{background:#fafbfc}
.rank-table .team-col{text-align:left}
.rank-table .team-col a{display:flex;align-items:center;gap:8px}
.rank-table .team-col img{width:20px;height:20px;object-fit:contain}
.rank-table .team-col span{font-size:12px;color:var(--g1);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:96px}
.rank-badge{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:3px;font-size:11px;font-weight:700;color:#fff;background:#c9ccd1}
.rank-legend{display:flex;flex-wrap:wrap;gap:20px;padding:10px;background:var(--g6);border-radius:4px;margin:10px}
.rank-legend span{display:flex;align-items:center;font-size:12px;color:var(--g1)}
.rank-legend i{width:8px;height:8px;border-radius:4px;margin-right:5px;display:block}

/* ============ 版权 ============ */
.copyright{background:#fff;margin-top:10px}
.copyright h2{height:72px;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:700;color:var(--g1)}
.copyright-row{height:76px;overflow:hidden}
.copyright-track{display:flex;height:100%}
.copyright-item{flex-shrink:0;height:100%;width:190px;display:flex;align-items:center;justify-content:center;font-size:13px;color:var(--g2);border-right:1px solid var(--g7)}

/* ============ 页脚 ============ */
.foot{background:#fff;margin-top:10px}
.foot-in{width:1200px;margin:0 auto;padding:36px 0;display:flex}
.foot-l{width:630px;padding-right:42px}
.foot-r{flex:1;padding-left:64px;border-left:1px solid var(--g5)}
.foot-sec{margin-bottom:20px}
.foot-sec h3{display:flex;align-items:center;font-size:14px;font-weight:700;color:var(--g2);margin-bottom:6px}
.foot-sec h3::before{content:'';width:3px;height:14px;border-radius:2px;background:var(--red);margin-right:14px}
.foot-links{padding-left:17px;display:flex;flex-wrap:wrap}
.foot-links a{width:100px;flex-shrink:0;font-size:12px;line-height:18px;color:var(--g2);margin-bottom:10px;transition:color .15s}
.foot-links a:hover{color:var(--red)}
.foot-info{padding-left:17px;display:flex;flex-direction:column;gap:10px}
.foot-info p{font-size:12px;line-height:18px;color:var(--g2)}
.foot-info p span{margin-right:16px;white-space:nowrap}
.foot-bottom{background:#262626;color:#fff;padding:14px 0 16px;font-size:12px}
.foot-bottom-in{width:1200px;margin:0 auto}
.foot-bottom ol{display:flex;flex-wrap:wrap;align-items:center;justify-content:center}
.foot-bottom li{display:flex;align-items:center;color:#bfbfbf;margin:0 6px;line-height:24px}
.foot-bottom li a{color:#bfbfbf;transition:color .15s}
.foot-bottom li a:hover{color:#fff}
.foot-bottom em{width:1px;height:12px;background:#4a4a4a;margin:0 8px}
.foot-bottom .cr{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:8px;color:#bfbfbf}