/* ============================================================
   完美体育赛事 · /assets/site.css
   共享层：reset / tokens / 排版 / 头部 / 页脚 / 通用组件
   ============================================================ */

/* ---------- 1. reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  word-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg, video { display: block; max-width: 100%; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

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

::selection { background: var(--red); color: var(--white); }

/* ---------- 2. tokens ---------- */
:root {
  --ink-900: #0A1A2A;
  --ink-850: #0D2334;
  --ink-800: #102E45;
  --ink-700: #2B3541;
  --red: #E23A22;
  --red-deep: #A82712;
  --orange: #FF7B2E;
  --cyan: #2FF0C8;
  --clay: #B85A38;
  --moss: #6E8465;
  --paper: #F5F1E8;
  --white: #EAF1F6;

  --line: rgba(234, 241, 246, .10);
  --line-strong: rgba(234, 241, 246, .22);

  --font-display: "Arial Narrow", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  --shell-w: 1360px;
  --shell: min(var(--shell-w), calc(100% - 48px));
  --ease: cubic-bezier(.22, .72, .2, 1);
  --shadow: 0 22px 48px -26px rgba(0, 0, 0, .85);
}

@media (max-width: 600px) {
  :root { --shell: calc(100% - 32px); }
}

/* ---------- 3. 基础排版 ---------- */
p { font-size: 1rem; line-height: 1.75; color: rgba(234, 241, 246, .84); }
strong { font-weight: 700; color: var(--white); }
code, kbd { font-family: var(--font-mono); font-size: .9em; }
.num, [data-num] { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- 4. 布局容器 ---------- */
.container { width: var(--shell); margin-inline: auto; }

.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(28px, 4vw, 56px); }

.section--paper { background: var(--paper); color: var(--ink-900); }
.section--paper p { color: rgba(10, 26, 42, .82); }
.section--paper strong { color: var(--ink-900); }

.split {
  display: grid;
  grid-template-columns: 34fr 66fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
}
.split--reverse { grid-template-columns: 62fr 38fr; }
.split__wide { min-width: 0; }
.split__side { min-width: 0; }

.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- 5. 标题与索引字 ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: condensed;
  line-height: .95;
  letter-spacing: -.02em;
  color: var(--white);
}
.display--xl { font-size: clamp(52px, 10vw, 132px); }
.display--l  { font-size: clamp(38px, 6.4vw, 88px); }
.display--m  { font-size: clamp(28px, 4.2vw, 56px); }
.display--light { font-weight: 300; letter-spacing: -.01em; }
.section--paper .display { color: var(--ink-900); }

.index-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(234, 241, 246, .55);
}
.index-label::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--cyan);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(47, 240, 200, .8);
  flex: 0 0 auto;
}
.section--paper .index-label { color: rgba(10, 26, 42, .55); }
.section--paper .index-label::before { background: var(--red); box-shadow: none; }

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), background .2s var(--ease),
              color .2s var(--ease), border-color .2s var(--ease);
}
.btn::after {
  content: "→";
  font-family: var(--font-mono);
  transition: transform .2s var(--ease);
}
.btn:hover::after { transform: translateX(4px); }

.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 28px -16px rgba(226, 58, 34, .95);
}
.btn--primary:hover {
  background: var(--orange);
  color: var(--ink-900);
  transform: translate(-2px, -2px);
}

