:root{
  --bg:#0d1117;
  --surface:#151b24;
  --surface-2:#1b2431;
  --border:#232d3a;
  --text:#e6edf3;
  --text-dim:#8b98a9;
  --green:#00e07a;
  --green-dark:#00a85c;
  --radius:14px;
}
*{box-sizing:border-box;margin:0;padding:0}
body{
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  background:var(--bg);color:var(--text);min-height:100vh;
  -webkit-font-smoothing:antialiased;
}
button{font:inherit;color:inherit;background:none;border:none;cursor:pointer}
a{color:inherit;text-decoration:none}

/* =========================================================
   所有表情符号集中在这里（CSS content）
   ========================================================= */

/* --- Logo --- */
.logo-mark::before{content:"⚽"}

/* --- 新闻卡片缩略图（大图标） --- */
.news-thumb::before{content:"";font-size:26px}
.news-thumb[data-ic="ball"]::before{content:"⚽"}
.news-thumb[data-ic="basket"]::before{content:"🏀"}
.news-thumb[data-ic="fire"]::before{content:"🔥"}
.news-thumb[data-ic="star"]::before{content:"⭐"}
.news-thumb[data-ic="devil"]::before{content:"😈"}
.news-thumb[data-ic="heart"]::before{content:"💛"}

/* --- 联赛图标（小图标） --- */
.league-icon::before{content:"";font-size:15px}
.league-icon[data-ic="ball"]::before{content:"⚽"}
.league-icon[data-ic="basket"]::before{content:"🏀"}

/* --- 空状态 --- */
.empty::before{
  content:"📭";
  font-size:34px;display:block;margin-bottom:10px;opacity:.7;
}

