:root {
  --bg: #0b1220;
  --surface: #121b2e;
  --surface-2: #17223a;
  --border: #22304d;
  --text: #e6edf7;
  --muted: #8b98ad;
  --primary: #22c55e;
  --primary-dim: rgba(34, 197, 94, 0.14);
  --blue: #3b82f6;
  --champions: #22c55e;
  --europa: #3b82f6;
  --conference: #14b8a6;
  --relegation: #ef4444;
  --radius: 12px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
}

/* ---------- 头部 ---------- */
.site-header {
  background: linear-gradient(180deg, #0f1930, #0b1220);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.migu-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #ff5f2e, #ff2d78);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(255, 95, 46, .35);
  transition: transform .15s, box-shadow .15s;
}
.migu-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 95, 46, .45);
}
.game-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #22c55e, #14b8a6);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(34, 197, 94, .35);
  transition: transform .15s, box-shadow .15s;
}
.game-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(34, 197, 94, .45);
}
@media (max-width: 560px) {
  .header-actions { gap: 6px; }
  .migu-btn, .game-btn { padding: 7px 12px; font-size: 13px; }
}
.logo-ball { font-size: 26px; }
.logo-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 3px;
  margin-left: 2px;
  align-self: flex-end;
  padding-bottom: 3px;
}
.league-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.league-tabs::-webkit-scrollbar { display: none; }
.league-tab {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 16px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color .15s;
}
.league-tab:hover { color: var(--text); }
.league-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* ---------- 子导航 ---------- */
.subnav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
}
.subnav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.view-tabs {
  display: flex;
  background: var(--surface-2);
  border-radius: 9px;
  padding: 3px;
  gap: 3px;
}
.view-tab {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 7px;
  cursor: pointer;
  transition: all .15s;
}
.view-tab.active { background: var(--primary); color: #04150b; }
.fixture-filter { display: none; gap: 6px; }
.filter-btn {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .15s;
}
.filter-btn.active {
  background: var(--primary-dim);
  color: var(--primary);
  border-color: var(--primary);
}

/* ---------- 主容器 ---------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}

.league-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.league-head h1 {
  font-size: 24px;
  font-weight: 800;
}
.league-head h1 span {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 8px;
}
.legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}
.legend span { display: flex; align-items: center; gap: 5px; }
.dot {
  width: 10px; height: 10px; border-radius: 3px; display: inline-block;
}
.dot.champions { background: var(--champions); }
.dot.europa { background: var(--europa); }
.dot.conference { background: var(--conference); }
.dot.relegation { background: var(--relegation); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.status-dot.done { background: var(--muted); }
.status-dot.todo { background: var(--primary); }

/* ---------- 积分榜表格 ---------- */
.table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
table.standings { width: 100%; border-collapse: collapse; font-size: 14px; }
.standings th {
  text-align: right;
  padding: 12px 10px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.standings th.pos, .standings th.team { text-align: left; }
.standings td {
  padding: 11px 10px;
  text-align: right;
  border-bottom: 1px solid #1a2440;
}
.standings tr:last-child td { border-bottom: none; }
.standings tbody tr { cursor: pointer; transition: background .12s; }
.standings tbody tr:hover { background: var(--surface-2); }

.standings .pos { position: relative; padding-left: 18px; text-align: left; font-weight: 700; width: 44px; }
.zone-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; }
.zone-bar.champions { background: var(--champions); }
.zone-bar.europa { background: var(--europa); }
.zone-bar.conference { background: var(--conference); }
.zone-bar.relegation { background: var(--relegation); }

.standings .team { text-align: left; display: flex; align-items: center; gap: 10px; }
.standings .team .en { color: var(--muted); font-size: 11px; margin-left: 4px; }
.badge {
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; color: #fff; flex-shrink: 0;
}
.badge.big { width: 52px; height: 52px; font-size: 16px; }
.gd { color: var(--muted); }
.pts { font-weight: 800; color: var(--primary); }

/* ---------- 赛程 ---------- */
.round { margin-bottom: 20px; }
.round-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 700; color: var(--muted);
  padding: 8px 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.round-date { font-weight: 500; }
.match-list { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.match-row {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid #1a2440;
  cursor: pointer;
  transition: background .12s;
}
.match-row:last-child { border-bottom: none; }
.match-row:hover { background: var(--surface-2); }
.m-time { width: 72px; flex-shrink: 0; text-align: center; }
.m-time .date { font-size: 13px; color: var(--text); font-weight: 600; }
.m-time .time { font-size: 12px; color: var(--muted); }
.m-teams {
  flex: 1; display: flex; align-items: center; gap: 14px;
}
.m-team { flex: 1; font-weight: 600; font-size: 15px; }
.m-team.home { text-align: right; }
.m-team.away { text-align: left; }
.score {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 17px;
  background: var(--surface-2);
  padding: 5px 14px; border-radius: 8px;
}
.score .divider { color: var(--muted); }
.vs { font-weight: 800; color: var(--primary); background: var(--primary-dim); padding: 5px 14px; border-radius: 8px; }
.tag { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; flex-shrink: 0; }
.tag.done { background: var(--surface-2); color: var(--muted); }
.tag.todo { background: var(--primary-dim); color: var(--primary); }
.arrow { color: var(--muted); font-size: 20px; }

.back-btn {
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  padding: 7px 14px; border-radius: 8px; cursor: pointer; font-size: 13px;
}
.back-btn:hover { border-color: var(--primary); color: var(--primary); }

.empty { color: var(--muted); text-align: center; padding: 30px; }

/* ---------- 弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 7, 16, 0.75); backdrop-filter: blur(3px); }
.modal-dialog {
  position: relative;
  max-width: 760px;
  max-height: 88vh;
  overflow-y: auto;
  margin: 5vh auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--muted);
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 14px;
}
.modal-close:hover { color: var(--text); border-color: var(--muted); }

.modal-score {
  display: flex; align-items: center; justify-content: center; gap: 22px;
  padding: 10px 0 20px;
}
.modal-score .side { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.s-name { font-weight: 700; font-size: 16px; }
.score-big { font-size: 40px; font-weight: 900; }
.score-big.vs { color: var(--primary); }

.modal-meta {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 16px; font-size: 13px; color: var(--muted);
  margin-bottom: 18px;
}
.modal-body { display: flex; flex-direction: column; gap: 16px; }
.panel { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 16px; }
.panel h3 { font-size: 14px; margin-bottom: 12px; color: var(--primary); }

.event { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid #1a2440; font-size: 14px; }
.event:last-child { border-bottom: none; }
.event.away { flex-direction: row-reverse; text-align: right; }
.ev-min { width: 38px; font-weight: 700; color: var(--muted); text-align: center; }
.ev-icon { font-size: 15px; }
.ev-player { flex: 1; }

.lineups { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.player { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; }
.p-pos {
  width: 30px; text-align: center; font-size: 10px; font-weight: 700;
  background: var(--surface); border: 1px solid var(--border); border-radius: 5px;
  padding: 2px 0; color: var(--muted);
}
.p-pos.gk { color: #f59e0b; }
.p-pos.df { color: #3b82f6; }
.p-pos.mf { color: #22c55e; }
.p-pos.fw { color: #ef4444; }
.subs-title { font-size: 12px; color: var(--muted); margin: 12px 0 4px; font-weight: 700; }
.player.sub { opacity: .75; }

.site-footer {
  text-align: center; color: var(--muted); font-size: 12px;
  padding: 24px; border-top: 1px solid var(--border);
}

/* ---------- 球队徽标 ---------- */
.team-badge {
  width: 26px; height: 26px; border-radius: 50%;
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  background: #22304d; flex-shrink: 0; overflow: hidden;
}
.team-badge .initials { font-size: 10px; font-weight: 700; color: #cbd5e1; }
.team-badge img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.team-badge.big { width: 56px; height: 56px; }
.team-badge.big .initials { font-size: 18px; }
.t-name { margin-left: 2px; }

.m-team { display: flex; align-items: center; gap: 8px; }
.m-team.home { justify-content: flex-end; }
.m-team.away { justify-content: flex-start; }
.m-team.home .team-badge { order: 2; }
.m-team.away .team-badge { order: -1; }

/* ---------- 轮次导航 ---------- */
.round-nav { display: flex; align-items: center; gap: 8px; }
.rn-btn {
  width: 30px; height: 30px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--surface-2); color: var(--text);
  cursor: pointer; font-size: 18px; line-height: 1;
}
.rn-btn:disabled { opacity: .4; cursor: default; }
.rn-btn:not(:disabled):hover { border-color: var(--primary); color: var(--primary); }
#roundSelect {
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  padding: 6px 10px; border-radius: 8px; font-size: 14px; cursor: pointer;
}

/* ---------- 数据来源 ---------- */
.data-src { text-align: center; color: var(--muted); font-size: 12px; margin-top: 16px; }

.group-title {
  margin: 18px 4px 10px;
  font-size: 14px; font-weight: 700; color: var(--text);
}
.group-title:first-child { margin-top: 0; }

/* ---------- 阵容 ---------- */
.xi-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; font-size: 14px; }
.xi-head .formation { background: var(--surface); border: 1px solid var(--border); color: var(--muted); padding: 1px 8px; border-radius: 5px; font-size: 12px; }
.xi-head .coach { color: var(--muted); font-size: 12px; }
.pos-group { margin-bottom: 8px; }
.pos-label { font-size: 11px; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.captain {
  margin-left: 6px; background: var(--primary-dim); color: var(--primary);
  font-size: 10px; font-weight: 800; padding: 0 5px; border-radius: 4px;
}

/* ---------- 事件 ---------- */
.ev-label { color: var(--muted); font-size: 11px; margin-left: 6px; }
.ev-score { color: var(--primary); font-weight: 800; margin-left: 8px; }

.tag.live { background: rgba(239,68,68,.15); color: #ef4444; }
.muted { color: var(--muted); font-size: 13px; }
.tip { margin-top: 16px; padding: 10px 12px; border-radius: 8px; background: var(--surface-2); border: 1px dashed var(--border); color: var(--muted); font-size: 12px; }
.tip code { color: var(--primary); }

.subnav-hint { font-size: 12px; color: var(--muted); }

.refresh-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  font-size: 13px; padding: 6px 14px; border-radius: 8px; cursor: pointer;
  transition: all .15s;
}
.refresh-btn:hover { border-color: var(--primary); color: var(--primary); }
.refresh-btn .ref-ico { display: inline-block; }
.refresh-btn.spin { opacity: .7; }
.refresh-btn.spin .ref-ico { animation: spin 0.8s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 射手/助攻榜 ---------- */
.pl-list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.pl-row {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 18px;
  border-bottom: 1px solid #1a2440;
}
.pl-row:last-child { border-bottom: none; }
.pl-row:hover { background: var(--surface-2); }
.pl-rank {
  width: 30px; text-align: center; flex-shrink: 0;
  font-size: 15px; font-weight: 800; color: var(--muted);
}
.pl-row.top1 .pl-rank { color: #f4b740; font-size: 18px; }
.pl-row.top2 .pl-rank { color: #94a3b8; font-size: 18px; }
.pl-row.top3 .pl-rank { color: #c07a3f; font-size: 18px; }
.pl-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  background: #22304d; overflow: hidden;
}
.pl-avatar .initials { font-size: 12px; font-weight: 700; color: #cbd5e1; }
.pl-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pl-name { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; }
.pl-team { display: flex; align-items: center; gap: 8px; width: 200px; flex-shrink: 0; font-size: 13px; color: var(--muted); }
.pl-team .team-badge { width: 20px; height: 20px; }
.pl-team .team-badge .initials { font-size: 8px; }
.pl-count { width: 90px; text-align: right; flex-shrink: 0; }
.pl-count { font-size: 18px; font-weight: 800; color: var(--primary); }
.pl-col { font-size: 11px; color: var(--muted); font-weight: 500; margin-left: 4px; }
.pl-pen { display: block; font-size: 11px; color: var(--muted); font-weight: 500; }

@media (max-width: 640px) {
  .pl-row { gap: 8px; padding: 10px 12px; }
  .pl-team { width: auto; }
  .pl-count { width: 70px; }
}

/* ---------- 登录 / 评论 ---------- */
.subnav-actions { display: flex; align-items: center; gap: 8px; }
.auth-btn {
  background: var(--primary); color: #04150b; border: none;
  font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 8px; cursor: pointer;
}
.auth-btn:hover { opacity: .9; }
.auth-btn.ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.user-chip { font-size: 13px; font-weight: 600; color: var(--text); }

.auth-dialog { max-width: 380px; }
.auth-tabs { display: flex; gap: 6px; margin-bottom: 16px; }
.auth-tab {
  flex: 1; background: var(--surface-2); border: 1px solid var(--border); color: var(--muted);
  padding: 9px; border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 700;
}
.auth-tab.active { background: var(--primary); color: #04150b; border-color: var(--primary); }
.auth-label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.auth-label input {
  display: block; width: 100%; margin-top: 6px; padding: 10px 12px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-size: 15px;
}
.auth-label input:focus { outline: none; border-color: var(--primary); }
.auth-error { color: #ef4444; font-size: 13px; min-height: 18px; margin-bottom: 6px; }
.auth-error.success { color: var(--primary); }
.auth-submit {
  width: 100%; background: var(--primary); color: #04150b; border: none;
  padding: 11px; border-radius: 8px; font-size: 15px; font-weight: 800; cursor: pointer;
}
.auth-submit:hover { opacity: .92; }

.comment { padding: 10px 0; border-bottom: 1px solid #1a2440; }
.comment:last-child { border-bottom: none; }
.c-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.c-user { font-weight: 700; font-size: 13px; color: var(--primary); }
.c-time { font-size: 11px; color: var(--muted); }
.c-body { font-size: 14px; color: var(--text); white-space: pre-wrap; word-break: break-word; }
.comment-input { display: flex; gap: 10px; margin-top: 12px; }
.comment-input textarea {
  flex: 1; min-height: 60px; padding: 10px 12px; background: var(--bg);
  border: 1px solid var(--border); border-radius: 8px; color: var(--text);
  font-size: 14px; resize: vertical; font-family: inherit;
}
.comment-input textarea:focus { outline: none; border-color: var(--primary); }
.comment-submit {
  align-self: flex-end; background: var(--primary); color: #04150b; border: none;
  padding: 9px 18px; border-radius: 8px; font-weight: 700; cursor: pointer;
}
.comment-submit:disabled { opacity: .5; cursor: default; }
.comment-login {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 14px; margin-top: 12px; background: var(--bg);
  border: 1px dashed var(--border); border-radius: 8px; color: var(--muted); font-size: 13px;
}

/* ---------- AI 预测 ---------- */
.pred-tag {
  flex-shrink: 0;
  font-size: 11px; font-weight: 700; color: #c084fc;
  background: rgba(168, 85, 247, .14);
  border: 1px solid rgba(168, 85, 247, .35);
  padding: 3px 8px; border-radius: 999px;
  white-space: nowrap;
}
.predict-panel h3 { color: #c084fc; }
.pred-score { font-size: 15px; margin-bottom: 14px; }
.pred-score b { color: #c084fc; font-size: 22px; }
.pred-bars { display: flex; flex-direction: column; gap: 9px; }
.pred-row { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.pred-label { width: 110px; flex-shrink: 0; color: var(--muted); }
.pred-track { flex: 1; height: 10px; background: var(--bg); border-radius: 5px; overflow: hidden; }
.pred-track i { display: block; height: 100%; border-radius: 5px; }
.pred-track i.home { background: linear-gradient(90deg, #22c55e, #86efac); }
.pred-track i.draw { background: linear-gradient(90deg, #64748b, #94a3b8); }
.pred-track i.away { background: linear-gradient(90deg, #ef4444, #fca5a5); }
.pred-val { width: 44px; text-align: right; font-weight: 700; }
.pred-rec { margin-top: 14px; font-size: 14px; }
.pred-rec b { color: #c084fc; }
.pred-note { margin-top: 8px; font-size: 11px; color: var(--muted); }
#aiPanel h3 { color: #60a5fa; }
#aiPanel .pred-score b { color: #60a5fa; }
#aiPanel .pred-rec b { color: #60a5fa; }
.ai-cached { font-size: 11px; color: var(--muted); font-weight: 500; margin-left: 4px; }
.ai-locked { text-align: center; padding: 24px 16px; }
.ai-locked h3 { color: #c084fc; }
.ai-locked .muted { margin: 8px 0 16px; }

/* ---------- 热门比赛 ---------- */
.hot-section { margin-bottom: 24px; }
.hot-section h2 {
  font-size: 18px; font-weight: 800; margin-bottom: 12px;
  display: flex; align-items: center; gap: 6px;
}
.hot-scroll {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.hot-scroll::-webkit-scrollbar { height: 6px; }
.hot-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.hot-card {
  flex: 0 0 auto; width: 220px; scroll-snap-align: start;
  background: linear-gradient(160deg, #1c2a47, #121b2e);
  border: 1px solid var(--border); border-radius: 12px; padding: 14px;
  cursor: pointer; transition: transform .15s, border-color .15s;
}
.hot-card:hover { transform: translateY(-2px); border-color: #f4b740; }
.hot-league { font-size: 12px; color: #f4b740; font-weight: 700; margin-bottom: 12px; }
.hot-teams { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 12px; }
.hot-team {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; text-align: center; min-width: 0;
}
.hot-team span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hot-vs { color: var(--muted); font-size: 12px; font-weight: 800; flex-shrink: 0; }
.hot-time {
  text-align: center; font-size: 12px; color: var(--muted);
  border-top: 1px solid var(--border); padding-top: 8px;
}
.hot-empty {
  text-align: center; color: var(--muted); font-size: 14px;
  padding: 18px; background: var(--surface); border: 1px dashed var(--border); border-radius: 12px;
}
.hot-actions { display: flex; gap: 8px; margin-top: 10px; }
.hot-guess {
  flex: 1; text-align: center; padding: 7px 0;
  background: rgba(192, 132, 252, .15); border: 1px solid rgba(192, 132, 252, .4);
  color: #c084fc; font-size: 12px; font-weight: 700; border-radius: 8px; cursor: pointer;
  transition: background .15s;
}
.hot-guess:hover { background: rgba(192, 132, 252, .28); }
.hot-watch {
  flex: 1; text-align: center; padding: 7px 0;
  background: linear-gradient(135deg, #ff5f2e, #ff2d78);
  color: #fff; font-size: 12px; font-weight: 700;
  border-radius: 8px; text-decoration: none;
  transition: opacity .15s, transform .15s;
}
.hot-watch:hover { opacity: .92; transform: translateY(-1px); }

/* ---------- 猜比分 ---------- */
.guess-title { font-size: 18px; font-weight: 800; margin-bottom: 16px; text-align: center; }
.guess-teams {
  display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 16px;
}
.gt-team { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; }
.gt-vs { color: var(--muted); font-weight: 800; font-size: 14px; }
.guess-inputs { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 8px; }
.guess-inputs input {
  width: 80px; padding: 10px; text-align: center; font-size: 22px; font-weight: 800;
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px; color: var(--text);
}
.guess-inputs input:focus { outline: none; border-color: #c084fc; }
.guess-sep { font-size: 22px; font-weight: 800; color: var(--muted); }
.guess-list { margin-top: 16px; }
.guess-count { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.guess-count b { color: var(--primary); }
.guess-items { display: flex; flex-direction: column; gap: 6px; max-height: 180px; overflow-y: auto; }
.guess-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 10px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; font-size: 13px;
}
.guess-item b { color: #c084fc; }

/* ---------- 封面 ---------- */
.cover {
  position: fixed; inset: 0; z-index: 200;
  background: radial-gradient(ellipse at 50% 18%, #1c3a2a 0%, #0e2017 42%, #0b1220 100%);
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn .3s ease;
}
.cover.hidden { display: none; }
.cover-close {
  position: absolute; top: 20px; right: 20px;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: #cbd5e1; font-size: 18px; cursor: pointer;
}
.cover-close:hover { background: rgba(255,255,255,.16); color: #fff; }
.cover-inner { text-align: center; padding: 24px; }
.cover-logo { font-size: 76px; margin-bottom: 6px; animation: floatBall 2.2s ease-in-out infinite; }
.cover-title { font-size: 34px; font-weight: 900; letter-spacing: 2px; margin-bottom: 12px; }
.cover-sub { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.cover-actions { display: flex; gap: 14px; justify-content: center; margin-bottom: 26px; flex-wrap: wrap; }
.cover-btn {
  min-width: 150px; padding: 13px 0; border-radius: 999px; font-size: 16px;
  font-weight: 800; cursor: pointer; border: none;
}
.cover-btn.primary { background: linear-gradient(135deg, #22c55e, #14b8a6); color: #04150b; }
.cover-btn:not(.primary) { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.22); }
.cover-btn:hover { opacity: .9; transform: translateY(-1px); }
.cover-note { color: var(--muted); font-size: 13px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes floatBall { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- 管理员 ---------- */
.admin-btn {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(192, 132, 252, .14); border: 1px solid rgba(192, 132, 252, .4);
  color: #c084fc; font-size: 13px; font-weight: 700;
  padding: 6px 12px; border-radius: 8px; cursor: pointer;
}
.admin-btn:hover { background: rgba(192, 132, 252, .22); }
.admin-link {
  background: transparent; border: none; color: var(--muted); cursor: pointer;
  font-size: 12px; text-decoration: underline;
}
.admin-link:hover { color: var(--text); }
.admin-title { font-size: 18px; font-weight: 800; margin-bottom: 16px; text-align: center; }
.admin-dialog { max-width: 760px; }
.admin-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.admin-head h3 { font-size: 18px; }
.admin-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.admin-tab {
  flex: 1; background: var(--surface-2); border: 1px solid var(--border); color: var(--muted);
  padding: 9px; border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 700;
}
.admin-tab.active { background: #c084fc; color: #1a0b2e; border-color: #c084fc; }
.vip-badge {
  background: linear-gradient(135deg, #f4b740, #f59e0b); color: #1a0b2e;
  font-size: 10px; font-weight: 800; padding: 1px 6px; border-radius: 4px; margin-left: 6px;
}
.vip-toggle {
  background: rgba(244, 183, 64, .15); border: 1px solid rgba(244, 183, 64, .4); color: #f4b740;
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 6px; cursor: pointer;
}
.vip-toggle:hover { background: rgba(244, 183, 64, .25); }
.pred-note.vip-note { color: #f4b740; }
.ban-badge {
  background: rgba(239, 68, 68, .18); color: #ef4444;
  font-size: 10px; font-weight: 800; padding: 1px 6px; border-radius: 4px; margin-left: 6px;
}
.ban-toggle {
  background: rgba(239, 68, 68, .15); border: 1px solid rgba(239, 68, 68, .4); color: #ef4444;
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 6px; cursor: pointer;
}
.ban-toggle:hover { background: rgba(239, 68, 68, .25); }
.banned-row { opacity: .6; }
.mute-badge {
  background: rgba(245, 158, 11, .18); color: #f59e0b;
  font-size: 10px; font-weight: 800; padding: 1px 6px; border-radius: 4px; margin-left: 6px;
}
.mute-toggle {
  background: rgba(245, 158, 11, .15); border: 1px solid rgba(245, 158, 11, .4); color: #f59e0b;
  font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 6px; cursor: pointer;
  white-space: nowrap;
}
.mute-toggle:hover { background: rgba(245, 158, 11, .25); }
.admin-table-wrap { overflow-x: auto; }
.admin-table-wrap table { min-width: 640px; }

/* ---------- 新闻 ---------- */
.news-btn {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: #fff; font-size: 14px; font-weight: 700; padding: 8px 18px;
  border-radius: 999px; border: none; cursor: pointer;
  box-shadow: 0 2px 10px rgba(59, 130, 246, .35);
  transition: transform .15s, box-shadow .15s;
}
.news-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(59, 130, 246, .45); }
.news-view {
  position: fixed; inset: 0; z-index: 180;
  background: var(--bg);
  display: none; flex-direction: column;
}
.news-view.open { display: flex; }
.news-view-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; border-bottom: 1px solid var(--border);
  background: var(--surface); flex-shrink: 0;
}
.news-view-head h2 { font-size: 20px; font-weight: 800; }
.news-close {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--muted);
  cursor: pointer; font-size: 15px;
}
.news-close:hover { color: var(--text); border-color: var(--muted); }
.news-view-body {
  flex: 1; overflow-y: auto; padding: 20px 24px;
  max-width: 900px; width: 100%; margin: 0 auto;
}

.news-list { display: flex; flex-direction: column; gap: 10px; }
.news-card {
  display: flex; gap: 12px; padding: 12px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s;
}
.news-card:hover { border-color: var(--primary); transform: translateY(-1px); }
.news-img {
  width: 120px; height: 84px; flex-shrink: 0; border-radius: 8px; overflow: hidden;
  background: var(--surface-2); display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 24px;
}
.news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.news-title {
  font-size: 15px; font-weight: 600; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.news-tag {
  background: var(--primary-dim); color: var(--primary); font-size: 11px; font-weight: 700;
  padding: 1px 7px; border-radius: 4px;
}
.news-tag.video { background: rgba(239,68,68,.15); color: #ef4444; }

/* ---------- 响应式 ---------- */
@media (max-width: 640px) {
  .match-row { gap: 8px; padding: 12px 12px; }
  .m-time { width: 56px; }
  .m-team { font-size: 13px; }
  .score { font-size: 15px; padding: 4px 10px; }
  .lineups { grid-template-columns: 1fr; }
  .modal-dialog { padding: 18px; margin: 2vh auto; }
  .score-big { font-size: 30px; }
}