.btn--ghost { border-color: var(--line-strong); color: var(--white); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.section--paper .btn--ghost { color: var(--ink-900); border-color: rgba(10, 26, 42, .28); }
.section--paper .btn--ghost:hover { border-color: var(--red-deep); color: var(--red-deep); }

/* ---------- 7. 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  line-height: 1.6;
}
.tag--live   { color: var(--cyan);  background: rgba(47, 240, 200, .10); }
.tag--report { color: var(--clay);  background: rgba(184, 90, 56, .16); border-color: rgba(184, 90, 56, .55); }
.tag--status { color: var(--moss);  background: rgba(110, 132, 101, .18); border-color: rgba(110, 132, 101, .6); }
.tag--hot    { color: var(--orange); background: rgba(255, 123, 46, .12); }

/* ---------- 8. 卡片 ---------- */
.card {
  position: relative;
  background: var(--ink-800);
  border: 1px solid var(--line);
  padding: clamp(18px, 2.4vw, 28px);
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.card:hover {
  transform: translate(6px, -6px);
  border-color: rgba(255, 123, 46, .55);
  box-shadow: var(--shadow);
}
.card--paper { background: #fff; color: var(--ink-900); border-color: rgba(10, 26, 42, .12); }
.card--clay { border-left: 3px solid var(--clay); }
.card--link { display: block; }

.card-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: inherit;
}
.card-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: rgba(234, 241, 246, .52);
}
.card--paper .card-meta { color: rgba(10, 26, 42, .52); }
.card-text { font-size: 15px; line-height: 1.75; color: rgba(234, 241, 246, .74); }
.card--paper .card-text { color: rgba(10, 26, 42, .78); }

/* ---------- 9. 收藏按钮（页面阶段使用，头部计数依赖它） ---------- */
[data-saved] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  border: 1px solid var(--line-strong);
  color: rgba(234, 241, 246, .78);
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
[data-saved]:hover { border-color: var(--orange); color: var(--orange); }
[data-saved][aria-pressed="true"] {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* ---------- 10. 面包屑 ---------- */
.breadcrumb { padding-block: 14px; }
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
}
.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(234, 241, 246, .5);
}
.breadcrumb-item + .breadcrumb-item::before { content: "/"; color: rgba(226, 58, 34, .85); }
.breadcrumb-link { color: rgba(234, 241, 246, .72); transition: color .2s var(--ease); }
.breadcrumb-link:hover { color: var(--cyan); }
.breadcrumb-current { color: var(--cyan); }
.section--paper .breadcrumb-item { color: rgba(10, 26, 42, .55); }
.section--paper .breadcrumb-link { color: rgba(10, 26, 42, .7); }
.section--paper .breadcrumb-current { color: var(--red-deep); }

/* ---------- 11. 正文长文 ---------- */
.prose { max-width: 72ch; font-size: 17px; line-height: 1.85; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  margin-top: 2em;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.015em;
}
.prose h3 { margin-top: 1.6em; font-size: 20px; font-weight: 700; line-height: 1.35; }
.prose ul { list-style: square; padding-left: 1.2em; }
.prose li + li { margin-top: .5em; }
.prose a { color: var(--cyan); border-bottom: 1px solid rgba(47, 240, 200, .42); }
.prose a:hover { border-bottom-color: var(--cyan); }
.section--paper .prose { color: rgba(10, 26, 42, .85); }
.section--paper .prose a { color: var(--red-deep); border-bottom-color: rgba(168, 39, 18, .45); }

/* ---------- 12. 图片容器（共享基础规则） ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--ink-800), var(--ink-900));
  border: 1px solid var(--line);
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(152deg, rgba(47, 240, 200, .10) 0%, transparent 48%),
    linear-gradient(0deg, rgba(10, 26, 42, .62) 0%, rgba(10, 26, 42, .04) 62%),
    linear-gradient(104deg, transparent 0 62%, rgba(226, 58, 34, .18) 62% 66%, transparent 66% 100%);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

.media-frame--16x9 { aspect-ratio: 16 / 9; }
.media-frame--4x3  { aspect-ratio: 4 / 3; }
.media-frame--3x4  { aspect-ratio: 3 / 4; }
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--cut  { clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%); }

.media-figure { display: block; }
.media-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  line-height: 1.6;
  color: rgba(234, 241, 246, .5);
}
.section--paper .media-caption { color: rgba(10, 26, 42, .55); }

/* ============================================================
   13. 头部
   ============================================================ */
.skip-link {
  position: absolute;
  left: 12px;
  top: -72px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--cyan);
  color: var(--ink-900);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  transition: top .22s var(--ease);
}
.skip-link:focus { top: 0; }

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

/* --- 上层窄带 --- */
.header-top {
  background: linear-gradient(104deg, var(--ink-900) 0%, var(--ink-850) 52%, var(--ink-800) 100%);
  border-bottom: 1px solid var(--line);
}
.header-top-inner {
  width: var(--shell);
  margin-inline: auto;
  min-height: 54px;
  padding-block: 8px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--red), var(--orange));
  transform: rotate(45deg) skewY(-8deg);
  box-shadow: 0 0 14px rgba(226, 58, 34, .6);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--white);
}
.brand-sub {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .28em;
  color: rgba(234, 241, 246, .42);
}

.coord-readout {
  padding-left: 14px;
  border-left: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: rgba(47, 240, 200, .72);
  white-space: nowrap;
}

.city-switch { position: relative; margin-left: auto; }
.city-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  background: rgba(16, 46, 69, .6);
  font-size: 12px;
  letter-spacing: .06em;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.city-trigger:hover { border-color: var(--orange); background: rgba(255, 123, 46, .12); }
.city-trigger[aria-expanded="true"] { border-color: var(--cyan); background: rgba(47, 240, 200, .10); }
.city-label { font-size: 11px; letter-spacing: .14em; color: rgba(234, 241, 246, .55); }
.city-value { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--cyan); }
.city-caret {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--orange);
  transition: transform .2s var(--ease);
}
.city-trigger[aria-expanded="true"] .city-caret { transform: rotate(180deg); }

