/* ============================================================
   华体会看台 · 共享样式 /assets/site.css
   夜间看台：夜墨底 + 脉冲橙红 + 记分琥珀 + 极细边界
   ============================================================ */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body,
h1, h2, h3, h4, p, ul, ol, li, figure, blockquote, dl, dd {
  margin: 0;
}

ul, ol { padding: 0; list-style: none; }

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

[hidden] { display: none !important; }

:root {
  --ink-950: #05100E;
  --ink-900: #0B211D;
  --ink-800: #12332C;
  --pulse: #FF4A1C;
  --amber: #FFB43C;
  --paper: #F3F7F5;
  --muted: #9DB2B0;
  --line: #4C6B66;
  --line-soft: rgba(76, 107, 102, 0.38);
  --indigo: #1D1740;
  --wine: #3E1120;
  --teal: #2FE0B8;

  --rail-w: 88px;
  --rail-w-open: 208px;
  --console-h: 84px;
  --bar-h: 54px;

  --font-display: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", Georgia, serif;
  --font-body: "PingFang SC", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-data: ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 40px -24px #000;
}

/* ---------- 基础排版 ---------- */

body {
  margin: 0;
  background: var(--ink-950);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.78;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: radial-gradient(rgba(243, 247, 245, 0.9) 1px, transparent 1px);
  background-size: 4px 4px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-stretch: condensed;
}

p { max-width: 68ch; }

::selection {
  background: var(--pulse);
  color: #0A0F0D;
}

:focus-visible {
  outline: 2px solid var(--pulse);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- 通用工具 ---------- */

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 56px 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line-soft);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.4rem);
}

.eyebrow {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--amber);
}

.prose p {
  max-width: 68ch;
  color: #DCE7E4;
}

.prose p + p { margin-top: 14px; }

.num {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--amber);
}

.pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(47, 224, 184, 0.14);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.15); opacity: 0.45; }
}

/* ---------- 跳转链接 ---------- */

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--pulse);
  color: #0A0F0D;
  font-size: 13px;
  font-weight: 700;
  border-radius: 3px;
  transform: translateY(-160%);
  transition: transform 0.24s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ============================================================
   头部：侧边轨道 + 顶部控制台
   ============================================================ */

.site-header {
  position: relative;
  z-index: 60;
}

/* ---------- 侧边轨道 ---------- */

.rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: var(--rail-w);
  padding: 16px 10px 14px;
  background: linear-gradient(180deg, #071614 0%, #05100E 55%);
  border-right: 1px solid var(--line-soft);
  overflow: hidden;
  transition: width 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.rail:hover,
.rail:focus-within {
  width: var(--rail-w-open);
  box-shadow: 24px 0 48px -24px #000;
}

.rail-progress {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 2px;
  background: rgba(76, 107, 102, 0.2);
}

.rail-progress-fill {
  display: block;
  width: 100%;
  height: var(--p, 0%);
  background: linear-gradient(180deg, var(--pulse), var(--amber));
  transition: height 0.12s linear;
}

/* 品牌 */

.brand-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 6px 4px 14px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--paper);
}

.rail:hover .brand-link,
.rail:focus-within .brand-link {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--pulse);
  border: 1px solid rgba(255, 74, 28, 0.45);
  border-radius: 3px;
  background: rgba(255, 74, 28, 0.08);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.brand-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-meta {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.24s var(--ease), opacity 0.24s var(--ease);
}

.rail:hover .brand-meta,
.rail:focus-within .brand-meta {
  max-height: 18px;
  opacity: 1;
}

/* 导航 */

.primary-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}

.primary-nav::-webkit-scrollbar { display: none; }

.rail-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rail-item { list-style: none; }

.rail-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--muted);
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.rail:hover .rail-link,
.rail:focus-within .rail-link {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
}

.rail-link:hover {
  color: var(--paper);
  background: var(--ink-800);
  border-color: var(--line-soft);
}

.rail-link[aria-current="page"] {
  color: var(--paper);
  background: rgba(255, 74, 28, 0.1);
  border-color: rgba(255, 74, 28, 0.42);
  box-shadow: inset 2px 0 0 var(--pulse);
}

.rail-link[aria-current="page"] .rail-icon { color: var(--pulse); }

.rail-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: currentColor;
}

.rail-icon svg {
  width: 20px;
  height: 20px;
}

