:root{
  --blue:#2f2f86;
  --bg:#f3f4f8;
  --card:#fff;
  --line:#e6e8f0;
  --text:#0f172a;
  --muted:#64748b;
  --pill:#eef2ff;
  --pillbd:#e5e7ff;
  --shadow:0 6px 18px rgba(17,24,39,.08);
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:system-ui,-apple-system,"PingFang SC","Microsoft YaHei",Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.wrap{width:min(1180px,92vw);margin:0 auto}

/* 顶部导航 */
.topnav{background:var(--blue);color:#fff}
.nav-inner{display:flex;align-items:center;justify-content:space-between;padding:12px 0}
.logo{display:flex;align-items:center;gap:10px;font-weight:900}
.logo-ico{width:14px;height:14px;border-radius:50%;background:#ffd166;display:inline-block}
.menu{display:flex;gap:22px;font-size:14px}
.menu a{opacity:.9}
.menu a.on{opacity:1;font-weight:900;border-bottom:2px solid #fff;padding-bottom:6px}

/* 面包屑 */
.crumb{
  margin:12px 0 10px;
  font-size:12px;
  color:var(--muted);
}
.crumb a{color:var(--muted)}
.crumb a:hover{color:var(--blue)}
.crumb .sep{margin:0 6px}

/* 头部 */
.list-head{margin-top:6px}
.lh-title{display:flex;align-items:center;gap:10px;padding:8px 0}
.lh-dot{width:12px;height:12px;border-radius:50%;background:#ff3b30;display:inline-block}
.lh-title h1{margin:0;font-size:18px;font-weight:900;color:var(--text)}

/* 筛选栏 */
.filter-bar{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:var(--shadow);
  padding:12px 12px;
}
.filter-label{font-weight:900;margin-bottom:10px}
.filter-pills{display:flex;flex-wrap:wrap;gap:10px}
.pill{
  font-size:12px;
  font-weight:800;
  padding:7px 12px;
  border-radius:999px;
  background:var(--pill);
  border:1px solid var(--pillbd);
  color:var(--blue);
}
.pill:hover{filter:brightness(.98)}

/* 日期条 */
.match-wrap{margin:14px 0}
.day-bar{
  margin-top:14px;
  padding:12px 14px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:12px;
  font-weight:900;
  box-shadow:var(--shadow);
}
.day-bar.second{
  background:#fff7ed;
  border-color:#f1e0c8;
}

/* 表格容器 */
.table{
  margin-top:10px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  box-shadow:var(--shadow);
}

/* 行：仿截图（时间/联赛/对阵/按钮） */
.tr{
  display:grid;
  grid-template-columns: 140px 260px 1fr 120px;
  gap:12px;
  align-items:center;
  padding:12px 14px;
  border-top:1px solid #edf0f6;
}
.tr:first-child{border-top:none}
.tr:hover{background:#fbfcff}

/* 时间列 */
.td.time .t1{
  font-variant-numeric:tabular-nums;
  font-size:12px;
  font-weight:900;
  color:var(--text);
  white-space:nowrap;
}

/* 联赛列 */
.td.league{min-width:0}
.lg{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.ico{
  width:22px;height:22px;
  border-radius:6px;
  object-fit:cover;
  background:#f1f5f9;
  box-shadow:0 2px 10px rgba(0,0,0,.12);
  flex:0 0 auto;
}
.lg .name{
  font-size:12px;
  font-weight:900;
  color:var(--text);
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* 对阵列 */
.td.vs{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.team{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  max-width:46%;
}
.logos{
  width:22px;height:22px;
  border-radius:50%;
  object-fit:cover;
  background:#fff;
  box-shadow:0 2px 10px rgba(0,0,0,.12);
  flex:0 0 auto;
}
.nm{
  font-size:13px;
  font-weight:900;
  color:var(--text);
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.colon{
  font-weight:900;
  color:var(--muted);
  flex:0 0 auto;
}

/* 按钮列 */
.td.act{
  display:flex;
  justify-content:flex-end;
}
.btn{
  display:inline-block;
  min-width:88px;
  text-align:center;
  padding:8px 12px;
  border-radius:10px;
  font-size:12px;
  font-weight:900;
  color:#fff;
  user-select:none;
}
.btn.live{background:var(--blue)}
.btn.soon{background:#9ca3af;color:#fff}

/* 回到顶部 */
.to-top{
  position:fixed;
  right:18px;
  bottom:20px;
  width:38px;
  height:38px;
  border-radius:999px;
  background:#9ca3af;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  box-shadow:0 10px 22px rgba(0,0,0,.18);
  opacity:.85;
}
.to-top:hover{opacity:1}

/* 页脚 */
.footer{margin-top:18px;background:var(--blue);color:#c7d2fe}
.footer .wrap{padding:16px 0}
.f-links{display:flex;gap:18px;flex-wrap:wrap}
.f-links a{color:#fff;opacity:.9;font-size:13px;font-weight:700}
.f-meta{margin-top:10px;font-size:12px;line-height:1.7}
.f-meta p{margin:6px 0}

/* 响应式 */
@media (max-width: 980px){
  .tr{grid-template-columns: 130px 220px 1fr 110px}
}
@media (max-width: 640px){
  .menu{gap:12px}
  .tr{grid-template-columns: 120px 1fr 96px}
  .td.league{display:none}
  .team{max-width:48%}
}