/* ============ Header ============ */
.site-header{
  position:sticky;top:0;z-index:100;
  background:rgba(13,17,23,.88);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  max-width:1200px;margin:0 auto;padding:0 20px;
  height:60px;display:flex;align-items:center;gap:28px;
}
.logo{display:flex;align-items:center;gap:8px;font-size:17px;font-weight:800;letter-spacing:.3px;white-space:nowrap}
.logo-mark{
  width:30px;height:30px;border-radius:9px;
  background:linear-gradient(135deg,var(--green),var(--green-dark));
  display:grid;place-items:center;font-size:16px;
  box-shadow:0 4px 14px rgba(0,224,122,.25);
}
.nav{display:flex;gap:4px;flex:1;overflow-x:auto;scrollbar-width:none}
.nav::-webkit-scrollbar{display:none}
.nav a{padding:8px 14px;border-radius:9px;font-size:14px;color:var(--text-dim);white-space:nowrap;transition:.2s}
.nav a:hover{color:var(--text);background:var(--surface-2)}
.nav a.active{background:var(--green);color:#04130c;font-weight:700}

/* ============ Layout ============ */
.page{max-width:1200px;margin:0 auto;padding:24px 20px 40px}
.section-head{display:flex;align-items:center;gap:14px;margin-bottom:16px;flex-wrap:wrap}
.section-title{font-size:19px;font-weight:700;display:flex;align-items:center;gap:9px}
.section-title::before{content:"";width:4px;height:18px;border-radius:2px;background:var(--green)}

.sport-tabs{display:flex;gap:8px;margin-left:auto}
.sport-tab{
  padding:7px 18px;border-radius:999px;font-size:13px;
  color:var(--text-dim);background:var(--surface-2);
  border:1px solid transparent;transition:.2s;
}
.sport-tab:hover{color:var(--text)}
.sport-tab.active{
  background:rgba(0,224,122,.12);color:var(--green);
  border-color:rgba(0,224,122,.35);font-weight:700;
}

/* ============ News 新闻资讯 ============ */
.news-section{margin-bottom:28px}
.news-more{
  font-size:13px;color:var(--text-dim);
  display:flex;align-items:center;gap:4px;transition:.2s;
}
.news-more:hover{color:var(--green)}

.news-panel{display:none}
.news-panel.active{display:block;animation:fadeIn .28s ease}
@keyframes fadeIn{
  from{opacity:0;transform:translateY(5px)}
  to{opacity:1;transform:translateY(0)}
}

.news-groups{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}
.news-group{display:flex;flex-direction:column;gap:8px}

.news-card{
  display:flex;gap:12px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:12px;
  transition:.2s;
  cursor:pointer;
}
.news-card:hover{
  border-color:rgba(0,224,122,.4);
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(0,0,0,.28);
}
.news-thumb{
  flex:0 0 96px;height:68px;border-radius:9px;
  display:grid;place-items:center;
  overflow:hidden;
  background:linear-gradient(135deg,#1f2a3a,#151b24);
  position:relative;
}
.news-thumb::after{
  content:"";position:absolute;inset:0;
  background:radial-gradient(circle at 30% 25%,rgba(0,224,122,.22),transparent 60%);
  pointer-events:none;
}
.news-body{min-width:0;display:flex;flex-direction:column;gap:6px;flex:1}
.news-title{
  font-size:14px;font-weight:600;line-height:1.45;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  overflow:hidden;
}
.news-meta{
  margin-top:auto;display:flex;align-items:center;gap:8px;
  font-size:11.5px;color:var(--text-dim);
}
.news-tag{
  padding:2px 8px;border-radius:6px;font-size:11px;
  background:rgba(0,224,122,.12);color:var(--green);
  border:1px solid rgba(0,224,122,.28);
}
.news-tag.hot{background:rgba(255,86,86,.12);color:#ff6b6b;border-color:rgba(255,86,86,.3)}

.news-sub-list{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
}
.news-sub-item{
  display:flex;align-items:center;gap:10px;
  padding:10px 14px;
  border-bottom:1px solid var(--border);
  transition:background .15s;
  cursor:pointer;
}
.news-sub-item:last-child{border-bottom:none}
.news-sub-item:hover{background:rgba(255,255,255,.025)}
.news-sub-idx{
  flex:0 0 auto;width:18px;text-align:center;
  font-size:12.5px;font-weight:800;font-style:italic;
  color:var(--text-dim);font-variant-numeric:tabular-nums;
}
.news-sub-item:nth-child(1) .news-sub-idx{color:#ff5b5b}
.news-sub-item:nth-child(2) .news-sub-idx{color:#ff9f43}
.news-sub-item:nth-child(3) .news-sub-idx{color:#ffd93d}
.news-sub-title{
  flex:1;min-width:0;
  font-size:13px;line-height:1.4;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.news-sub-item:hover .news-sub-title{color:var(--green)}
.news-sub-meta{
  flex:0 0 auto;font-size:11px;color:var(--text-dim);
  white-space:nowrap;
}

/* ============ Date bar ============ */
.date-bar{display:flex;gap:8px;overflow-x:auto;padding-bottom:6px;margin-bottom:18px;scrollbar-width:none}
.date-bar::-webkit-scrollbar{display:none}
.date-item{
  flex:0 0 auto;min-width:74px;padding:9px 12px;border-radius:11px;
  background:var(--surface);border:1px solid var(--border);
  display:flex;flex-direction:column;align-items:center;gap:3px;transition:.2s;
}
.date-item .d-label{font-size:14px;font-weight:600}
.date-item .d-sub{font-size:11px;color:var(--text-dim)}
.date-item:hover{border-color:#39465a}
.date-item.active{
  background:linear-gradient(180deg,rgba(0,224,122,.16),rgba(0,224,122,.04));
  border-color:rgba(0,224,122,.5);
}
.date-item.active .d-label{color:var(--green)}
.date-item.active .d-sub{color:rgba(0,224,122,.75)}

/* ============ 日期面板 + 联赛块 ============ */
.date-panel{display:none}
.date-panel.active{display:block;animation:fadeIn .28s ease}
.date-panel .empty{display:none}
.date-panel.no-match .empty{display:block}

.league-block{
  background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius);overflow:hidden;margin-bottom:14px;
}
.league-block.hide{display:none}
.league-head{
  display:flex;align-items:center;gap:10px;
  padding:12px 18px;background:var(--surface-2);
  border-bottom:1px solid var(--border);
}
.league-icon{display:grid;place-items:center}
.league-name{font-size:14px;font-weight:700;letter-spacing:.2px}
.league-count{font-size:12px;color:var(--text-dim);margin-left:auto}

/* ============ Match row ============ */
.match-row{
  display:grid;grid-template-columns:60px 1fr 104px;
  align-items:center;gap:14px;padding:15px 18px;
  border-bottom:1px solid var(--border);transition:background .15s;
}
.match-row:last-child{border-bottom:none}
.match-row:hover{background:rgba(255,255,255,.025)}
.match-row.is-live{background:linear-gradient(90deg,rgba(0,224,122,.07),transparent 45%)}

.m-time{font-size:13px;color:var(--text-dim);font-variant-numeric:tabular-nums}
.m-teams{display:grid;grid-template-columns:1fr 80px 1fr;align-items:center;gap:10px}
.team{display:flex;align-items:center;gap:9px;min-width:0}
.team.home{justify-content:flex-end}
.team.away{justify-content:flex-start}
.team-name{font-size:14.5px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.badge{
  width:27px;height:27px;border-radius:50%;flex:0 0 auto;
  display:grid;place-items:center;font-size:12px;font-weight:700;color:#fff;
}
.m-score{text-align:center;font-size:16px;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:.5px}
.m-score.is-live{color:var(--green)}
.m-score.vs{font-size:13px;font-weight:600;color:var(--text-dim)}

.m-action{display:flex;justify-content:flex-end}
.btn-live{
  padding:7px 16px;border-radius:9px;font-size:13px;font-weight:700;
  background:var(--green);color:#04130c;white-space:nowrap;
  transition:.2s;animation:glow 2.2s ease-in-out infinite;
}
.btn-live:hover{filter:brightness(1.08);transform:translateY(-1px)}
.btn-live.ghost{
  background:transparent;color:var(--text-dim);
  border:1px solid var(--border);font-weight:500;animation:none;
}
.btn-live.ghost:hover{color:var(--text);border-color:#39465a;background:var(--surface-2)}
@keyframes glow{
  0%,100%{box-shadow:0 0 0 0 rgba(0,224,122,.45)}
  50%{box-shadow:0 0 0 7px rgba(0,224,122,0)}
}

/* ============ Empty ============ */
.empty{
  padding:70px 20px;text-align:center;color:var(--text-dim);
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
}
.empty p{font-size:14px}

/* ============ Footer ============ */
.site-footer{border-top:1px solid var(--border);background:var(--surface);padding:28px 20px;text-align:center}
.footer-inner{max-width:1200px;margin:0 auto}
.site-footer p{font-size:12.5px;color:var(--text-dim);line-height:1.9}
.site-footer .copy{margin-top:6px;opacity:.65}

/* ============ Responsive ============ */
@media(max-width:720px){
  .header-inner{height:54px;gap:16px;padding:0 14px}
  .logo span:last-child{display:none}
  .page{padding:18px 14px 32px}
  .section-title{font-size:17px}
  .sport-tab{padding:6px 14px;font-size:12.5px}
  .news-groups{grid-template-columns:1fr;gap:14px}
  .news-thumb{flex:0 0 82px;height:60px}
  .news-thumb::before{font-size:22px}
  .news-title{font-size:13.5px}
  .news-sub-item{padding:9px 12px;gap:8px}
  .news-sub-title{font-size:12.5px}
  .news-sub-meta{display:none}
  .match-row{grid-template-columns:48px 1fr 78px;gap:8px;padding:13px 12px}
  .m-teams{grid-template-columns:1fr 62px 1fr;gap:6px}
  .team{gap:6px}
  .team-name{font-size:13px}
  .badge{width:23px;height:23px;font-size:11px}
  .m-score{font-size:14.5px}
  .btn-live{padding:6px 11px;font-size:12px;border-radius:8px}
  .league-head{padding:11px 14px}
  .date-item{min-width:66px;padding:8px 10px}
}