.city-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 95;
  width: min(300px, calc(100vw - 32px));
  padding: 14px;
  background: var(--ink-800);
  border: 1px solid var(--line-strong);
  border-top: 2px solid var(--cyan);
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}
.city-panel[hidden] { display: none; }

.panel-title {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(234, 241, 246, .5);
}

.city-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.city-option {
  padding: 8px 10px;
  border: 1px solid var(--line);
  font-size: 13px;
  color: rgba(234, 241, 246, .78);
  text-align: left;
  transition: border-color .2s var(--ease), color .2s var(--ease),
              background .2s var(--ease), transform .2s var(--ease);
}
.city-option:hover { border-color: var(--orange); color: var(--white); transform: translateX(3px); }
.city-option[aria-pressed="true"] {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  font-weight: 700;
}

.header-help {
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(234, 241, 246, .74);
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 123, 46, .5);
  white-space: nowrap;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.header-help:hover { color: var(--orange); border-bottom-color: var(--orange); }

/* --- 下层栏目轨 --- */
.header-rail {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(10, 26, 42, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.rail-inner {
  width: var(--shell);
  margin-inline: auto;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  background: rgba(16, 46, 69, .7);
  font-size: 12px;
  letter-spacing: .1em;
}
.nav-toggle-bars { position: relative; display: block; width: 16px; height: 10px; }
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--orange);
  transition: transform .24s var(--ease), top .24s var(--ease);
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { top: 8px; }
.nav-toggle[aria-expanded="true"] { border-color: var(--cyan); color: var(--cyan); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 4px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 4px; transform: rotate(-45deg); }

.primary-nav {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}
.nav-list { display: flex; align-items: stretch; gap: 2px; }
.nav-item { flex: 0 0 auto; }
.nav-link {
  position: relative;
  display: block;
  padding: 16px 14px;
  font-size: 14px;
  letter-spacing: .04em;
  color: rgba(234, 241, 246, .72);
  white-space: nowrap;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--orange));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s var(--ease);
}
.nav-link:hover { color: var(--white); background: rgba(255, 123, 46, .08); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--white); font-weight: 700; }
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--cyan), var(--orange));
}
.nav-link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--cyan);
  transform: translateY(-50%) rotate(45deg);
  box-shadow: 0 0 8px var(--cyan);
}

.rail-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; margin-left: auto; }
.rail-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: .08em;
  color: rgba(234, 241, 246, .82);
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.rail-btn:hover { border-color: var(--orange); color: var(--white); background: rgba(255, 123, 46, .12); }
.rail-label { white-space: nowrap; }
.rail-count {
  min-width: 20px;
  padding: 0 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  color: var(--ink-900);
  background: var(--cyan);
}
.rail-icon { position: relative; width: 12px; height: 12px; border: 2px solid var(--orange); border-radius: 50%; }
.rail-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 7px;
  height: 2px;
  background: var(--orange);
  transform: rotate(45deg);
}

.header-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--red) 0%, var(--orange) 55%, var(--cyan) 100%);
  box-shadow: 0 0 12px rgba(226, 58, 34, .6);
  animation: linePulse 2.4s ease-in-out infinite;
}
@keyframes linePulse {
  0%, 100% { opacity: .65; }
  50%      { opacity: 1; }
}

.quick-panel {
  position: absolute;
  top: calc(100% + 1px);
  right: 24px;
  z-index: 95;
  width: min(340px, calc(100vw - 32px));
  padding: 16px;
  background: linear-gradient(160deg, var(--ink-800), var(--ink-900));
  border: 1px solid var(--line-strong);
  border-top: 2px solid var(--orange);
  box-shadow: var(--shadow);
}
.quick-panel[hidden] { display: none; }
.quick-list { display: grid; gap: 2px; }
.quick-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  border-left: 2px solid transparent;
  font-size: 14px;
  color: rgba(234, 241, 246, .82);
  transition: background .2s var(--ease), border-color .2s var(--ease),
              color .2s var(--ease), transform .2s var(--ease);
}
.quick-link::after {
  content: "→";
  font-family: var(--font-mono);
  color: var(--orange);
  opacity: .5;
  transition: opacity .2s var(--ease);
}
.quick-link:hover {
  background: rgba(255, 123, 46, .10);
  border-left-color: var(--red);
  color: var(--white);
  transform: translateX(4px);
}
.quick-link:hover::after { opacity: 1; }
.quick-note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
  font-size: 12px;
  line-height: 1.6;
  color: rgba(234, 241, 246, .5);
}

