:root{color-scheme:light;--blue:#459ADD;--blue-d:#3e8ac6;--ink:#333;--muted:#666;--line:#eee;--bg:#f3f6f9}
*{box-sizing:border-box}
body{margin:0;font-family:"PingFang SC","Microsoft YaHei",sans-serif;background:var(--bg);color:var(--ink);line-height:1.6}
img{max-width:100%;border:0}
a{color:var(--blue);text-decoration:none}
.wrap{width:min(1120px,calc(100% - 16px));margin:0 auto}
.top{background:var(--blue);color:#fff}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px}
.logo{display:flex;align-items:center;gap:8px;color:#fff;font-size:22px}
.logo strong{font-weight:700}
.menu{display:flex;gap:4px}
.menu a{color:#fff;padding:6px 12px;border-radius:6px}
.menu a.on,.menu a:hover{font-weight:700;background:rgba(255,255,255,.16)}
.sub{display:flex;gap:14px;overflow:auto;padding:0 0 10px}
.sub a{flex:0 0 auto;color:#fff;font-size:15px;padding-bottom:4px}
.sub a.on{font-weight:700;border-bottom:3px solid #fff}
.lead-line{margin:12px 4px;color:var(--muted);font-size:14px}
.rec{margin-top:14px;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 4px 14px rgba(0,0,0,.06)}
.rec-h{background:var(--blue);color:#fff;padding:12px 16px}
.rec-h h2{margin:0;font-size:17px}
.hscroller{overflow:auto;padding:12px}
.hlist{display:flex;gap:12px;margin:0;padding:0;list-style:none}
.hcard{flex:0 0 230px;border:1px solid var(--blue);border-radius:14px;overflow:hidden;background:#fff}
.hleague{text-align:center;font-weight:700;padding-top:8px}
.hleague a{color:var(--ink)}
.hteams{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:8px 10px 10px;color:inherit}
.hteam{width:38%;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:13px;text-align:center}
.hteam img{width:36px;height:36px;object-fit:contain}
.hscore{min-width:54px;height:32px;line-height:32px;text-align:center;border-radius:8px;background:#f3f4f6;color:#7a7a7a;font-weight:700}
.hscore.live{background:#fff0f0;color:#e02020}
.hstatus{height:34px;line-height:34px;text-align:center;font-size:13px;font-weight:700;border-top:1px solid #f1edf6}
.hstatus.wait{background:#fff7e8;color:#a66b00}
.hstatus.live{background:#ff3b30;color:#fff}
.panel{background:#fff;border-radius:10px;padding:8px 8px 12px;margin-top:14px}
.stab{display:inline-flex;align-items:center;gap:6px;min-width:162px;height:44px;margin:8px 0 4px;padding:0 28px 4px 12px;color:#fff;font-size:18px;background:url(/assets/img/title_bg.png) no-repeat center / 100% 100%}
.stab img{width:22px;height:22px}
.dates{display:flex;gap:8px;overflow:auto;margin:8px 0}
.dates a{background:#f3f4f6;color:#333;border-radius:999px;padding:6px 12px;white-space:nowrap}
.dates a.on{background:var(--blue);color:#fff}
.zdate{margin:8px 8px 4px;color:var(--blue);font-size:16px;font-weight:700}
.zdate:before{content:"";display:inline-block;width:8px;height:16px;margin-right:8px;background:var(--blue);transform:skewX(-25deg);vertical-align:-2px}
.sec{margin:16px 0}
.sec h2.gname,.gname{margin:16px 8px 6px;font-size:16px;color:var(--blue)}
.mlist{background:#fff}
.mrow{display:flex;align-items:center;gap:8px;padding:12px 8px;border-top:1px solid var(--line);color:inherit}
.mrow:hover{background:#f7fbff}
.mtime{display:flex;flex-direction:column;width:58px;line-height:1.25;color:#333;font-size:14px}
.mdate{color:#888;font-size:12px}
.mleague{width:64px;color:#666;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.qiu{width:18px;height:18px}
.mteams{flex:1;display:grid;grid-template-columns:minmax(0,1fr) 28px 68px 28px minmax(0,1fr);align-items:center;column-gap:8px;min-width:0}
.tname{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700;font-size:14px}
.tname.home{text-align:right}
.tname.away{text-align:left}
.tlogo{width:28px;height:28px;object-fit:contain}
.score{text-align:center;color:#ff1336;font-weight:700;font-variant-numeric:tabular-nums}
.zbtn{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:88px;height:30px;padding:0 8px;border-radius:5px;color:#fff;font-size:14px;background:#bbb}
.zbtn img{width:16px;height:16px}
.zbtn.live{background:var(--blue)}
.zbtn.end{background:#bbb}
.zbtn.wait{background:#8fb7de}
.more{margin:10px 8px 0}
.empty,.note{background:#fff;border-radius:8px;padding:16px;color:var(--muted)}
.home-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:14px;align-items:start}
.home-main .panel{margin-top:0}
.home-side .side-box{margin:0 0 14px;background:#fff;border-radius:10px;padding:4px 10px 12px}
.home-side .nlist,.home-side .vlist{gap:0}
.home-side .ncard,.home-side .vcard{grid-template-columns:72px minmax(0,1fr);gap:8px;padding:8px 0;border-radius:0;background:transparent;border-top:1px solid var(--line)}
.home-side .ncard:first-child,.home-side .vcard:first-child{border-top:0}
.home-side .nimg{height:48px}
.home-side .vph{height:auto;min-height:48px;padding:4px;font-size:12px;line-height:1.25;text-align:center}
.home-side .ntxt > span{display:none}
.home-side .ntxt strong,.home-side .vtxt strong{font-size:14px;line-height:1.4}
.nlist,.vlist{display:grid;gap:12px}
.ncard,.vcard{display:grid;grid-template-columns:168px 1fr;gap:12px;background:#fff;border-radius:10px;padding:12px;color:inherit}
.nimg,.vph{height:104px;border-radius:8px;overflow:hidden;background:#eef5fb;display:flex;align-items:center;justify-content:center;color:var(--blue);font-weight:700}
.nimg img{width:100%;height:100%;object-fit:cover}
.ntxt,.vtxt{display:flex;flex-direction:column;gap:6px}
.ntxt span,.vtxt time,.ntxt time{color:var(--muted);font-size:13px}
.ntxt em{font-style:normal;color:var(--blue);margin-right:6px}
.vcard{grid-template-columns:88px 1fr}
.vph{height:72px}
.board{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;background:#fff;border:1px solid #d7ebf8;border-radius:14px;padding:22px}
.side{text-align:center}
.side img{width:72px;height:72px;object-fit:contain}
.side strong{display:block;margin-top:8px}
.mid{text-align:center}
.when{margin:0;color:var(--muted)}
.big{margin:6px 0;font-size:40px;font-weight:800;line-height:1;color:#ff1336}
.half,.mstate{color:var(--muted);font-size:13px}
.mstate.live{color:#ff3b30;font-weight:700}
.badge{display:inline-flex;width:72px;height:72px;border-radius:50%;background:#e8f3fb;color:var(--blue);align-items:center;justify-content:center;font-size:28px}
.match-page h1,.article h1{font-size:26px;line-height:1.4}
.lead{color:var(--muted)}
.player{margin-top:12px;background:#111;border-radius:12px;overflow:hidden}
.player video{width:100%;max-height:520px;background:#000}
.lines{display:flex;flex-wrap:wrap;gap:8px;padding:12px;background:#fff}
.line{border:1px solid #c5dff3;background:#fff;color:var(--blue);border-radius:8px;padding:6px 12px;cursor:pointer}
.line.on{background:var(--blue);color:#fff}
.article{background:#fff;border-radius:12px;padding:22px}
.meta{color:var(--muted);font-size:13px}
.cover img,.content img{border-radius:8px}
.content p{font-size:16px;line-height:1.85}
.crumbs{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0;color:var(--muted);font-size:13px}
.pager{display:flex;justify-content:center;gap:10px;margin-top:16px}
.pager a,.pager span{background:#fff;border-radius:8px;padding:8px 14px}
.foot{background:var(--blue);color:#eaf5fc;padding:28px 0;margin-top:28px}
.foot .desc{margin:0 0 8px;line-height:1.7}
.foot a{color:#fff}
.flinks{display:flex;flex-wrap:wrap;gap:10px 14px}
.copy{color:#d3ebf8}
@media (max-width:760px){
  .wrap{width:min(1120px,calc(100% - 12px))}
  .logo{font-size:18px}
  .logo img{width:30px;height:30px}
  .topbar{flex-wrap:wrap;padding:8px 0;min-height:0}
  .menu{width:100%;overflow:auto}
  .menu a{padding:6px 10px}
  .sub{gap:12px}
  .mrow{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"time league btn" "teams teams teams";align-items:center;column-gap:8px;row-gap:8px}
  .mtime{grid-area:time;width:auto}
  .mleague{grid-area:league;width:auto;max-width:100%}
  .qiu{display:none}
  .zbtn{grid-area:btn;min-width:72px;height:28px;margin:0;font-size:13px}
  .mteams{grid-area:teams;grid-template-columns:minmax(0,1fr) 24px 52px 24px minmax(0,1fr);column-gap:4px}
  .tlogo{width:24px;height:24px}
  .tname{font-size:13px}
  .score{font-size:14px}
  .home-grid{grid-template-columns:minmax(0,1fr)}
  .home-main,.home-side,.panel,.mlist,.mrow,.mteams,.dates,.sec{min-width:0;max-width:100%}
  .home-side .ncard,.home-side .vcard{grid-template-columns:56px minmax(0,1fr)}
  .ncard,.vcard{grid-template-columns:1fr}
  .nimg,.vph{height:160px}
  .home-side .nimg{height:48px}
  .board{padding:14px 8px;gap:8px}
  .big{font-size:28px}
  .side img,.badge{width:52px;height:52px}
  .match-page h1,.article h1{font-size:20px}
  .article{padding:14px}
  .hcard{flex-basis:168px}
  .lines.signal{display:grid;grid-template-columns:1fr 1fr}
  .lines.signal .line{width:100%;text-align:center}
  .lead-line{font-size:13px}
}
