/* ===== 基础 ===== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #1a1d24;
  background: #f6f7f9;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1000px; margin: 0 auto; padding: 0 16px; }
.muted { color: #8a93a2; font-size: 13px; }

/* ===== 顶部导航（干净白底） ===== */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #eceef1;
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #1a1d24; }
.brand-mark { width: 28px; height: 28px; display: block; }
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: .5px; }
.brand-sub { font-size: 12px; color: #9aa3af; }
.main-nav { display: flex; gap: 6px; }
.main-nav a {
  color: #4b5563;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 500;
  transition: background .15s, color .15s;
}
.main-nav a:hover { background: #fff3ea; color: #ff6a00; }
.main-nav a.active { background: #fff0e6; color: #ff6a00; font-weight: 700; }

/* ===== 页面主体 ===== */
main.container { padding-top: 28px; padding-bottom: 48px; }
.page-head { margin-bottom: 22px; }
.page-head h1 { font-size: 28px; margin: 0 0 10px; font-weight: 800; letter-spacing: .5px; }
.meta-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.badge {
  display: inline-block;
  background: #eef2ff;
  color: #4338ca;
  border: 1px solid #e0e7ff;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.note { color: #6b7280; font-size: 13px; margin: 6px 0 0; }

/* ===== 标签页（胶囊容器） ===== */
.tabs {
  display: inline-flex; gap: 6px; margin-bottom: 16px;
  background: #fff; padding: 5px; border-radius: 12px; border: 1px solid #eceef1;
}
.tab-btn {
  background: transparent;
  border: none;
  color: #4b5563;
  padding: 9px 24px;
  border-radius: 9px;
  font-size: 15px;
  cursor: pointer;
  font-weight: 600;
  transition: all .15s;
}
.tab-btn:hover { color: #ff6a00; }
.tab-btn.active {
  background: #ff6a00;
  color: #fff;
  box-shadow: 0 4px 12px rgba(255,106,0,.25);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ===== 排名表格 ===== */
.table-wrap {
  background: #fff;
  border: 1px solid #eceef1;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 8px 24px rgba(16,24,40,.04);
  overflow: hidden;
}
.rank-table { width: 100%; border-collapse: collapse; }
.rank-table thead th {
  background: #fafbfc;
  color: #6b7280;
  font-size: 12.5px;
  font-weight: 600;
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid #eceef1;
  letter-spacing: .3px;
}
.rank-table tbody td { padding: 12px 16px; border-bottom: 1px solid #f3f4f6; vertical-align: middle; }
.rank-table tbody tr:last-child td { border-bottom: none; }
.rank-table tbody tr:hover { background: #fafbff; }

.col-rank { width: 76px; }
.col-points { width: 96px; text-align: right; }
.col-move { width: 84px; text-align: center; }
.col-assoc { width: 140px; }

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: #f1f3f5;
  color: #495057;
  font-weight: 700;
  font-size: 14px;
}
.rank-1 { background: linear-gradient(135deg,#fde68a,#f59e0b); color:#7c4a03; box-shadow:0 2px 8px rgba(245,158,11,.35); }
.rank-2 { background: linear-gradient(135deg,#e9eef3,#cbd5e1); color:#475569; }
.rank-3 { background: linear-gradient(135deg,#fbd9b8,#e2935a); color:#6b3410; }

.player { display: flex; flex-direction: column; gap: 1px; }
.player-cn { font-size: 16px; font-weight: 700; color: #1a1d24; }
.player-en { font-size: 12px; color: #9aa3af; letter-spacing: .3px; }

/* 双打配对行：两名选手纵向排列 */
.rank-table .pair { display: flex; flex-direction: column; gap: 6px; }
.rank-table .pair .player-cn { font-size: 15px; }
.rank-table .pair .player + .player .player-cn { color: #374151; }
.pair-sep { color: #c3c9d4; margin: 0 2px; font-weight: 700; }

.assoc { display: inline-flex; align-items: center; gap: 8px; }
.flag {
  width: 22px; height: 16px; border-radius: 3px;
  object-fit: cover; display: inline-block;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06);
  vertical-align: middle;
}
.assoc-cn { font-size: 14px; color: #4b5563; }

.points { font-weight: 800; font-size: 16px; color: #1a1d24; }
.col-points { text-align: right; }

.move { font-size: 13px; font-weight: 700; }
.move.up { color: #16a34a; }
.move.down { color: #dc2626; }
.move.steady { color: #b6bcc6; }

.row-top1 { background: #fffdf5; }
.row-top1:hover { background: #fff8e6 !important; }
.row-top3 .player-cn { color: #b45309; }

.panel-foot { padding: 12px 4px 0; }

/* ===== 即将上线 ===== */
.coming-soon { display: flex; justify-content: center; padding: 50px 0; }
.cs-card {
  background: #fff; border: 1px solid #eceef1; border-radius: 16px;
  padding: 40px 50px; text-align: center;
  box-shadow: 0 8px 24px rgba(16,24,40,.04); max-width: 460px;
}
.cs-icon { font-size: 48px; margin-bottom: 10px; }
.cs-card h1 { margin: 0 0 12px; font-size: 22px; }
.cs-desc { color: #6b7280; margin: 0 0 20px; }
.cs-back { color: #ff6a00; text-decoration: none; font-weight: 600; }

/* ===== 页脚 ===== */
.site-footer { background: #0f172a; color: #c7ccd6; padding: 22px 0; margin-top: 30px; }
.site-footer p { margin: 4px 0; font-size: 13px; }
.site-footer .muted { color: #8a93a2; }

/* ===== 响应式 ===== */
@media (max-width: 600px) {
  .brand-sub { display: none; }
  .main-nav a { padding: 8px 10px; font-size: 14px; }
  .player-en { display: none; }
  .col-assoc { width: auto; }
  .rank-table thead th, .rank-table tbody td { padding: 10px 12px; }
  .col-points { width: 64px; }
  .points { font-size: 14px; }
  .flag { width: 20px; height: 14px; }
}

/* ===== 对战记录页 ===== */
.stat-cards { display: flex; gap: 14px; margin: 4px 0 18px; flex-wrap: wrap; }
.stat-card {
  flex: 1 1 0; min-width: 140px; background: #fff; border: 1px solid #eceef1;
  border-radius: 14px; padding: 14px 18px; text-align: center;
}
.stat-num { font-size: 26px; font-weight: 800; color: #ff6a00; line-height: 1.1; }
.stat-label { font-size: 13px; color: #8a93a2; margin-top: 4px; }

.filter-bar {
  display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap;
  background: #fff; border: 1px solid #eceef1; border-radius: 14px;
  padding: 14px 16px; margin-bottom: 14px;
}
.filter-group { display: flex; flex-direction: column; gap: 4px; }
.filter-group.grow { flex: 1 1 200px; }
.filter-group label { font-size: 12px; color: #8a93a2; font-weight: 600; }
.filter-bar select, .filter-bar input {
  border: 1px solid #d8dde4; border-radius: 9px; padding: 8px 10px;
  font-size: 14px; background: #fff; color: #1a1d24; min-width: 150px;
}
.filter-bar input { width: 100%; }
.reset-btn {
  border: 1px solid #d8dde4; background: #f6f7f9; color: #4b5563;
  border-radius: 9px; padding: 8px 16px; font-size: 14px; cursor: pointer; font-weight: 600;
}
.reset-btn:hover { background: #eceef1; }

.result-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.result-count { font-size: 14px; font-weight: 600; color: #4b5563; }
.page-size { font-size: 13px; color: #8a93a2; }
.page-size select { border: 1px solid #d8dde4; border-radius: 7px; padding: 3px 6px; }

.match-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #eceef1; }
.match-table thead th {
  background: #fafbfc; text-align: left; font-size: 12px; color: #8a93a2;
  font-weight: 700; padding: 11px 12px; border-bottom: 1px solid #eceef1; white-space: nowrap;
}
.match-table tbody td { padding: 10px 12px; border-bottom: 1px solid #f1f3f5; vertical-align: middle; font-size: 14px; }
.match-table tbody tr:hover { background: #fff8f2; }
.c-date { white-space: nowrap; color: #6b7280; font-size: 13px; }
.c-event { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #4b5563; }
.c-sub { white-space: nowrap; color: #4b5563; }
.c-round { white-space: nowrap; color: #6b7280; }
.c-player { white-space: nowrap; }
.player { display: flex; align-items: center; gap: 6px; }
.player .p-name { font-weight: 600; color: #1a1d24; }
.player .p-link { font-weight: 600; color: #1d4ed8; text-decoration: none; }
.player .p-link:hover { text-decoration: underline; }
.player .p-en { font-size: 12px; color: #9aa3af; margin-left: 4px; }
.player .p-org { font-size: 11px; color: #9aa3af; margin-left: 2px; }
.c-player.winner .p-name { color: #e23744; }
.c-player.winner { background: #fff5f5; }
.win-badge {
  display: inline-block; background: #e23744; color: #fff; font-size: 11px;
  padding: 1px 7px; border-radius: 999px; font-weight: 700; margin-left: 4px;
}
.c-score { text-align: center; white-space: nowrap; }
.score-main { font-size: 17px; font-weight: 800; color: #1a1d24; }
.score-games { font-size: 11px; color: #9aa3af; margin-top: 2px; font-variant-numeric: tabular-nums; }
.detail-btn {
  border: 1px solid #d8dde4; background: #fff; border-radius: 7px;
  padding: 4px 10px; font-size: 12px; cursor: pointer; color: #4b5563;
}
.detail-btn:hover { background: #f6f7f9; }
.detail-row td { background: #fafbfc; }
.detail-box { font-size: 13px; color: #6b7280; padding: 4px 2px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 16px; }
.pager button {
  border: 1px solid #d8dde4; background: #fff; border-radius: 9px;
  padding: 8px 16px; font-size: 14px; cursor: pointer; color: #4b5563; font-weight: 600;
}
.pager button:disabled { opacity: .45; cursor: not-allowed; }
.pager #pageInfo { font-size: 14px; color: #6b7280; }
.loading { text-align: center; padding: 40px; color: #8a93a2; }
.flag { width: 20px; height: 14px; border-radius: 2px; vertical-align: middle; }

/* ===== 交手记录页（H2H） ===== */
.h2h-picker { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.h2h-slot { position: relative; flex: 1 1 0; min-width: 0; }
.h2h-slot-tag {
  display: inline-block; font-size: 12px; font-weight: 700; color: #ff6a00;
  background: #fff3e8; border-radius: 6px; padding: 2px 8px; margin-bottom: 6px;
}
.h2h-input-wrap { position: relative; }
.h2h-input-wrap input {
  width: 100%; border: 1px solid #d8dde4; border-radius: 11px; padding: 11px 34px 11px 13px;
  font-size: 15px; background: #fff; color: #1a1d24; box-sizing: border-box;
}
.h2h-input-wrap input:focus { outline: none; border-color: #ff6a00; box-shadow: 0 0 0 3px rgba(255,106,0,.12); }
.h2h-clear {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  border: none; background: #eceef1; color: #6b7280; width: 22px; height: 22px;
  border-radius: 50%; cursor: pointer; font-size: 14px; line-height: 1;
}
.h2h-clear:hover { background: #dde1e7; color: #1a1d24; }
.h2h-swap {
  align-self: center; margin-top: 22px; border: 1px solid #d8dde4; background: #fff;
  border-radius: 50%; width: 40px; height: 40px; font-size: 18px; cursor: pointer;
  color: #ff6a00; flex: 0 0 auto;
}
.h2h-swap:hover { background: #fff3e8; border-color: #ffb27a; }
.h2h-drop {
  position: absolute; z-index: 30; top: 100%; left: 0; right: 0; margin-top: 4px;
  background: #fff; border: 1px solid #e3e7ec; border-radius: 11px;
  box-shadow: 0 12px 32px rgba(20,24,40,.14); max-height: 320px; overflow-y: auto;
}
.h2h-drop-item {
  display: flex; align-items: center; gap: 8px; padding: 9px 12px; cursor: pointer;
  font-size: 14px; border-bottom: 1px solid #f4f5f7;
}
.h2h-drop-item:last-child { border-bottom: none; }
.h2h-drop-item:hover, .h2h-drop-item.active { background: #fff6ee; }
.h2h-drop-name { font-weight: 600; color: #1a1d24; }
.h2h-drop-en { font-size: 12px; color: #9aa3af; }
.h2h-drop-org { margin-left: auto; font-size: 11px; color: #8a93a2; }
.h2h-drop-empty { padding: 14px; text-align: center; color: #8a93a2; font-size: 13px; }
.h2h-tools { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.h2h-tip { font-size: 13px; }
.h2h-presets { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.h2h-presets-label { font-size: 13px; color: #8a93a2; font-weight: 600; }
.h2h-preset {
  border: 1px solid #e3e7ec; background: #fff; border-radius: 999px; padding: 5px 13px;
  font-size: 13px; cursor: pointer; color: #4b5563; font-weight: 600;
}
.h2h-preset:hover { border-color: #ffb27a; color: #ff6a00; background: #fff9f3; }
.h2h-preset .muted { font-weight: 400; }
.h2h-summary {
  display: flex; align-items: stretch; gap: 12px; background: #fff;
  border: 1px solid #eceef1; border-radius: 16px; padding: 20px 22px; margin-bottom: 16px;
}
.h2h-side { flex: 1 1 0; min-width: 0; }
.h2h-side:last-of-type { text-align: right; }
.h2h-pname { font-size: 19px; font-weight: 800; color: #1a1d24; }
.h2h-pname .p-link { color: #1d4ed8; text-decoration: none; }
.h2h-pname .p-link:hover { text-decoration: underline; }
.h2h-passoc { font-size: 13px; color: #8a93a2; margin-top: 2px; }
.h2h-wins { font-size: 15px; font-weight: 700; color: #ff6a00; margin-top: 8px; }
.h2h-mid {
  flex: 0 0 auto; text-align: center; padding: 0 22px;
  border-left: 1px dashed #e5e8ec; border-right: 1px dashed #e5e8ec;
  display: flex; flex-direction: column; justify-content: center;
}
.h2h-total { font-size: 30px; font-weight: 800; color: #1a1d24; line-height: 1.1; }
.h2h-sub { font-size: 12px; color: #8a93a2; margin-top: 2px; }
.h2h-range { font-size: 12px; margin-top: 6px; }
.h2h-table .c-event { max-width: 220px; }

@media (max-width: 720px) {
  .h2h-picker { flex-direction: column; }
  .h2h-swap { margin: 0 auto; transform: rotate(90deg); }
  .h2h-summary { flex-direction: column; gap: 10px; }
  .h2h-side:last-of-type { text-align: left; }
  .h2h-mid { border: none; border-top: 1px dashed #e5e8ec; border-bottom: 1px dashed #e5e8ec; padding: 12px 0; }
  .h2h-table .c-event { max-width: 120px; }
}

/* ===== 赛事日历页（events.html） ===== */
.events-page .note { max-width: 760px; }
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}
.month-head {
  font-size: 17px;
  font-weight: 800;
  color: #ff6a00;
  border-left: 4px solid #ff6a00;
  padding-left: 10px;
  margin: 22px 0 12px;
  letter-spacing: .5px;
}
.event-card {
  background: #fff;
  border: 1px solid #eceef1;
  border-radius: 14px;
  padding: 14px 15px 13px;
  box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 6px 18px rgba(16,24,40,.04);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .15s, box-shadow .15s;
}
.event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(16,24,40,.08), 0 12px 28px rgba(16,24,40,.08);
}
.ec-top { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.tier-badge {
  display: inline-block;
  color: #fff;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
}
.status-badge {
  display: inline-block;
  border: 1px solid transparent;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(0,0,0,.02);
}
.ec-name { font-size: 17px; font-weight: 800; color: #1a1d24; line-height: 1.35; }
.ec-en { font-size: 12px; color: #9aa3af; letter-spacing: .2px; line-height: 1.3; }
.ec-meta { display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: #6b7280; }
.ec-meta span { display: inline-flex; align-items: center; gap: 5px; }
.ec-discs { display: flex; gap: 5px; flex-wrap: wrap; }
.disc-chip {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  padding: 1px 8px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 600;
}
.ec-link {
  margin-top: auto;
  align-self: flex-start;
  color: #ff6a00;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  padding-top: 2px;
}
.ec-link:hover { text-decoration: underline; }

/* ===== 每日赛程页（schedule.html） ===== */
.schedule-page .note { max-width: 760px; }
.sch-controls {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #eceef1;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.sch-controls .filter-group { display: flex; flex-direction: column; gap: 4px; }
.sch-controls label { font-size: 12px; color: #8a93a2; font-weight: 600; }
.sch-controls select {
  border: 1px solid #d8dde4;
  border-radius: 9px;
  padding: 8px 12px;
  font-size: 14px;
  background: #fff;
  color: #1a1d24;
  min-width: 320px;
  max-width: 460px;
}
.sch-status { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sch-status .ev-cn { font-size: 16px; font-weight: 800; color: #1a1d24; }

.date-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.date-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  background: #fff;
  border: 1px solid #d8dde4;
  border-radius: 11px;
  padding: 7px 14px;
  cursor: pointer;
  min-width: 58px;
  transition: all .15s;
}
.date-tab:hover { border-color: #ff6a00; }
.date-tab.active {
  background: #ff6a00;
  border-color: #ff6a00;
  color: #fff;
  box-shadow: 0 4px 12px rgba(255,106,0,.28);
}
.date-tab .dt-date { font-size: 15px; font-weight: 800; line-height: 1.1; }
.date-tab .dt-count { font-size: 11px; opacity: .85; }
.date-tab.active .dt-count { opacity: 1; }

.day-meta {
  font-size: 14px;
  font-weight: 700;
  color: #4b5563;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #e2e8f0;
}
.sch-list { display: flex; flex-direction: column; gap: 10px; }
.sch-row {
  display: grid;
  grid-template-columns: 60px 130px 1fr auto;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #eceef1;
  border-radius: 12px;
  padding: 11px 14px;
  box-shadow: 0 1px 2px rgba(16,24,40,.03);
}
.sch-row:hover { background: #fffaf4; }
.sch-time { font-size: 15px; font-weight: 800; color: #ff6a00; font-variant-numeric: tabular-nums; }
.tz-tag { font-size: 10px; font-weight: 700; color: #b45309; border: 1px solid #f59e0b; border-radius: 4px; padding: 0 3px; margin-left: 4px; vertical-align: middle; white-space: nowrap; }
.row-tag { font-size: 10px; font-weight: 700; border-radius: 4px; padding: 0 4px; margin-left: 6px; vertical-align: middle; white-space: nowrap; }
.row-tag.tag-live { color: #16a34a; border: 1px solid #16a34a; background: #f0fdf4; }
.row-tag.tag-done { color: #4338ca; border: 1px solid #c7d2fe; background: #eef2ff; }
.row-tag.tag-sched { color: #b45309; border: 1px solid #f59e0b; background: #fffbeb; }
.sch-info { display: flex; flex-direction: column; gap: 2px; }
.sch-sub { font-size: 13px; color: #4b5563; font-weight: 600; }
.sch-round { font-size: 12px; color: #9aa3af; }
.sch-players { display: flex; align-items: center; gap: 12px; }
.sp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: #1a1d24;
}
.sp.win { font-weight: 800; }
.sp .sp-name { color: #1a1d24; }
.sp.win .sp-name { color: #e23744; }
.win-tag {
  display: inline-block;
  background: #e23744;
  color: #fff;
  font-size: 10.5px;
  padding: 1px 6px;
  border-radius: 999px;
  font-weight: 700;
}
.sp-score {
  font-size: 18px;
  font-weight: 800;
  color: #1a1d24;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.sch-table { font-size: 12.5px; color: #6b7280; text-align: right; white-space: nowrap; }

/* 进行中/未发布对阵的赛事空状态 */
.sch-empty {
  background: #fff;
  border: 1px solid #eceef1;
  border-radius: 14px;
  padding: 22px 22px;
  box-shadow: 0 1px 2px rgba(16,24,40,.03);
  max-width: 640px;
}
.sch-empty .se-title { font-size: 18px; font-weight: 800; color: #1a1d24; margin-bottom: 12px; }
.sch-empty .se-row { font-size: 14px; color: #4b5563; margin: 6px 0; }
.sch-empty .se-tip { margin-top: 14px; font-size: 13px; line-height: 1.7; color: #6b7280; background: #f7f8fa; border-radius: 10px; padding: 12px 14px; }

@media (max-width: 720px) {
  .sch-controls select { min-width: 100%; max-width: 100%; }
  .sch-row { grid-template-columns: 48px 1fr auto; }
  .sch-info { display: none; }
  .event-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}

/* ===== 球员档案页 ===== */
.player-page { max-width: 920px; }
.back-link { margin-bottom: 16px; }
.back-link a { color: #ff6a00; text-decoration: none; font-size: 14px; font-weight: 600; }
.back-link a:hover { text-decoration: underline; }

/* 球员页子页面（标签页） */
.player-tabs { display: flex; gap: 4px; margin: 4px 0 20px; border-bottom: 1px solid #eceff3; }
.ptab {
  border: none; background: transparent; padding: 11px 18px; margin-bottom: -1px;
  font-size: 15px; font-weight: 600; color: #6b7280; cursor: pointer;
  border-bottom: 2px solid transparent; transition: color .12s, border-color .12s;
}
.ptab:hover { color: #1f2937; }
.ptab.active { color: #2563eb; border-bottom-color: #2563eb; }
.tab-pane[hidden] { display: none; }

.profile-head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.profile-flag .flag.lg { width: 64px; height: 44px; border-radius: 6px; box-shadow: 0 1px 4px rgba(16,24,40,.12); }
.profile-name { font-size: 30px; font-weight: 800; margin: 0 0 8px; letter-spacing: .5px; }
.profile-name .profile-en { font-size: 16px; font-weight: 500; color: #8a93a2; margin-left: 10px; }
.profile-sub { display: flex; align-items: center; gap: 10px; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}
.info-cell { background: #fff; border: 1px solid #eceef1; border-radius: 12px; padding: 14px 16px; }
.info-label { font-size: 12px; color: #8a93a2; margin-bottom: 6px; }
.info-value { font-size: 18px; font-weight: 700; color: #1a1d24; }
.info-value.rank { color: #ff6a00; }
.info-value .hc-chip { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; margin: 2px 4px 2px 0; }
.hc-chip.c1 { background: #fff3d6; color: #b45309; }
.hc-chip.c2 { background: #eef1f5; color: #475569; }
.hc-chip.c3 { background: #fbe9e0; color: #c2410c; }
.hc-chip.c4 { background: #eaf1ff; color: #1d4ed8; }

.panel-block { background: #fff; border: 1px solid #eceef1; border-radius: 14px; padding: 20px 22px; margin-bottom: 22px; box-shadow: 0 1px 2px rgba(16,24,40,.03); }
.block-title { font-size: 20px; font-weight: 800; margin: 0 0 16px; }
.block-title small { font-size: 13px; font-weight: 500; color: #8a93a2; margin-left: 10px; }

.honor-table, .record-table { width: 100%; border-collapse: collapse; font-size: 14px; }
/* 对阵记录：固定列宽，保证每个赛事独立小表列对齐 */
.record-table { table-layout: fixed; }
.record-table .c-date { width: 92px; }
.record-table .c-round { width: 92px; }
.record-table .c-opp { width: auto; }
.record-table .c-score { width: 64px; }
.record-table .c-res { width: 52px; }
.record-table .col-score { text-align: center; font-variant-numeric: tabular-nums; white-space: nowrap; }
.record-table .col-res { text-align: center; }
.honor-table thead th, .record-table thead th {
  text-align: left; font-size: 12px; color: #8a93a2; font-weight: 600;
  padding: 8px 12px; border-bottom: 1px solid #eceef1;
}
.honor-table tbody td, .record-table tbody td { padding: 9px 12px; border-bottom: 1px solid #f3f4f6; vertical-align: middle; }
.honor-table tbody tr:hover, .record-table tbody tr:hover { background: #fafbff; }
.col-date { white-space: nowrap; color: #6b7280; }
.col-res, .res-badge { white-space: nowrap; }

/* ---------- 交手记录 H2H 表 ---------- */
.h2h-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.h2h-table thead th { text-align: left; font-size: 12px; color: #8a93a2; font-weight: 600; padding: 8px 12px; border-bottom: 1px solid #eceef1; }
.h2h-table tbody td { padding: 9px 12px; border-bottom: 1px solid #f3f4f6; vertical-align: middle; }
.h2h-table tbody tr:hover { background: #fafbff; }
.h2h-table .num { text-align: center; font-variant-numeric: tabular-nums; white-space: nowrap; }
.h2h-table .num.win { color: #e11d48; font-weight: 700; }
.h2h-table .num.lose { color: #059669; font-weight: 700; }
.h2h-table .col-opp a { color: #1d4ed8; text-decoration: none; font-weight: 600; }
.h2h-table .col-opp a:hover { text-decoration: underline; }
.h2h-table .col-org { color: #6b7280; white-space: nowrap; }
.h2h-table .col-last { color: #6b7280; white-space: nowrap; }
.h2h-summary { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.hc-chip.c-win { background: #fde8ef; color: #e11d48; }
.hc-chip.c-lose { background: #e6f6ef; color: #059669; }

/* H2H 搜索框 + 明细 */
.h2h-search-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.h2h-search {
  flex: 1 1 280px; min-width: 220px; max-width: 460px;
  padding: 9px 14px; font-size: 14px; color: #1f2937;
  border: 1px solid #e3e8ef; border-radius: 999px; background: #fff; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.h2h-search:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.h2h-count { font-size: 12.5px; color: #94a3b8; white-space: nowrap; }
.h2h-detail-btn {
  border: 1px solid #d8dee8; background: #f8fafc; color: #2563eb;
  font-size: 12.5px; font-weight: 600; padding: 3px 12px; border-radius: 999px; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.h2h-detail-btn:hover { background: #eef4ff; border-color: #bcd4ff; }
.h2h-back {
  border: none; background: none; color: #2563eb; font-size: 13.5px; font-weight: 600;
  cursor: pointer; padding: 4px 0; margin-bottom: 12px;
}
.h2h-back:hover { text-decoration: underline; }
.h2h-detail-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.h2h-detail-head .flag.lg { width: 30px; height: 20px; border-radius: 3px; }
.h2h-detail-name { font-size: 17px; font-weight: 700; color: #1f2937; }
.h2h-detail-name .muted { font-size: 13px; font-weight: 500; }
.h2h-detail-stat { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.h2h-detail-stat .hc-chip { font-size: 12.5px; }
.h2h-detail-link { font-size: 13px; font-weight: 600; color: #2563eb; text-decoration: none; }
.h2h-detail-link:hover { text-decoration: underline; }
/* 明细表：赛事列放宽 */
.record-table .c-event { width: auto; }
.record-table .col-event { color: #1f2937; }

.res-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.res-champion { background: #fff3d6; color: #b45309; }
.res-runner { background: #eef1f5; color: #475569; }
.res-sf { background: #fbe9e0; color: #c2410c; }
.res-qf { background: #eaf1ff; color: #1d4ed8; }

/* ---------- 主要荣誉：陈列柜 ---------- */
.medal-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.medal-card {
  border-radius: 14px; padding: 16px 12px; text-align: center;
  border: 1px solid transparent; box-shadow: 0 1px 3px rgba(16,24,40,.05);
}
.medal-card .medal-num { font-size: 30px; font-weight: 800; line-height: 1; }
.medal-card .medal-label { font-size: 13px; font-weight: 600; margin-top: 6px; color: #4b5563; }
.medal-card.gold { background: linear-gradient(135deg,#fff7e6,#fde68a); border-color: #fcd34d; }
.medal-card.gold .medal-num { color: #b45309; }
.medal-card.silver { background: linear-gradient(135deg,#f8fafc,#e5e9f0); border-color: #cbd5e1; }
.medal-card.silver .medal-num { color: #475569; }
.medal-card.bronze { background: linear-gradient(135deg,#fdf2e9,#fbd9bf); border-color: #f0b380; }
.medal-card.bronze .medal-num { color: #c2410c; }
.medal-card.blue { background: linear-gradient(135deg,#eef4ff,#dbe7ff); border-color: #bcd4ff; }
.medal-card.blue .medal-num { color: #1d4ed8; }

.honor-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.honor-toolbar select {
  font-size: 14px; padding: 6px 10px; border: 1px solid #e3e8ef; border-radius: 8px;
  background: #fff; color: #1f2937;
}

.honor-tier { margin-bottom: 16px; }
.tier-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 800; margin: 0 0 8px; padding: 8px 12px; border-radius: 10px;
}
.tier-count {
  font-size: 12px; font-weight: 700; color: #fff; background: rgba(0,0,0,.18);
  border-radius: 999px; padding: 1px 9px; margin-left: 2px;
}
.tier-medal { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.tier-champion { background: linear-gradient(135deg,#fde68a,#f59e0b); }
.tier-runner { background: #cbd5e1; }
.tier-sf { background: #f0b380; }
.tier-qf { background: #bcd4ff; }
.tier-head.tier-champion { background: #fff7e6; color: #b45309; }
.tier-head.tier-runner { background: #f4f6f9; color: #475569; }
.tier-head.tier-sf { background: #fdf2e9; color: #c2410c; }
.tier-head.tier-qf { background: #eef4ff; color: #1d4ed8; }

.honor-rows { display: flex; flex-direction: column; }
.honor-row {
  display: grid; grid-template-columns: 64px 1fr auto; align-items: baseline; gap: 12px;
  padding: 8px 12px; border-bottom: 1px solid #f3f4f6;
}
.honor-row:last-child { border-bottom: none; }
.honor-row:hover { background: #fafbff; }
.honor-year { font-size: 13px; font-weight: 700; color: #94a3b8; }
.honor-event { font-size: 14px; color: #1f2937; font-weight: 600; }
.honor-tier-badge, .ov-tier-badge {
  display: inline-block; font-style: normal; font-size: 10px; font-weight: 700;
  border-radius: 4px; padding: 1px 5px; margin-right: 6px; vertical-align: 1px;
  white-space: nowrap;
}
.ov-tier-badge { border: 1px solid transparent; }
.honor-sub { font-size: 12.5px; color: #8a93a2; white-space: nowrap; }

@media (max-width: 720px) {
  .medal-row { grid-template-columns: repeat(2, 1fr); }
  .honor-row { grid-template-columns: 48px 1fr; }
  .honor-sub { grid-column: 2; }
}

.res-win { color: #e11d48; font-weight: 700; }
.res-lose { color: #059669; font-weight: 700; }
.player-link { text-decoration: none; color: inherit; }
.player-link .player-cn { color: #ff6a00; }
.player-link:hover .player-cn { text-decoration: underline; }
.col-opp a { color: #1d4ed8; text-decoration: none; font-weight: 600; }
.col-opp a:hover { text-decoration: underline; }

.year-block { margin-bottom: 18px; }
.year-head { font-size: 17px; font-weight: 800; color: #1a1d24; margin: 14px 0 10px; border-left: 4px solid #ff6a00; padding-left: 10px; }
.ev-block { margin-bottom: 14px; }
.ev-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.ev-name { font-size: 15px; font-weight: 700; color: #1a1d24; }
.ev-sub { font-size: 12px; color: #8a93a2; background: #f3f4f6; padding: 2px 8px; border-radius: 999px; }
.empty-tip { color: #8a93a2; font-size: 14px; padding: 8px 0; }
.range-tip { color: #6b7280; font-size: 13px; background: #f8f9fb; border: 1px solid #eceef2; border-radius: 8px; padding: 8px 12px; margin: 0 0 14px; line-height: 1.6; }
.data-source { margin-top: 18px; font-size: 12px; }

@media (max-width: 720px) {
  .profile-name { font-size: 24px; }
  .profile-flag .flag.lg { width: 48px; height: 33px; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .honor-table, .record-table { font-size: 12.5px; }
  .col-sub, .col-round { display: none; }
}

/* ---------- 历年成绩概览（球员档案） ---------- */
.ov-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.ov-label { font-size: 14px; color: #475569; font-weight: 600; }
.ov-toolbar select {
  padding: 6px 12px; border: 1px solid #d7dbe2; border-radius: 8px;
  font-size: 14px; background: #fff; color: #1f2937; cursor: pointer;
}
.ov-toolbar select:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.ov-legend { display: inline-flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.lg-cell {
  display: inline-block; padding: 3px 9px; border-radius: 6px;
  font-size: 11.5px; font-weight: 700; line-height: 1.4;
}
.ov-wrap { overflow-x: auto; max-height: 520px; overflow-y: auto; border-radius: 8px; }
.ov-table { border-collapse: separate; border-spacing: 3px; font-size: 13px; min-width: 100%; }
.ov-table thead th {
  padding: 7px 9px; background: #f5f6f8; color: #6b7280; font-weight: 700;
  font-size: 12.5px; white-space: nowrap; text-align: center;
  position: sticky; top: 0; z-index: 2; border-radius: 4px;
}
.ov-table td { padding: 2px 3px; text-align: center; }
.ov-table .ov-event {
  text-align: left; white-space: nowrap; font-weight: 600; color: #1f2937;
  padding: 4px 10px 4px 6px; position: sticky; left: 0; z-index: 1;
  background: #fff; font-size: 13px; max-width: 220px;
  overflow: hidden; text-overflow: ellipsis;
}
.ov-cell { display: inline-block; min-width: 46px; text-align: center; padding: 5px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; line-height: 1.4; }
.ov-champion { background: #dd8500; color: #fff; }
.ov-runner   { background: #f0a24a; color: #fff; }
.ov-sf       { background: #f6c98a; color: #7c4a03; }
.ov-qf       { background: #fdeccd; color: #92600a; }
.ov-r16      { background: #eceff3; color: #475569; }
.ov-r32      { background: #f3f5f7; color: #64748b; }
.ov-r64      { background: #f9fafb; color: #94a3b8; border: 1px solid #f0f1f3; }
.ov-group    { background: #e8f1fb; color: #2563eb; }
.ov-qual     { background: #f5f5f5; color: #9ca3af; }

@media (max-width: 720px) {
  .ov-table { font-size: 12px; }
  .ov-cell { min-width: 38px; padding: 4px 6px; font-size: 11px; }
  .ov-legend { margin-left: 0; }
}


/* ---------- 视图切换（赛事日历） ---------- */
.view-switch { display: inline-flex; border: 1px solid #d7dbe2; border-radius: 8px; overflow: hidden; align-self: flex-end; }
.view-btn { padding: 7px 16px; border: none; background: #fff; color: #475569; font-size: 14px; font-weight: 600; cursor: pointer; }
.view-btn + .view-btn { border-left: 1px solid #eceff3; }
.view-btn.active { background: #2563eb; color: #fff; }

/* ---------- 年历视图 ---------- */
.cal-legend {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  margin: 2px 0 18px; padding: 12px 14px;
  background: #fff; border: 1px solid #eceff3; border-radius: 12px;
}
.cal-leg-item { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #475569; font-weight: 600; }
.cal-leg-item i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }

.cal-grid-year { display: grid; grid-template-columns: repeat(auto-fill, minmax(430px, 1fr)); gap: 18px; }

.cal-month {
  background: #fff; border: 1px solid #eceff3; border-radius: 14px;
  padding: 14px 14px 16px;
  box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 6px 18px rgba(16,24,40,.04);
  transition: box-shadow .15s, transform .15s;
}
.cal-month:hover { box-shadow: 0 4px 10px rgba(16,24,40,.08), 0 12px 28px rgba(16,24,40,.08); }
.cal-title {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid #f1f3f6;
}
.cal-title .m-name { font-size: 16px; font-weight: 800; color: #1f2937; }
.cal-title .m-count { font-size: 12px; color: #9aa3af; font-weight: 600; }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-wd { text-align: center; font-size: 11.5px; color: #94a3b8; font-weight: 700; padding: 2px 0 6px; }
.cal-wd.we { color: #e23744; }

/* 周行：第 1 行为日期行（只包日期数字），事件条从第 2 行起按泳道紧贴日期摆放 */
.cal-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 4px; grid-column: 1 / -1; }
.cal-cell { grid-row: 1; height: 24px; min-height: 0; border-radius: 6px; padding: 2px 5px; background: #fbfcfe; overflow: hidden; }
.cal-cell.cal-empty { background: transparent; }
.cal-today { background: #eef4ff; box-shadow: inset 0 0 0 1.5px #2563eb; }
.cal-num { font-size: 11.5px; color: #64748b; font-weight: 600; line-height: 20px; }
.cal-today .cal-num {
  display: inline-block; min-width: 18px; height: 18px; line-height: 18px; text-align: center;
  background: #2563eb; color: #fff; border-radius: 50%; padding: 0 3px;
}
.cal-bar {
  display: block; grid-row: 2; height: 22px; line-height: 22px;
  font-size: 11px; font-weight: 700; border-radius: 5px;
  padding: 0 6px; text-decoration: none; border-left: 3px solid #9aa3af;
  margin: 1px 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  position: relative; z-index: 2;
}
.cal-bar:hover { filter: brightness(0.95); }
.cal-bar.cal-bar-cont { border-left: none; border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: 0; }
.cal-bar.cal-bar-open { border-top-right-radius: 0; border-bottom-right-radius: 0; margin-right: 0; }

/* 历年成绩概览：全部模式下的分单项小标题 */
.ov-sub-title { font-size: 15px; font-weight: 700; color: #1f2937; margin: 14px 0 6px; padding-left: 8px; border-left: 3px solid #2563eb; }

@media (max-width: 720px) {
  .cal-grid-year { grid-template-columns: 1fr; }
  .cal-cell { height: 22px; }
  .cal-num { font-size: 11px; }
  .cal-bar { font-size: 10px; height: 20px; line-height: 20px; }
  .view-switch { align-self: flex-start; }
}

/* ===== 实时比分页 ===== */
.live-page { padding-bottom: 40px; }
.live-page .meta-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #16a34a; display: inline-block; box-shadow: 0 0 0 0 rgba(22,163,74,.6); animation: livedot 1.4s infinite; }
@keyframes livedot { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.6);} 70%{ box-shadow:0 0 0 8px rgba(22,163,74,0);} 100%{ box-shadow:0 0 0 0 rgba(22,163,74,0);} }
.live-sec { margin-top: 22px; }
.sec-title { font-size: 17px; display: flex; align-items: center; gap: 8px; margin: 0 0 12px; }
.sec-count { font-size: 12px; background: #eef2f7; color: #475569; border-radius: 10px; padding: 1px 9px; font-weight: 600; }
.lb-empty { color: #94a3b8; font-size: 14px; padding: 18px; background: #f8fafc; border: 1px dashed #e2e8f0; border-radius: 10px; }
.lb-event-block { margin-bottom: 18px; }
.lb-event-title { font-weight: 700; font-size: 15px; margin-bottom: 8px; display: flex; gap: 8px; align-items: baseline; }
.lb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.lb-card { border: 1px solid #e6ebf1; border-radius: 12px; background: #fff; padding: 12px 14px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.lb-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.lb-event { font-size: 13px; font-weight: 700; color: #0f172a; }
.lb-tier { font-size: 10px; color: #fff; background: #cbd5e1; border-radius: 6px; padding: 1px 6px; }
.lb-live { font-size: 11px; color: #16a34a; font-weight: 700; margin-left: auto; }
.lb-done { font-size: 11px; color: #94a3b8; margin-left: auto; }
.lb-round { font-size: 12px; color: #64748b; margin-bottom: 8px; }
.lb-players { display: flex; flex-direction: column; gap: 4px; }
.lb-row { display: flex; align-items: center; gap: 7px; padding: 4px 6px; border-radius: 8px; }
.lb-row.win { background: #fff7ed; }
.lb-flag { width: 22px; height: 15px; object-fit: cover; border-radius: 2px; flex: none; }
.lb-name { font-size: 14px; font-weight: 600; color: #1f2937; }
.lb-org { font-size: 11px; color: #94a3b8; }
.svc { color: #ff6a00; font-size: 13px; margin-left: 2px; }
.lb-gw { margin-left: auto; font-weight: 800; font-size: 16px; color: #0f172a; min-width: 14px; text-align: center; }
.lb-score { display: flex; gap: 5px; justify-content: flex-end; padding: 2px 6px 4px; }
.lb-score .gm { font-variant-numeric: tabular-nums; font-size: 13px; color: #475569; background: #f1f5f9; border-radius: 5px; padding: 1px 6px; }
.lb-score .gm-cur { background: #ffedd5; color: #ea580c; font-weight: 700; }
.lb-foot { display: flex; gap: 12px; font-size: 11px; color: #94a3b8; margin-top: 6px; border-top: 1px solid #f1f5f9; padding-top: 6px; }
.lb-curg { color: #ea580c; font-weight: 700; }
.lb-sched { display: flex; flex-direction: column; gap: 2px; }
.sd-row { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-bottom: 1px solid #f1f5f9; font-size: 13px; flex-wrap: wrap; }
.sd-time { font-weight: 700; color: #0f172a; font-variant-numeric: tabular-nums; min-width: 42px; }
.sd-round { color: #64748b; min-width: 70px; }
.sd-pl { display: flex; align-items: center; gap: 4px; color: #1f2937; }
.sd-vs { color: #cbd5e1; font-size: 11px; }
.sd-tbl { margin-left: auto; color: #94a3b8; font-size: 11px; }
@media (max-width: 720px) {
  .lb-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   首页（landing）
   ============================================================ */
.hero {
  position: relative;
  margin: -28px -16px 0;
  background: linear-gradient(150deg, #0b1220 0%, #101a33 46%, #1a1240 100%);
  color: #f4f6fb;
  overflow: hidden;
  isolation: isolate;
}
.hero-canvas { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.glow-a { width: 420px; height: 420px; left: -120px; top: -140px; background: radial-gradient(circle, rgba(255, 106, 0, .55), transparent 65%); animation: glowDrift 9s ease-in-out infinite alternate; }
.glow-b { width: 460px; height: 460px; right: -140px; bottom: -180px; background: radial-gradient(circle, rgba(56, 189, 248, .35), transparent 65%); animation: glowDrift 11s ease-in-out infinite alternate-reverse; }
@keyframes glowDrift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(36px, 22px) scale(1.12); }
}
.hero-ball {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffd9b0, #ff8a2a 55%, #d95f00);
  box-shadow: 0 0 22px rgba(255, 138, 42, .5), inset -3px -4px 8px rgba(120, 53, 0, .45);
  opacity: .85;
}
.hero-ball::after {
  content: ""; position: absolute; inset: 12%;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .55);
  border-bottom-color: transparent; border-left-color: transparent;
  transform: rotate(-32deg);
}
.ball-1 { width: 54px; height: 54px; left: 9%;  top: 20%; animation: ballFloat 7s ease-in-out infinite; }
.ball-2 { width: 30px; height: 30px; left: 16%; top: 66%; animation: ballFloat 5.5s ease-in-out infinite .8s; opacity: .6; }
.ball-3 { width: 40px; height: 40px; right: 12%; top: 26%; animation: ballFloat 6.5s ease-in-out infinite .4s; opacity: .7; }
.ball-4 { width: 20px; height: 20px; right: 22%; top: 70%; animation: ballFloat 4.8s ease-in-out infinite 1.2s; opacity: .5; }
@keyframes ballFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-26px) rotate(16deg); }
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1000px; margin: 0 auto;
  padding: 84px 16px 108px;
  text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .07);
  padding: 6px 16px; border-radius: 999px;
  font-size: 13px; color: #dbe3f4; letter-spacing: .5px;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px #34d399; animation: pulseDot 2s infinite; }
@keyframes pulseDot { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.hero-title {
  margin: 22px 0 6px;
  font-size: clamp(44px, 7vw, 72px);
  font-weight: 900; letter-spacing: 6px;
  background: linear-gradient(100deg, #ffffff 20%, #ffd9b8 55%, #ff9a3d 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-slogan {
  margin: 0 0 14px; font-size: 15px; font-weight: 600;
  letter-spacing: 4px; color: #93a4c3; text-transform: uppercase;
}
.slogan-sep { color: #ff8a2a; margin: 0 10px; }
.hero-desc { margin: 0 auto 34px; max-width: 560px; font-size: 16px; color: #b9c4d9; line-height: 1.8; }
.hero-cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(120deg, #ff6a00, #ff9424);
  color: #fff; text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 13px 28px; border-radius: 999px;
  box-shadow: 0 10px 28px rgba(255, 106, 0, .42);
  transition: transform .18s, box-shadow .18s;
}
.cta-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(255, 106, 0, .55); }
.cta-primary svg { transition: transform .18s; }
.cta-primary:hover svg { transform: translateX(3px); }
.cta-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .06);
  color: #e8edf7; text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: 999px;
  transition: border-color .18s, background .18s, transform .18s;
}
.cta-ghost:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #f87171; box-shadow: 0 0 10px #f87171; animation: pulseDot 1.4s infinite; }
.hero-wave { position: relative; z-index: 2; margin-top: -1px; line-height: 0; }
.hero-wave svg { display: block; width: 100%; height: 56px; }

/* ===== 数据带 ===== */
.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin: -34px auto 8px; max-width: 1000px; padding: 0 16px;
  position: relative; z-index: 5;
}
.stat-card {
  background: #fff; border: 1px solid #eceef1; border-radius: 16px;
  padding: 20px 18px 16px; text-align: center;
  box-shadow: 0 10px 30px rgba(16, 24, 40, .08);
  transition: transform .18s, box-shadow .18s;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(16, 24, 40, .12); }
.stat-icon {
  width: 44px; height: 44px; margin: 0 auto 10px;
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.icon-rank { background: #fff7ed; }
.icon-match { background: #fff1f2; }
.icon-event { background: #eff6ff; }
.icon-player { background: #f0fdf4; }
.stat-num {
  font-size: 32px; font-weight: 900; color: #0f172a;
  font-variant-numeric: tabular-nums; line-height: 1.05;
}
.stat-label { font-size: 14px; font-weight: 700; color: #374151; margin-top: 5px; }
.stat-sub { font-size: 12px; color: #9aa3af; margin-top: 3px; }

/* ===== 模块入口 ===== */
.feature-section, .spotlight { max-width: 1000px; margin: 0 auto; padding: 0 16px; }
.feature-section { margin-top: 34px; }
.recent-section { max-width: 1000px; margin: 46px auto 0; padding: 0 16px; }
.recent-section .section-head { position: relative; }
.section-head { text-align: center; margin: 26px 0 20px; }
.section-head h2 { font-size: 26px; font-weight: 800; letter-spacing: 1px; margin: 0 0 6px; }
.section-head h2::after {
  content: ""; display: block; width: 42px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, #ff6a00, #ffb066);
  margin: 10px auto 0;
}
.section-head p { color: #8a93a2; font-size: 14px; margin: 0; }
.sh-more { position: absolute; right: 16px; top: 8px; font-size: 13px; font-weight: 700; color: #ff6a00; text-decoration: none; }
.sh-more:hover { text-decoration: underline; }

/* ===== 首页：实时动态条 ===== */
.live-strip {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  max-width: 1000px; margin: 22px auto 0; padding: 11px 18px;
  background: #fff; border: 1px solid #eceef1; border-radius: 14px;
  box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 8px 22px rgba(16,24,40,.06);
}
.ls-item { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: #334155; }
.ls-item.ls-live { color: #16a34a; }
.ls-item.ls-dim { color: #94a3b8; font-weight: 500; font-size: 12.5px; }
.ls-sep { width: 1px; height: 14px; background: #e2e8f0; }
.ls-more { margin-left: auto; font-size: 13px; font-weight: 700; color: #ff6a00; text-decoration: none; }
.ls-more:hover { text-decoration: underline; }

/* ===== 首页：近期赛果 ===== */
.rr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.rr-card {
  background: #fff; border: 1px solid #eceef1; border-radius: 14px;
  padding: 14px 16px 12px; display: flex; flex-direction: column; gap: 9px;
  box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 6px 18px rgba(16,24,40,.04);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.rr-card:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(16,24,40,.08), 0 12px 28px rgba(16,24,40,.08); border-color: #ffd9b8; }
.rr-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.rr-event { font-size: 13px; font-weight: 700; color: #475569; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rr-event:hover { color: #ff6a00; }
.rr-date { font-size: 12px; color: #9aa3af; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.rr-match { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.rr-player { color: #1a1d24; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 42%; }
.rr-player a { color: inherit; text-decoration: none; }
.rr-player a:hover { color: #ff6a00; text-decoration: underline; }
.rr-player.win { color: #e23744; font-weight: 800; }
.rr-org { font-style: normal; font-size: 11px; color: #9aa3af; font-weight: 600; }
.rr-score { font-weight: 800; color: #1f2937; background: #f6f7f9; border-radius: 6px; padding: 1px 9px; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.rr-meta { font-size: 12px; color: #9aa3af; }
@media (max-width: 860px) {
  .rr-grid { grid-template-columns: 1fr; }
  .sh-more { position: static; display: inline-block; margin-top: 8px; }
}
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
  position: relative; display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid #eceef1; border-radius: 16px;
  padding: 18px; text-decoration: none; color: inherit;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 18px rgba(16, 24, 40, .04);
  transition: transform .18s, box-shadow .18s, border-color .18s;
  overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(255, 106, 0, .06), transparent 55%);
  opacity: 0; transition: opacity .18s;
}
.feature-card:hover { transform: translateY(-4px); border-color: #ffd9b8; box-shadow: 0 14px 34px rgba(255, 106, 0, .12); }
.feature-card:hover::before { opacity: 1; }
.fc-icon {
  flex: none; width: 48px; height: 48px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
}
.fc-icon svg { width: 24px; height: 24px; }
.fc-rank { background: #fff7ed; color: #ea580c; }
.fc-match { background: #fff1f2; color: #e11d48; }
.fc-event { background: #eff6ff; color: #2563eb; }
.fc-schedule { background: #f0fdfa; color: #0d9488; }
.fc-live { background: #fef2f2; color: #dc2626; }
.fc-body { flex: 1; min-width: 0; }
.fc-body h3 { margin: 0 0 3px; font-size: 16px; font-weight: 800; }
.fc-body p { margin: 0; font-size: 13px; color: #8a93a2; line-height: 1.5; }
.fc-arrow {
  flex: none; color: #c3c9d4; font-weight: 700; font-size: 18px;
  transition: transform .18s, color .18s;
}
.feature-card:hover .fc-arrow { transform: translateX(4px); color: #ff6a00; }

/* ===== 巅峰视角 ===== */
.spotlight-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; align-items: start; }
.podium, .upcoming {
  background: #fff; border: 1px solid #eceef1; border-radius: 18px;
  padding: 18px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .05);
}
.podium-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid #f3f4f6;
}
.podium-title { font-size: 16px; font-weight: 800; letter-spacing: .5px; }
.podium-week { font-size: 12px; color: #9aa3af; }
.podium-row {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 8px; border-radius: 12px;
}
.podium-row + .podium-row { margin-top: 2px; }
.podium-row.rank-1 { background: linear-gradient(100deg, #fff8e6, #fffdf5); }
.podium-rank {
  flex: none; width: 28px; height: 28px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; background: #f1f3f5; color: #495057;
}
.podium-row.rank-1 .podium-rank { background: linear-gradient(135deg, #fde68a, #f59e0b); color: #7c4a03; box-shadow: 0 2px 8px rgba(245, 158, 11, .35); }
.podium-row.rank-2 .podium-rank { background: linear-gradient(135deg, #e9eef3, #cbd5e1); color: #475569; }
.podium-row.rank-3 .podium-rank { background: linear-gradient(135deg, #fbd9b8, #e2935a); color: #6b3410; }
.podium-player { flex: 1; min-width: 0; }
.podium-name { font-size: 15px; font-weight: 700; color: #1a1d24; text-decoration: none; }
a.podium-name:hover { color: #ff6a00; text-decoration: underline; }
.podium-meta { display: flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 12px; color: #8a93a2; }
.podium-en { color: #b6bcc6; }
.podium-points { font-weight: 800; font-size: 15px; color: #0f172a; font-variant-numeric: tabular-nums; }
.podium-more {
  display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700;
  color: #ff6a00; text-decoration: none;
}
.podium-more:hover { text-decoration: underline; }

/* 近期赛事 */
.upcoming-list { list-style: none; margin: 0; padding: 0; }
.upcoming-item { display: flex; gap: 12px; padding: 9px 4px; align-items: center; }
.upcoming-item + .upcoming-item { border-top: 1px solid #f3f4f6; }
.up-date {
  flex: none; width: 46px; text-align: center;
  background: #f8fafc; border: 1px solid #eceef1; border-radius: 10px; padding: 5px 0;
}
.up-md { display: block; font-size: 14px; font-weight: 800; color: #0f172a; font-variant-numeric: tabular-nums; }
.up-y { display: block; font-size: 10px; color: #9aa3af; }
.up-body { flex: 1; min-width: 0; }
.up-name { font-size: 14px; font-weight: 700; color: #1a1d24; text-decoration: none; display: block; }
.up-name:hover { color: #ff6a00; }
.up-meta { display: flex; align-items: center; gap: 6px; margin-top: 3px; flex-wrap: wrap; }
.up-tag {
  font-style: normal; font-size: 11px; font-weight: 600;
  background: #eef2ff; color: #4338ca; border-radius: 5px; padding: 1px 7px;
}
.up-tag.tag-hot { background: #fff7ed; color: #c2410c; }
.up-tag.tag-live { background: #fef2f2; color: #dc2626; }
.up-city { font-size: 12px; color: #9aa3af; }
.up-empty { color: #9aa3af; font-size: 13px; text-align: center; padding: 18px 0; }

.home-note { max-width: 1000px; margin: 26px auto 0; padding: 0 16px; text-align: center; }
.home-note p { color: #9aa3af; font-size: 12px; margin: 0; }

/* ===== 入场动画 ===== */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }

@media (max-width: 860px) {
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .spotlight-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero-inner { padding: 64px 16px 92px; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero-title { letter-spacing: 3px; }
  .ball-1, .ball-3 { display: none; }
}