/* ============================================================
   14. 页脚
   ============================================================ */
.site-footer {
  position: relative;
  background: var(--ink-900);
  color: var(--white);
}

.footer-cut {
  height: 64px;
  background:
    linear-gradient(108deg, transparent 0 43%, var(--red) 43% 46%, var(--orange) 46% 49%, transparent 49% 100%),
    linear-gradient(100deg, var(--ink-800) 0 66%, var(--ink-900) 66% 100%);
}

.footer-grid {
  width: var(--shell);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 44px);
}

.footer-brand { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.brand--footer .brand-name { font-size: 22px; }
.footer-tagline {
  max-width: 32ch;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(234, 241, 246, .62);
}
.coord-dots { display: grid; grid-template-columns: repeat(9, 6px); gap: 8px; }
.coord-dot {
  width: 6px;
  height: 6px;
  background: rgba(47, 240, 200, .32);
  transform: rotate(45deg);
}
.coord-dot:nth-child(3n) { background: var(--orange); box-shadow: 0 0 8px rgba(255, 123, 46, .65); }
.coord-dot:nth-child(4n + 1) { background: rgba(226, 58, 34, .75); }

.footer-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.footer-heading {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
}
.footer-list { display: flex; flex-direction: column; gap: 9px; }
.footer-list--plain { gap: 12px; }

.footer-link {
  display: inline-block;
  font-size: 14px;
  color: rgba(234, 241, 246, .72);
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.footer-link::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 1px;
  margin-right: 8px;
  vertical-align: middle;
  background: var(--red);
  transition: width .2s var(--ease), background .2s var(--ease);
}
.footer-link:hover { color: var(--cyan); transform: translateX(4px); }
.footer-link:hover::before { width: 14px; background: var(--cyan); }
.footer-link--cta { color: var(--cyan); font-weight: 700; }
.footer-link--cta:hover { color: var(--orange); }

.contact-row { display: flex; flex-direction: column; gap: 2px; }
.contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: rgba(234, 241, 246, .42);
}
.contact-value { font-size: 14px; color: rgba(234, 241, 246, .86); word-break: break-word; }

.footer-fine {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .04em;
  color: rgba(234, 241, 246, .45);
}

.to-top {
  align-self: flex-start;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  font-size: 12px;
  letter-spacing: .1em;
  color: rgba(234, 241, 246, .78);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.to-top:hover { background: var(--orange); border-color: var(--orange); color: var(--ink-900); }

.footer-base {
  width: var(--shell);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 18px 22px;
  border-top: 1px solid var(--line);
}
.site-footer::after {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(92deg, var(--orange) 0%, var(--red) 42%, var(--ink-800) 100%);
  clip-path: polygon(0 42%, 100% 0, 100% 100%, 0 100%);
}

/* ============================================================
   15. 显现动效
   ============================================================ */
[data-anim="on"] [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
[data-anim="on"] [data-reveal].is-visible { opacity: 1; transform: none; }

/* ============================================================
   16. 响应式
   ============================================================ */
@media (min-width: 1440px) {
  .quick-panel { right: calc((100% - 1360px) / 2); }
}

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .coord-readout { display: none; }
  .header-top-inner { gap: 12px; }

  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    padding: 10px 0 18px;
    max-height: 72vh;
    overflow-y: auto;
    background: linear-gradient(180deg, var(--ink-800), var(--ink-900));
    border-bottom: 2px solid var(--red);
  }
  .primary-nav[data-open] { display: block; animation: navDrop .3s var(--ease); }
  .nav-list {
    flex-direction: column;
    gap: 0;
    width: var(--shell);
    margin-inline: auto;
  }
  .nav-link { padding: 13px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav-link::after { left: 0; right: auto; width: 22px; bottom: 6px; }
  .nav-link[aria-current="page"]::before { left: auto; right: 2px; }
  .rail-inner { justify-content: space-between; }

  .split,
  .split--reverse { grid-template-columns: 1fr; }
  .quick-panel { right: 16px; }
}

@keyframes navDrop {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 760px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-cut { height: 44px; }
  .brand--footer .brand-name { font-size: 20px; }
}

@media (max-width: 560px) {
  .brand-sub { display: none; }
  .city-label { display: none; }
  .header-help { font-size: 11px; }
  .nav-toggle-text { display: none; }
  .rail-label { display: none; }
  .rail-btn { padding: 8px 10px; }
}

/* ============================================================
   17. 降低动效
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-anim="on"] [data-reveal] { opacity: 1; transform: none; }
  .header-progress { animation: none; opacity: 1; }
  .card:hover { transform: none; }
}