.rail-text {
  display: grid;
  gap: 1px;
  min-width: 0;
  justify-items: center;
}

.rail:hover .rail-text,
.rail:focus-within .rail-text {
  justify-items: start;
}

.rail-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.rail-desc {
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--muted);
  white-space: nowrap;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.24s var(--ease), opacity 0.24s var(--ease);
}

.rail:hover .rail-desc,
.rail:focus-within .rail-desc {
  max-height: 18px;
  opacity: 1;
}

.rail-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 6px 2px;
  border-top: 1px solid var(--line-soft);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.rail-foot-text {
  white-space: nowrap;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.24s var(--ease), opacity 0.24s var(--ease);
}

.rail:hover .rail-foot-text,
.rail:focus-within .rail-foot-text {
  max-height: 16px;
  opacity: 1;
}

.status-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(47, 224, 184, 0.14);
  animation: pulse 2.4s ease-in-out infinite;
}

/* 移动菜单按钮 */

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  color: var(--paper);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.nav-toggle-bars {
  display: grid;
  gap: 4px;
  width: 18px;
}

.nav-toggle-bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.24s var(--ease), opacity 0.24s var(--ease);
}

.site-header[data-open] .nav-toggle-bars span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.site-header[data-open] .nav-toggle-bars span:nth-child(2) { opacity: 0; }

.site-header[data-open] .nav-toggle-bars span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* 抽屉头部与遮罩 */

.drawer-head { display: none; }

.drawer-title {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.drawer-close {
  padding: 6px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--paper);
}

.nav-scrim {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 65;
  background: rgba(3, 8, 7, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease);
}

/* ---------- 顶部控制台 ---------- */

