:root{
  --brand:#ffb400;
  --brand-2:#ff7a00;
  --ink:#222;
  --muted:#888;
  --bg:#f7f8fa;
  --radius:8px;
  --shadow:0 2px 10px rgba(0,0,0,.05);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"PingFang SC","Microsoft YaHei",sans-serif;
  background:var(--bg);
  color:var(--ink);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
a{text-decoration:none;color:inherit}
ul{list-style:none}
.container{max-width:1200px;margin:0 auto;padding:0 15px}

/* ============ 顶部导航 ============ */
.header{
  position:sticky;top:0;z-index:100;
  background:#1f2229;
  box-shadow:0 2px 8px rgba(0,0,0,.1);
}
.header .container{
  display:flex;justify-content:space-between;align-items:center;
  height:60px;gap:20px;
}
.logo{
  display:flex;align-items:center;gap:10px;
  font-size:20px;font-weight:800;color:#fff;
}
.logo .mark{
  width:32px;height:32px;border-radius:8px;
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
  display:grid;place-items:center;color:#fff;font-size:14px;font-weight:900;
}
.nav{display:flex;gap:5px;align-items:center}
.nav a{
  font-size:15px;color:#aaa;
  padding:8px 16px;border-radius:6px;transition:.2s;
}
.nav a:hover{color:#fff}
.nav a.active{color:#fff;background:rgba(255,255,255,.1)}

/* ============ 区块标题 ============ */
.section-head{
  display:flex;justify-content:space-between;align-items:flex-end;
  margin:24px 0 16px;gap:16px;
}
.section-title{
  font-size:20px;font-weight:800;
  display: flex; align-items: center; gap: 8px;
}
.section-title::before{
  content:"";display:inline-block;width:4px;height:18px;
  border-radius:2px;background:var(--brand);
}
.link-more{
  font-size:13px;color:var(--muted);transition:.2s;
}
.link-more:hover{color:var(--brand-2)}

/* ============ 截图同款置顶卡片组 ============ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 20px;
  margin-bottom: 30px;
}
.news-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #222;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.news-card:hover { transform: translateY(-2px); }
.news-card .bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.news-card:hover .bg-img { transform: scale(1.05); }

/* 底部黑色渐变遮罩 */
.news-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.3) 60%, transparent 100%);
  pointer-events: none;
}
/* 左上角红色置顶角标 */
.news-card .badge-top {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: #ff4d4f; color: #fff;
  font-size: 12px; font-weight: 500; padding: 2px 6px;
  border-radius: 4px;
}
/* 底部文字 */
.news-card .title-bottom {
  position: absolute; bottom: 10px; left: 10px; right: 10px; z-index: 2;
  color: #fff; font-size: 14px; font-weight: 500; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; text-overflow: ellipsis;
}

/* ============ 录像卡片列表 ============ */
.video-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:12px;
}
.video-item{
  background:#fff;border-radius:var(--radius);
  padding:12px 15px;font-size:14px;
  box-shadow:var(--shadow);
  display:flex;align-items:center;gap:10px;
  transition:.2s;
}
.video-item:hover{ transform:translateY(-2px); box-shadow:0 4px 12px rgba(0,0,0,.08); }
.video-item .date{
  font-size:12px;color:var(--brand-2);font-weight:700;
  background:rgba(255,180,0,.1);padding:2px 6px;border-radius:4px;
  white-space:nowrap;flex-shrink:0;
}
.video-item .title{
  flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#333;
}

/* ============ 直播表格 ============ */
.match-board{
  background:#fff;border-radius:var(--radius);
  box-shadow:var(--shadow);overflow:hidden;
  margin-bottom:20px;
}
.date-header{
  display:flex;align-items:center;gap:8px;
  padding:12px 15px;background:#fafafa;
  border-bottom:1px solid #eee;
  color:#333;font-size:15px;font-weight:800;
}
.date-header .dot{width:6px;height:6px;border-radius:50%;background:var(--brand);}
.match-row{
  display:flex;align-items:center;padding:12px 15px;font-size:14px;
  border-bottom:1px solid #f5f5f5;gap:10px;transition:background .2s;
}
.match-row:last-child{border-bottom:none}
.match-row:hover{background:#fbfbfb}
.league{width:80px;flex-shrink:0;font-size:13px;color:var(--muted);}
.time{width:60px;flex-shrink:0;font-weight:700;color:#111;}
.teams{flex:1;display:flex;align-items:center;justify-content:center;gap:10px;}
.team{font-weight:500;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.score{
  font-weight:800;color:#fff;background:#ff4d4f;
  padding:1px 6px;border-radius:4px;font-size:13px;
}
.vs{color:#bbb;font-size:13px;}
.status{flex-shrink:0;font-size:12px;color:var(--muted);padding:2px 8px;background:#f0f0f0;border-radius:4px;}
.status.live{color:#fff;background:#ff4d4f;animation:pulse 1.5s infinite;}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.7}}

/* ============ 查看更多 ============ */
.more-btn{
  display:flex;align-items:center;justify-content:center;
  padding:15px;margin:10px 0 30px;font-size:14px;color:#666;
  background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);
  cursor:pointer;transition:.2s;
}
.more-btn:hover{color:var(--brand-2)}

/* ============ 页脚 ============ */
.footer{
  background:#1f2229;color:#888;padding:30px 0;font-size:13px;
}
.footer .container{display:flex;justify-content:space-between;flex-wrap:wrap;gap:15px;}
.footer b{color:#fff;}

/* 响应式 */
@media(max-width:992px){
  .news-grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:768px){
  .header .container{height:auto;padding:10px 15px;flex-direction:column;gap:10px;}
  .nav{flex-wrap:wrap;justify-content:center;}
  .news-grid{grid-template-columns:1fr;}
  .match-row{flex-wrap:wrap;gap:6px;}
  .league,.time{width:auto;}
  .teams{width:100%;justify-content:flex-start;order:3;}
  .status{margin-left:auto;}
}