/* ═══════════════════════════════════════════
   官方赛季榜 · season.css
   权威金徽 · 黄金比例 φ=1.618 · 自然四赛季
   ── 设计度量（逐项可核）──
   列宽比  main:side = 1.618 : 1
   间距阶  8 / 13 / 21 / 34 / 55（斐波那契 ≈ φ）
   字阶    基准 14 → 11 / 12 / 13 / 14 / 16 / 20 / 24 / 44
   ═══════════════════════════════════════════ */
:root {
  --sz-s1: 8px;
  --sz-s2: 13px;
  --sz-s3: 21px;
  --sz-s4: 34px;
  --sz-s5: 55px;
  --sz-f-micro: 11px;
  --sz-f-cap: 12px;
  --sz-f-body: 13.5px;
  --sz-f-h2: 20px;
  --sz-f-score: 16px;
  --sz-line: rgba(255, 255, 255, 0.055);
  --sz-gold-soft: rgba(232, 213, 163, 0.22);
}
.sz-wrap {
  width: 100%;
  max-width: var(--max, 1180px); /* 跟 portal --max 同步，宽屏放大 */
  margin: 0 auto;
  padding: var(--sz-s4) clamp(16px, 3vw, 32px) var(--sz-s5);
}

/* ── 主视觉 ── */
.sz-hero {
  position: relative;
  display: grid;
  /* 徽章 : 文案 : 倒计时 ≈ 96 : 1fr : 240 —— 倒计时列 ≈ φ×148 */
  grid-template-columns: auto minmax(0, 1.618fr) minmax(180px, 0.618fr);
  gap: var(--sz-s3);
  align-items: center;
  padding: 26px 30px;
  border-radius: 20px;
  background:
    radial-gradient(500px 180px at 8% 50%, rgba(232, 213, 163, 0.14), transparent 60%),
    radial-gradient(400px 200px at 92% 20%, rgba(77, 225, 255, 0.08), transparent 55%),
    linear-gradient(135deg, #141c30 0%, #0c1220 48%, #151a2e 100%);
  border: 1px solid rgba(232, 213, 163, 0.38);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.sz-hero::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 16px;
  border: 1px solid rgba(232, 213, 163, 0.22);
  pointer-events: none;
}
.sz-hero-glow {
  position: absolute;
  inset: auto -40px -60px auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(232, 213, 163, 0.16), transparent 65%);
  pointer-events: none;
}

/* 徽章 */
.sz-crest {
  position: relative;
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  z-index: 1;
}
.sz-crest-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    conic-gradient(from 210deg, #f7e7b8, #c2b59b 30%, #8a7a58 55%, #e8d5a3 75%, #f7e7b8);
  box-shadow: 0 10px 28px rgba(194, 181, 155, 0.35);
}
.sz-crest-ring::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #0d1424;
  border: 1px solid rgba(232, 213, 163, 0.35);
}
.sz-crest-core {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  line-height: 1;
}
.sz-crest-q {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #f7e7b8, #c2b59b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sz-crest-y {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--mute, #6b7690);
  margin-top: 4px;
}