.console {
  position: fixed;
  top: 0;
  left: var(--rail-w);
  right: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  height: var(--console-h);
  background: rgba(5, 16, 14, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.status-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 34px;
  padding: 0 20px;
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  border-bottom: 1px solid rgba(76, 107, 102, 0.3);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.status-strip:hover { color: var(--paper); background: rgba(18, 51, 44, 0.6); }

.status-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-text .num { font-size: 12px; }

.status-cue {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--pulse);
}

.status-detail {
  position: absolute;
  top: 34px;
  left: 0;
  right: 0;
  z-index: 5;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 20px;
  background: #071614;
  border-bottom: 1px solid var(--line);
  transition: max-height 0.28s var(--ease), opacity 0.28s var(--ease), padding 0.28s var(--ease);
}

.status-detail p {
  font-size: 13px;
  color: var(--muted);
  max-width: 62ch;
}

.console[data-status="open"] .status-detail {
  max-height: 160px;
  opacity: 1;
  padding: 14px 20px;
}

/* 联赛分组切换 */

.league-switch {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 50px;
  padding: 0 20px;
  overflow: hidden;
}

.league-groups {
  display: flex;
  gap: 6px;
  flex: 0 0 auto;
}

.league-group {
  padding: 5px 11px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.league-group:hover { color: var(--paper); border-color: var(--line); }

.league-group[aria-pressed="true"] {
  color: #0A0F0D;
  background: var(--pulse);
  border-color: var(--pulse);
  font-weight: 700;
}

.league-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.league-chips::-webkit-scrollbar { display: none; }

.chip {
  flex: 0 0 auto;
  padding: 5px 11px;
  border: 1px solid rgba(76, 107, 102, 0.5);
  border-radius: 3px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.chip:hover {
  color: var(--paper);
  border-color: var(--line);
  background: var(--ink-800);
}

.chip[aria-pressed="true"] {
  color: var(--amber);
  border-color: var(--amber);
  background: rgba(255, 180, 60, 0.1);
}

/* ---------- 浮动回访入口 ---------- */

.quick-return {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 55;
  max-width: 220px;
  padding: 10px 12px 12px;
  background: rgba(11, 33, 29, 0.95);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.quick-return-title {
  margin-bottom: 6px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.quick-return-list {
  display: grid;
  gap: 2px;
}

.quick-return-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px;
  border-radius: 3px;
  font-size: 13px;
  color: var(--paper);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.quick-return-link:hover {
  color: var(--amber);
  background: var(--ink-800);
}

.quick-return-dot {
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

/* ---------- 主内容偏移 ---------- */

#main-content {
  margin-left: var(--rail-w);
  padding-top: var(--console-h);
  min-height: 60vh;
}

/* ============================================================
   页面通用组件
   ============================================================ */

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.bento > * { grid-column: span 12; }

.card {
  position: relative;
  padding: 22px;
  background: var(--ink-900);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.card--flat {
  background: transparent;
  box-shadow: none;
}

.card--wine {
  background: linear-gradient(160deg, var(--wine), #2A0C17);
  border-color: rgba(255, 74, 28, 0.28);
}

.card--indigo {
  background: linear-gradient(160deg, var(--indigo), #12102A);
  border-color: rgba(157, 178, 176, 0.18);
}

.card--raise {
  transition: transform 0.24s var(--ease), background 0.24s var(--ease), border-color 0.24s var(--ease);
}

.card--raise:hover {
  transform: translateY(-2px);
  background: var(--ink-800);
  border-color: var(--line);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--paper);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn--pulse {
  background: var(--pulse);
  border-color: var(--pulse);
  color: #0A0F0D;
  box-shadow: 0 10px 24px -14px var(--pulse);
}

.btn--pulse:hover {
  background: #FF5F36;
  border-color: #FF5F36;
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--paper);
}

.btn--ghost:hover {
  background: var(--ink-800);
  border-color: var(--line);
}

.btn--sm {
  min-height: 36px;
  padding: 7px 14px;
  font-size: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 2px;
  background: rgba(255, 74, 28, 0.14);
  color: var(--pulse);
  font-size: 11px;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 18px 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: var(--line);
}

.breadcrumbs a:hover { color: var(--amber); }

.band {
  padding: 30px clamp(18px, 3vw, 40px);
  background: linear-gradient(90deg, rgba(62, 17, 32, 0.85), rgba(29, 23, 64, 0.45) 70%, transparent);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: linear-gradient(160deg, #0B211D, #05100E);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(5, 16, 14, 0.85), rgba(5, 16, 14, 0) 55%);
}

.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06) brightness(0.82);
}

.media-frame__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 10px 12px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* 滚动显现 */

.js .reveal {
  opacity: 0;
  transform: translateY(12px);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}

/* ============================================================
   页脚
   ============================================================ */

.site-footer {
  margin-left: var(--rail-w);
  margin-top: 72px;
  background: linear-gradient(180deg, #061412, #05100E);
  border-top: 1px solid var(--line-soft);
}

.footer-league-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px clamp(16px, 3vw, 40px);
  background: rgba(18, 51, 44, 0.45);
  border-bottom: 1px solid var(--line-soft);
  overflow-x: auto;
  scrollbar-width: none;
}

.footer-league-strip::-webkit-scrollbar { display: none; }

.footer-strip-title {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.footer-strip-list {
  display: flex;
  gap: 8px;
  flex: 1 1 auto;
}

.footer-strip-link {
  display: block;
  padding: 5px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--paper);
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-strip-link:hover {
  color: var(--amber);
  border-color: var(--amber);
  background: rgba(255, 180, 60, 0.08);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 32px;
  max-width: 1240px;
  padding: 40px clamp(16px, 3vw, 40px) 32px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.footer-tagline {
  margin-top: 10px;
  max-width: 26ch;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.footer-version {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--line);
}

.footer-heading {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 9px;
  font-size: 14px;
}

.footer-links--tight {
  gap: 7px;
  font-size: 13px;
}

.footer-links a {
  color: var(--paper);
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--amber);
  border-color: rgba(255, 180, 60, 0.4);
}

.footer-note {
  margin-top: 12px;
  max-width: 34ch;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.footer-contact-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 28px;
  padding: 22px clamp(16px, 3vw, 40px);
  background: rgba(11, 33, 29, 0.6);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.footer-contact-item {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.footer-contact-key {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.footer-contact-val {
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--paper);
  word-break: break-word;
}

.footer-note--wide {
  grid-column: 1 / -1;
  max-width: 70ch;
  margin-top: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  padding: 18px clamp(16px, 3vw, 40px) 26px;
  font-size: 12px;
  color: var(--muted);
}

.footer-icp {
  font-family: var(--font-data);
  letter-spacing: 0.02em;
}

.footer-legal-links {
  display: flex;
  gap: 16px;
  margin-left: auto;
}

.footer-legal-links a {
  transition: color 0.2s var(--ease);
}

.footer-legal-links a:hover { color: var(--amber); }

/* ============================================================
   响应式
   ============================================================ */

@media (min-width: 768px) {
  .col-3 { grid-column: span 3; }
  .col-4 { grid-column: span 4; }
  .col-6 { grid-column: span 6; }
  .col-8 { grid-column: span 8; }
  .col-12 { grid-column: span 12; }
}

@media (max-width: 1023px) {
  .rail {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    height: var(--bar-h);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
    overflow: visible;
  }

  .rail:hover,
  .rail:focus-within {
    width: 100%;
    box-shadow: none;
  }

  .rail-progress {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: 2px;
  }

  .rail-progress-fill {
    width: var(--p, 0%);
    height: 100%;
    transition: width 0.12s linear;
  }

  .brand-link,
  .rail:hover .brand-link,
  .rail:focus-within .brand-link {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 0;
    border-bottom: 0;
  }

  .brand-mark { width: 30px; height: 30px; }
  .brand-mark svg { width: 19px; height: 19px; }
  .brand-name { font-size: 14px; }
  .brand-meta { display: none; }

  .nav-toggle { display: flex; }

  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    width: min(340px, 86vw);
    padding: 18px 16px 24px;
    background: #071614;
    border-left: 1px solid var(--line-soft);
    box-shadow: -24px 0 48px -24px #000;
    transform: translateX(102%);
    transition: transform 0.3s var(--ease);
    overflow-y: auto;
  }

  .site-header[data-open] .primary-nav { transform: translateX(0); }

  .drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--line-soft);
  }

  .rail-nav { gap: 6px; }

  .rail-link,
  .rail:hover .rail-link,
  .rail:focus-within .rail-link {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 13px 12px;
    border: 1px solid var(--line-soft);
    border-radius: 4px;
  }

  .rail-text,
  .rail:hover .rail-text,
  .rail:focus-within .rail-text {
    justify-items: start;
  }

  .rail-desc,
  .rail:hover .rail-desc,
  .rail:focus-within .rail-desc {
    max-height: none;
    opacity: 1;
  }

  .rail-foot {
    margin-top: auto;
    padding: 14px 6px 0;
  }

  .rail-foot-text,
  .rail:hover .rail-foot-text,
  .rail:focus-within .rail-foot-text {
    max-height: none;
    opacity: 1;
  }

  .nav-scrim { display: block; }

  .site-header[data-open] .nav-scrim {
    opacity: 1;
    visibility: visible;
  }

  html.is-nav-open { overflow: hidden; }

  .console {
    position: static;
    height: auto;
    margin-top: var(--bar-h);
    background: rgba(5, 16, 14, 0.97);
  }

  .status-strip {
    height: 32px;
    padding: 0 14px;
    font-size: 11px;
    gap: 8px;
  }

  .status-cue { display: none; }

  .status-detail {
    position: static;
    padding: 0 14px;
  }

  .console[data-status="open"] .status-detail {
    padding: 12px 14px;
    max-height: 220px;
  }

  .league-switch {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 8px 14px 10px;
    overflow: visible;
  }

  .league-groups {
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .league-groups::-webkit-scrollbar { display: none; }

  .league-chips { flex: 0 0 auto; }

  #main-content {
    margin-left: 0;
    padding-top: 0;
  }

  .quick-return {
    left: 14px;
    right: 14px;
    bottom: 12px;
    max-width: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
  }

  .quick-return-title { margin-bottom: 0; flex: 0 0 auto; }

  .quick-return-list {
    display: flex;
    flex: 1 1 auto;
    justify-content: flex-end;
    gap: 4px;
  }

  .quick-return-link { font-size: 11px; padding: 3px 5px; }

  .site-footer {
    margin-left: 0;
    margin-top: 56px;
    padding-bottom: 68px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 30px 18px 24px;
  }

  .footer-contact-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px 18px;
  }

  .footer-legal {
    padding: 16px 18px 20px;
  }

  .footer-legal-links {
    margin-left: 0;
    gap: 14px;
  }

  .section { padding: 42px 0; }
  .container { padding: 0 18px; }
}

@media (max-width: 560px) {
  .brand-name { font-size: 13px; }
  .nav-toggle-text { display: none; }
  .footer-strip-title { font-size: 10px; }
}

/* ---------- 动效降级 ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .status-dot,
  .pulse-dot {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