.sz-hero-copy { z-index: 1; min-width: 0; }
.sz-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-2, #e8d5a3);
  margin-bottom: 10px;
}
.sz-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7dff8a;
  box-shadow: 0 0 10px #7dff8a;
  animation: szPulse 1.6s ease infinite;
}
.sz-eyebrow-sep {
  width: 16px;
  height: 1px;
  background: rgba(232, 213, 163, 0.4);
}
@keyframes szPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.sz-hero-copy h1 {
  margin: 0 0 var(--sz-s1);
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.15;
  background: linear-gradient(120deg, #f7e7b8 10%, #ffffff 45%, #e8d5a3 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sz-hero-sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2, #a8b3c7);
}
.sz-hero-sub b { color: var(--gold-3, #f7e7b8); }
.sz-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.sz-tag {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--gold-2, #e8d5a3);
  background: rgba(194, 181, 155, 0.1);
  border: 1px solid rgba(194, 181, 155, 0.28);
}

/* 倒计时 */
.sz-countdown {
  z-index: 1;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(7, 10, 18, 0.55);
  border: 1px solid rgba(232, 213, 163, 0.3);
  text-align: center;
}
.sz-cd-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--mute, #6b7690);
  margin-bottom: 6px;
}
.sz-cd-main { display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.sz-cd-num {
  font-size: 44px; /* 44 ≈ φ × 27，弱于主标题但仍是页内第二焦点 */
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #f7e7b8, #e8a23a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sz-cd-unit { font-size: 16px; font-weight: 700; color: var(--gold-2, #e8d5a3); }
.sz-cd-sub {
  margin-top: 6px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2, #a8b3c7);
  letter-spacing: 0.06em;
}
.sz-cd-bar {
  margin-top: 12px;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.sz-cd-bar i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: linear-gradient(90deg, #c2b59b, #f7e7b8);
  transition: width 1s linear;
}

/* ── 数据条 四等分（φ×13≈21 → 用 13 收紧）── */
.sz-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sz-s2);
  margin-top: var(--sz-s3);
}
.sz-stat {
  padding: 14px 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}
.sz-stat b {
  display: block;
  font-size: 22px; /* 次级数字：弱于榜内 score 的 16 强调 + 侧栏 28 */
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--gold-3, #f7e7b8);
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.sz-stat span {
  display: block;
  margin-top: 3px;
  font-size: var(--sz-f-cap);
  color: var(--mute, #6b7690);
  letter-spacing: 0.06em;
}

/* ── 工具条：唯一顶层粒度导航（游戏切换下沉到榜单卡内）── */
.sz-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sz-s2);
  margin-top: var(--sz-s3);
  margin-bottom: var(--sz-s2);
}
.sz-seg {
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(194, 181, 155, 0.1);
  border: 1px solid rgba(194, 181, 155, 0.2);
}
.sz-seg-btn {
  padding: 7px 16px;
  border-radius: 999px;
  font-size: var(--sz-f-body);
  font-weight: 700;
  color: var(--ink-2, #a8b3c7);
  transition: 0.2s ease;
}
.sz-seg-btn:hover { color: var(--gold-3, #f7e7b8); }
.sz-seg-btn.is-active {
  background: linear-gradient(135deg, #f7e7b8, #c2b59b);
  color: #1a1408;
  box-shadow: 0 6px 16px rgba(194, 181, 155, 0.3);
}
.sz-months { display: flex; flex-wrap: wrap; gap: 6px; }
.sz-months[hidden] { display: none !important; }
.sz-month {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink-2, #a8b3c7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  transition: 0.15s ease;
}
.sz-month:hover { border-color: rgba(194, 181, 155, 0.45); color: var(--gold-2, #e8d5a3); }
.sz-month.is-active {
  background: linear-gradient(135deg, #f7e7b8, #c2b59b);
  color: #1a1408;
  border-color: transparent;
  font-weight: 750;
}
.sz-toolbar-right { margin-left: auto; display: flex; gap: var(--sz-s2); }
.sz-link {
  font-size: var(--sz-f-cap);
  color: var(--gold-2, #e8d5a3);
  opacity: 0.85;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(194, 181, 155, 0.16);
  background: transparent; /* 次级入口：去掉底色，避免与主分段抢层次 */
  transition: 0.2s ease;
}
.sz-link:hover { background: rgba(194, 181, 155, 0.1); opacity: 1; }

/* ── 黄金比例主区 φ = 1.618 : 1 ── */
.sz-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.618fr) minmax(0, 1fr); /* 1.618 : 1 */
  gap: var(--sz-s3); /* 21 ≈ 13×φ */
  align-items: start; /* 两栏顶对齐：侧栏短时不拉伸正文 */
  transition: opacity 0.25s ease, filter 0.25s ease;
}
/* hidden 必须能压过 display:grid，否则历史态收不起来 */
.sz-grid[hidden] { display: none !important; }
.sz-main { min-width: 0; }
.sz-side {
  display: flex;
  flex-direction: column;
  gap: var(--sz-s2);
  min-width: 0;
}

/* ── 游戏切换：卡内单行横向条（可横滑，禁止折成两行）── */
.rank-tabs-wrap {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 14px 8px 0;
  min-width: 0;
}
.rank-tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0 4px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  min-width: 0;
  flex: 1 1 auto;
  scroll-behavior: smooth;
}
.rank-tabs::-webkit-scrollbar { display: none; }
.rank-tabs-nav {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  margin-top: auto;
  margin-bottom: 2px;
  border-radius: 50%;
  border: 1px solid rgba(194, 181, 155, 0.35);
  background: rgba(194, 181, 155, 0.1);
  color: var(--gold-2, #e8d5a3);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: 0.15s ease;
  z-index: 1;
}
.rank-tabs-nav:hover:not(:disabled) {
  background: rgba(194, 181, 155, 0.22);
  color: var(--gold-3, #f7e7b8);
}
.rank-tabs-nav:disabled {
  opacity: 0.28;
  cursor: default;
}
.rank-tabs-nav[hidden] { display: none !important; }
.rank-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: var(--sz-f-cap);
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--ink-2, #a8b3c7);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  white-space: nowrap;
  transition: 0.15s ease;
}
.rank-tab .ic-sm { width: 13px; height: 13px; opacity: 0.7; }
/* 页签徽章：公测（金色）/ 发布年份（灰蓝） */
.rank-tab-badge {
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 1.5px 7px;
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1.4;
}
.rank-tab-badge.rt-launch {
  color: #1a1408;
  background: linear-gradient(135deg, #f7e7b8, #c2b59b);
  border: 1px solid rgba(194, 181, 155, 0.55);
}
.rank-tab-badge.rt-year {
  color: #b7c3d9;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.rank-tab:hover {
  color: var(--gold-3, #f7e7b8);
  border-color: rgba(194, 181, 155, 0.4);
}
.rank-tab.is-active {
  background: linear-gradient(135deg, #f7e7b8, #c2b59b);
  border-color: transparent;
  color: #1a1408;
  font-weight: 750;
  box-shadow: 0 4px 12px rgba(194, 181, 155, 0.28);
}
.rank-tab.is-active .ic-sm { opacity: 1; }

/* 榜单卡 */

/* 榜单卡 */
.sz-board-card {
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}
.sz-board-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sz-s2);
  padding: 20px 18px 0;
}
.sz-board-head h2 {
  margin: 0;
  font-size: var(--sz-f-h2);
  font-weight: 800;
  letter-spacing: 0.03em;
}
.sz-board-head p {
  margin: 5px 0 0;
  font-size: var(--sz-f-cap);
  color: var(--mute, #6b7690);
}
.sz-board-badge {
  flex-shrink: 0;
  margin-top: 2px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: var(--sz-f-micro);
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #0a1408;
  background: linear-gradient(135deg, #7dff8a, #4de1ff);
}
.sz-board-badge.is-arch {
  background: linear-gradient(135deg, #d7dee8, #9aa8bb);
  color: #1a2230;
}

.my-bar {
  margin: 13px 18px;
  padding: 10px 13px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(194, 181, 155, 0.14), rgba(77, 225, 255, 0.05));
  border: 1px solid rgba(194, 181, 155, 0.24);
  font-size: var(--sz-f-body);
  color: var(--ink-2, #a8b3c7);
  display: flex;
  align-items: center;
  gap: var(--sz-s1);
  flex-wrap: wrap;
}
.my-bar strong { color: var(--gold-3, #f7e7b8); font-weight: 800; }
.my-bar b { color: var(--gold-3, #f7e7b8); font-variant-numeric: tabular-nums; font-weight: 750; }
.my-bar a { color: var(--gold-2, #e8d5a3); text-decoration: underline; text-underline-offset: 3px; }
.my-right { margin-left: auto; font-size: var(--sz-f-micro); color: var(--mute, #6b7690); }

/* 表：突出名次/选手/成绩，弱化对局/最近 */
table.board { width: 100%; border-collapse: collapse; font-size: var(--sz-f-body); }
table.board th, table.board td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--sz-line); /* 更细的分隔 */
}
table.board th {
  color: var(--mute, #6b7690);
  font-size: var(--sz-f-micro);
  font-weight: 700;
  letter-spacing: 0.1em;
  background: rgba(255, 255, 255, 0.02);
  padding-top: 10px;
  padding-bottom: 10px;
}
table.board tr:last-child td { border-bottom: none; }
table.board tr.me { background: rgba(194, 181, 155, 0.1); }
table.board tr:hover td { background: rgba(255, 255, 255, 0.02); }
table.board tr.me:hover td { background: rgba(194, 181, 155, 0.12); }
.rank-medal {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 13.5px;
  background: rgba(194, 181, 155, 0.12);
  color: var(--gold-2, #e8d5a3);
}
.rank-medal.top1 { background: linear-gradient(135deg, #ffd76a, #e8a23a); color: #2a1c00; box-shadow: 0 4px 14px rgba(232, 162, 58, 0.4); }
.rank-medal.top2 { background: linear-gradient(135deg, #d7dee8, #9aa8bb); color: #1a2230; }
.rank-medal.top3 { background: linear-gradient(135deg, #e0b089, #b87a4c); color: #2a1408; }
.nick { font-weight: 700; color: var(--ink, #f2f5fa); font-size: 14.5px; } /* 核心：昵称提亮 */
.score-num {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: var(--sz-f-score);
  color: var(--gold-3, #f7e7b8); /* 核心：成绩用亮金 */
  letter-spacing: 0.01em;
}
.when { color: var(--mute, #6b7690); font-size: 11.5px; font-variant-numeric: tabular-nums; }
table.board td:nth-child(4) { color: var(--ink-2, #a8b3c7); font-size: var(--sz-f-cap); } /* 次要：对局 */
.empty { padding: 44px 16px !important; text-align: center; color: var(--mute, #6b7690); line-height: 1.75; font-size: var(--sz-f-body); }

/* ── 侧栏：弱于正文，只保留三种信息 ── */
.sz-card {
  padding: 15px 15px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.sz-card-kicker {
  font-size: var(--sz-f-micro);
  font-weight: 750;
  letter-spacing: 0.14em;
  color: var(--gold-2, #e8d5a3);
  margin-bottom: var(--sz-s1); /* 去掉 kicker 下分隔线 */
  opacity: 0.95;
}
.sz-card-me { text-align: center; padding-bottom: 16px; }
.sz-me-empty {
  padding: 14px 8px;
  color: var(--mute, #6b7690);
  font-size: var(--sz-f-cap);
}
.sz-me-rank {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  line-height: 1;
}
.sz-me-rank span {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-2, #e8d5a3);
}
.sz-me-rank b {
  font-size: 48px; /* φ×30 — 侧栏焦点，仍小于 hero h1 */
  font-weight: 800;
  background: linear-gradient(180deg, #f7e7b8, #e8a23a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.sz-me-score {
  margin-top: 4px;
  font-size: 26px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--ink, #f2f5fa);
}
.sz-me-label {
  margin-top: 3px;
  font-size: var(--sz-f-cap);
  color: var(--mute, #6b7690);
  letter-spacing: 0.06em;
}

.sz-rules {
  margin: 0;
  padding: 0 0 0 2px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.sz-rules li {
  position: relative;
  padding-left: 12px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-2, #a8b3c7);
}
.sz-rules li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold, #c2b59b);
  opacity: 0.85;
}
.sz-rules b { color: var(--gold-3, #f7e7b8); font-weight: 700; }

.sz-year {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.sz-yq {
  padding: 10px 4px 8px;
  border-radius: 10px;
  text-align: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.sz-yq b {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-2, #a8b3c7);
}
.sz-yq span {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  color: var(--mute, #6b7690);
}
.sz-yq.is-live {
  background: linear-gradient(160deg, rgba(232, 213, 163, 0.28), rgba(194, 181, 155, 0.12));
  border-color: rgba(232, 213, 163, 0.55);
  box-shadow: 0 8px 22px rgba(194, 181, 155, 0.2);
}
.sz-yq.is-live b { color: var(--gold-3, #f7e7b8); }
.sz-yq.is-live span { color: var(--gold-2, #e8d5a3); }
.sz-yq.is-end b { color: var(--ink, #f2f5fa); opacity: 0.85; }

/* ── 历史 ── */
.sz-history { margin-top: 8px; padding-bottom: 48px; }
.sz-sec-head {
  position: relative;
  text-align: center;
  margin-bottom: 21px;
  padding-top: 8px;
}
.sz-sec-ornament {
  width: 72px;
  height: 2px;
  margin: 0 auto 16px;
  background: linear-gradient(90deg, transparent, var(--gold-3, #f7e7b8), transparent);
  position: relative;
}
.sz-sec-ornament::after {
  content: "◆";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 10px;
  color: var(--gold-3, #f7e7b8);
  background: var(--bg-2, #0c1220);
  padding: 0 8px;
  line-height: 1;
}
.sz-sec-head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink, #f2f5fa);
}
.sz-sec-head p {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--mute, #6b7690);
}
.sz-hist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 13px;
}
.sz-hist {
  text-align: left;
  padding: 18px 18px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.sz-hist:hover {
  transform: translateY(-4px);
  border-color: rgba(194, 181, 155, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.sz-hist.live {
  border-color: rgba(232, 213, 163, 0.5);
  background:
    radial-gradient(180px 80px at 20% 0%, rgba(232, 213, 163, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}
.sz-hist-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.sz-hist-key {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold-2, #e8d5a3);
}
.sz-hist-st {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink-2, #a8b3c7);
}
.sz-hist.live .sz-hist-st {
  background: linear-gradient(135deg, #7dff8a, #4de1ff);
  color: #041018;
}
.sz-hist-title {
  font-size: 16px;
  font-weight: 750;
  color: var(--ink, #f2f5fa);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.sz-hist-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--mute, #6b7690);
  margin-bottom: 8px;
}
.sz-hist-score {
  font-size: 20px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--gold-3, #f7e7b8);
}
.sz-hist-score i {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: var(--mute, #6b7690);
  margin-left: 4px;
}
.sz-hist-detail {
  margin-top: 21px;
  padding: 20px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(232, 213, 163, 0.3);
}
.sz-hist-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.sz-hist-detail-head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 750;
  color: var(--gold-3, #f7e7b8);
}
.sz-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(194, 181, 155, 0.35);
  background: rgba(194, 181, 155, 0.1);
  color: var(--gold-2, #e8d5a3);
  cursor: pointer;
}
.sz-close:hover { background: rgba(194, 181, 155, 0.22); }

/* 历史 Top 榜：与主榜同构的竖排表格（勿与卡片头 .sz-hist-top 同名） */
.sz-toplist-wrap { overflow-x: auto; }
table.sz-toplist {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
table.sz-toplist th,
table.sz-toplist td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  white-space: nowrap;
}
table.sz-toplist th {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--mute, #6b7690);
  background: rgba(255, 255, 255, 0.03);
}
table.sz-toplist tr:last-child td { border-bottom: none; }
table.sz-toplist tr:hover td { background: rgba(255, 255, 255, 0.02); }
table.sz-toplist td.nick {
  font-weight: 650;
  color: var(--ink, #f2f5fa);
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
}
table.sz-toplist td.score-num,
table.sz-toplist td.empty {
  font-variant-numeric: tabular-nums;
  color: var(--gold-2, #e8d5a3);
  font-weight: 700;
}
table.sz-toplist td.empty {
  text-align: center;
  color: var(--mute, #6b7690);
  font-weight: 500;
}

/* ── 图标（与 portal 对齐）── */
.ic { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.ic-sm { width: 15px; height: 15px; }

/* ── 响应式 ── */
@media (max-width: 960px) {
  .sz-hero {
    grid-template-columns: auto 1fr;
    padding: 22px 20px;
    gap: var(--sz-s2);
  }
  .sz-countdown { grid-column: 1 / -1; }
  .sz-grid { grid-template-columns: 1fr; }
  .sz-stats { grid-template-columns: repeat(2, 1fr); }
  /* 侧栏收到正文下方后，规则条保持紧凑 */
  .sz-side { flex-direction: row; flex-wrap: wrap; }
  .sz-side .sz-card { flex: 1 1 240px; }
  .sz-side .sz-card-me { flex: 1 1 100%; text-align: left; }
  .sz-side .sz-card-me .sz-me-empty,
  .sz-side .sz-card-me .sz-me { text-align: left; }
}
@media (max-width: 560px) {
  .sz-wrap { padding-top: 18px; padding-bottom: 40px; }
  .sz-crest { width: 68px; height: 68px; }
  .sz-crest-q { font-size: 20px; }
  .sz-cd-num { font-size: 36px; }
  .sz-hero-copy h1 { font-size: 24px; }
  table.board th:nth-child(4), table.board td:nth-child(4),
  table.board th:nth-child(5), table.board td:nth-child(5) { display: none; }
  .sz-toolbar-right { display: none; }
  .rank-tabs-wrap { padding: 12px 6px 0; }
  .rank-tabs { gap: 5px; }
  .rank-tab { padding: 6px 11px; font-size: 11.5px; }
  .rank-tab .ic-sm { display: none; } /* 移动端收图标，保证单行可读 */
  .rank-tabs-nav { width: 28px; height: 28px; font-size: 16px; }
  .sz-board-head { padding: 16px 14px 0; }
  .my-bar { margin: 11px 14px; }
  table.board th, table.board td { padding: 11px 12px; }
}

/* ── 宽屏内容上限自适应（!important：压过运行时注入的 :root{--max:1180px}）── */
@media (min-width: 1440px) { :root { --max: 1320px !important; } }
@media (min-width: 1780px) { :root { --max: 1560px !important; } }
@media (min-width: 2160px) { :root { --max: 1800px !important; } }
