/* ===== 变量 ===== */
:root {
  --ink-blue: #0A1128;
  --warm-paper: #F3ECD8;
  --neon-green: #39FF14;
  --orange-red: #FF4500;
  --steel-blue: #2A3356;
  --glass-white: rgba(255, 255, 255, 0.08);
  --ink: #121212;
  --data-green: #0F5132;
  --rail-width: min(280px, 26vw);
  --content-max: 1200px;
  --font-heading: 'Impact', 'Arial Black', sans-serif;
  --font-body: 'Roboto', 'Noto Sans SC', sans-serif;
  --font-mono: 'Roboto Mono', 'SFMono-Regular', monospace;
}

/* ===== Reset 与基础 ===== */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  background: var(--ink-blue);
  color: var(--warm-paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button {
  font-family: inherit;
}

::selection {
  background: var(--neon-green);
  color: var(--ink-blue);
}

/* ===== 排版 ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.12;
  margin: 0 0 0.5em;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  padding-left: 1.25em;
}

code,
kbd,
.mono {
  font-family: var(--font-mono);
}

/* ===== 可访问性 ===== */
:focus-visible {
  outline: 3px solid var(--orange-red);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 12px;
  z-index: 1300;
  padding: 12px 20px;
  background: var(--neon-green);
  color: var(--ink-blue);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 2px solid var(--warm-paper);
  transition: top 200ms ease;
}

.skip-link:focus {
  top: 12px;
}

/* ===== 布局骨架 ===== */
.site-main {
  margin-left: var(--rail-width);
  min-height: 100vh;
  background: var(--warm-paper);
  color: var(--ink);
  position: relative;
}

.page-shell {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 56px);
}

.page-header {
  position: relative;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 4px solid var(--ink);
}

.page-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 96px;
  height: 4px;
  background: linear-gradient(90deg, var(--neon-green) 0 60%, var(--orange-red) 60% 100%);
}

.page-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-red);
  margin-bottom: 8px;
}

.page-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0.01em;
  margin: 0 0 0.25em;
  text-transform: uppercase;
}

.page-intro {
  max-width: 62ch;
  font-size: 1.04rem;
  line-height: 1.75;
  color: rgba(18, 18, 18, 0.82);
  margin: 0;
}

.section {
  margin: 0 0 clamp(40px, 7vw, 72px);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}

.section-index {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange-red);
  margin-bottom: 4px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1.08;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

/* ===== 页头侧边轨道 ===== */
.site-rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail-width);
  background: var(--ink-blue);
  border-right: 2px solid var(--steel-blue);
  z-index: 1000;
  color: var(--warm-paper);
}

.rail-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.rail-topline {
  padding: 28px 20px 16px;
  border-bottom: 1px solid rgba(42, 51, 86, 0.85);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--warm-paper);
}

.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(135deg, transparent 0 4px, rgba(57, 255, 20, 0.12) 4px 6px),
    var(--ink-blue);
  border: 2px solid var(--neon-green);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.brand-mark-letter {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1;
  color: var(--neon-green);
  transform: skew(-8deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--warm-paper);
}

.brand-dot {
  color: var(--orange-red);
}

.brand-tagline {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--neon-green);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--steel-blue);
  color: var(--warm-paper);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.nav-toggle:hover {
  border-color: var(--neon-green);
  background: rgba(57, 255, 20, 0.08);
}

.nav-toggle-text {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
}

.nav-toggle-box {
  width: 18px;
  height: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--neon-green);
  transform-origin: center;
  transition: transform 200ms ease, opacity 200ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.site-nav {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 16px 12px 12px;
  overflow-y: auto;
}

.nav-list {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: nav-item;
}

.nav-item {
  margin: 0;
  padding: 0;
}

.nav-link {
  counter-increment: nav-item;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  color: rgba(243, 236, 216, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2;
  border-left: 3px solid transparent;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.nav-link::before {
  content: "0" counter(nav-item);
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--neon-green);
  opacity: 0.85;
}

.nav-link:hover {
  color: var(--warm-paper);
  background: var(--glass-white);
  border-left-color: var(--neon-green);
  transform: translateX(4px);
}

.nav-link[aria-current="page"] {
  color: var(--warm-paper);
  font-weight: 700;
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.14), rgba(255, 69, 0, 0.08));
  border-left-color: var(--orange-red);
}

.nav-link[aria-current="page"]::before {
  color: var(--orange-red);
  opacity: 1;
}

.rail-footer {
  padding: 14px 4px 0;
  margin-top: 12px;
  border-top: 1px solid rgba(42, 51, 86, 0.9);
}

.rail-meta {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.55;
  color: rgba(243, 236, 216, 0.5);
}

.rail-phone {
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--warm-paper);
}

.rail-icp {
  margin: 8px 0 0;
  font-size: 0.72rem;
  color: rgba(243, 236, 216, 0.4);
}

/* ===== 阅读进度条 ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: var(--rail-width);
  height: 3px;
  background: rgba(42, 51, 86, 0.35);
  z-index: 1200;
  pointer-events: none;
}

.scroll-progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--neon-green) 0%, var(--orange-red) 100%);
  transition: width 80ms linear;
}

/* ===== 按钮 ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-blue);
  background: var(--neon-green);
  border: 2px solid var(--neon-green);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--ink-blue);
  color: var(--neon-green);
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--neon-green);
  color: var(--ink-blue);
  border-color: var(--neon-green);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--ink-blue);
  color: var(--neon-green);
  border-color: var(--neon-green);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--neon-green);
  border-color: var(--neon-green);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(57, 255, 20, 0.12);
  color: var(--neon-green);
  border-color: var(--neon-green);
  transform: translateY(-2px);
}

.btn--outline-danger {
  background: transparent;
  color: var(--orange-red);
  border-color: var(--orange-red);
}

.btn--outline-danger:hover,
.btn--outline-danger:focus-visible {
  background: rgba(255, 69, 0, 0.12);
  color: var(--orange-red);
  border-color: var(--orange-red);
  transform: translateY(-2px);
}

.btn--ink {
  background: var(--ink);
  color: var(--warm-paper);
  border-color: var(--ink);
}

.btn--ink:hover,
.btn--ink:focus-visible {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn--small {
  padding: 8px 14px;
  font-size: 0.82rem;
}

.btn--block {
  display: flex;
  width: 100%;
}

.btn-label {
  display: inline-block;
}

.btn-arrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  transform: translateX(0);
  transition: transform 160ms ease;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* ===== 面包屑 ===== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb li + li::before {
  content: "//";
  font-size: 0.7rem;
  color: var(--orange-red);
}

.breadcrumb a {
  color: var(--ink-blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 160ms, border-color 160ms;
}

.breadcrumb a:hover {
  color: var(--orange-red);
  border-bottom-color: var(--orange-red);
}

.breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
  border-bottom-color: transparent;
}

/* ===== 网格 ===== */
.grid {
  display: grid;
  gap: 20px;
}

.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));
}

/* ===== 数据卡片 ===== */
.data-card {
  position: relative;
  background: var(--warm-paper);
  border: 2px solid var(--steel-blue);
  padding: 20px;
  box-shadow: 6px 6px 0 rgba(10, 17, 40, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.data-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 rgba(10, 17, 40, 0.18);
}

.data-card--dark {
  background: var(--ink-blue);
  color: var(--warm-paper);
  border-color: var(--steel-blue);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
}

.card-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.card-index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-red);
}

.card-stat {
  font-family: var(--font-mono);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

.data-card--dark .card-stat {
  color: var(--neon-green);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.card-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(18, 18, 18, 0.78);
  margin: 0;
}

.data-card--dark .card-desc {
  color: rgba(243, 236, 216, 0.72);
}

/* ===== 标签页 ===== */
.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  border-bottom: 2px solid var(--steel-blue);
  counter-reset: tab-index;
}

.tab-item {
  counter-increment: tab-index;
  margin: 0;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--steel-blue);
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.tab-btn::before {
  content: "0" counter(tab-index);
  font-size: 0.66rem;
  color: var(--orange-red);
  opacity: 0.8;
}

.tab-btn:hover {
  color: var(--orange-red);
  background: rgba(255, 69, 0, 0.05);
}

.tab-btn[aria-selected="true"] {
  color: var(--ink);
  font-weight: 700;
  border-bottom-color: var(--orange-red);
  background: transparent;
}

.tab-btn[aria-selected="true"]::before {
  opacity: 1;
}

.tab-panel[hidden] {
  display: none;
}

.tab-panel {
  padding: 4px 0 8px;
}

/* ===== 进失球比例条 ===== */
.stat-bar {
  display: flex;
  height: 14px;
  background: rgba(42, 51, 86, 0.25);
  overflow: hidden;
}

.stat-fill {
  height: 100%;
  min-width: 2px;
}

.stat-fill--positive {
  background: var(--data-green);
}

.stat-fill--negative {
  background: var(--orange-red);
}

.stat-fill--neutral {
  background: var(--steel-blue);
}

.stat-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink);
}

.stat-legend li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stat-legend .swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--data-green);
}

.stat-legend .swatch-neg {
  background: var(--orange-red);
}

.stat-legend .swatch-neutral {
  background: var(--steel-blue);
}

/* ===== 存档列表 ===== */
.archive-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--steel-blue);
}

.archive-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 20px;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(42, 51, 86, 0.3);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  transition: background 160ms ease, padding-left 160ms ease;
}

.archive-list li:hover {
  background: rgba(42, 51, 86, 0.06);
  padding-left: 10px;
}

.archive-date {
  color: var(--orange-red);
}

.archive-title {
  color: var(--ink);
  font-weight: 700;
}

.archive-meta {
  margin-left: auto;
  color: var(--steel-blue);
}

/* ===== 实时信息条 ===== */
.live-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--ink-blue);
  color: var(--warm-paper);
  padding: 12px 16px;
  border-left: 4px solid var(--neon-green);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.live-strip::-webkit-scrollbar {
  display: none;
}

.live-strip .live-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--neon-green);
  letter-spacing: 0.12em;
  flex-shrink: 0;
}

.live-strip .live-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--neon-green);
  display: inline-block;
}

/* ===== 媒体占位框 ===== */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(243, 236, 216, 0.12) 0 8px, transparent 8px 16px),
    var(--steel-blue);
  min-height: 120px;
}

.media-frame::before {
  content: "IMG";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: rgba(243, 236, 216, 0.45);
  z-index: 0;
}

.media-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--cut {
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.media-frame[data-ratio="wide"] {
  aspect-ratio: 16 / 9;
}

.media-frame[data-ratio="square"] {
  aspect-ratio: 1 / 1;
}

.media-frame[data-ratio="portrait"] {
  aspect-ratio: 3 / 4;
}

.media-frame[data-ratio="tall"] {
  aspect-ratio: 4 / 5;
}

/* ===== 数据表格 ===== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--warm-paper);
  font-size: 0.9rem;
}

.data-table th,
.data-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(42, 51, 86, 0.35);
}

.data-table thead th {
  background: var(--ink-blue);
  color: var(--warm-paper);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 3px solid var(--neon-green);
}

.data-table tbody td {
  font-family: var(--font-mono);
}

.data-table tbody tr:hover td {
  background: rgba(42, 51, 86, 0.06);
}

/* ===== 标签 ===== */
.badge {
  display: inline-block;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  border: 1px solid currentColor;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge--green {
  color: var(--data-green);
}

.badge--orange {
  color: var(--orange-red);
}

.badge--ink {
  color: var(--ink);
}

.badge--paper {
  color: var(--warm-paper);
  border-color: var(--warm-paper);
}

/* ===== 页脚 ===== */
.site-footer {
  position: relative;
  margin-left: var(--rail-width);
  background: linear-gradient(180deg, #0D152E 0%, var(--ink-blue) 100%);
  color: rgba(243, 236, 216, 0.72);
  padding: 56px clamp(20px, 5vw, 64px) 24px;
  border-top: 4px solid var(--neon-green);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 20%;
  height: 4px;
  background: var(--orange-red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  max-width: var(--content-max);
  margin: 0 auto;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--warm-paper);
  margin: 0 0 4px;
}

.footer-brand-dot {
  color: var(--orange-red);
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--neon-green);
  margin: 0 0 14px;
}

.footer-desc {
  max-width: 44ch;
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(243, 236, 216, 0.66);
  margin: 0;
}

.footer-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neon-green);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--steel-blue);
}

.footer-col-index {
  color: var(--orange-red);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-list li {
  margin: 0;
}

.footer-list a {
  display: inline-block;
  color: rgba(243, 236, 216, 0.68);
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.footer-list a:hover {
  color: var(--neon-green);
  border-bottom-color: var(--neon-green);
  transform: translateX(3px);
}

.footer-service {
  margin: 14px 0 0;
  font-size: 0.84rem;
  line-height: 1.7;
  color: rgba(243, 236, 216, 0.56);
}

.footer-mail {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--neon-green);
}

.footer-servicetime {
  color: rgba(243, 236, 216, 0.5);
}

.footer-divider {
  height: 1px;
  max-width: var(--content-max);
  margin: 32px auto 20px;
  background: linear-gradient(90deg, var(--steel-blue) 0%, transparent 85%);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 32px;
  max-width: var(--content-max);
  margin: 0 auto 8px;
}

.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(243, 236, 216, 0.7);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 0.84rem;
  color: rgba(243, 236, 216, 0.6);
}

.footer-address {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(243, 236, 216, 0.6);
}

.footer-icp {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(57, 255, 20, 0.08);
  border: 1px solid rgba(57, 255, 20, 0.4);
  color: var(--neon-green);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.footer-trust {
  max-width: var(--content-max);
  margin: 20px auto 4px;
  padding: 12px 16px;
  background: var(--glass-white);
  border-left: 3px solid var(--orange-red);
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(243, 236, 216, 0.66);
}

.footer-copyright {
  max-width: var(--content-max);
  margin: 18px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(42, 51, 86, 0.7);
  font-size: 0.78rem;
  text-align: center;
  color: rgba(243, 236, 216, 0.42);
}

/* ===== 响应式 ===== */
@media (max-width: 991px) {
  .site-rail {
    position: sticky;
    top: 0;
    bottom: auto;
    width: 100%;
    height: auto;
    border-right: 0;
    border-bottom: 2px solid var(--steel-blue);
  }

  .rail-inner {
    height: auto;
    flex-direction: row;
    align-items: center;
  }

  .rail-topline {
    flex: 1 1 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    border-bottom: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 64px;
    bottom: 0;
    left: 0;
    width: min(340px, 88vw);
    padding: 24px 20px;
    background: var(--ink-blue);
    border-right: 2px solid var(--steel-blue);
    z-index: 1001;
    visibility: hidden;
    transform: translateX(-105%);
    transition: transform 200ms ease, visibility 0s linear 200ms;
  }

  .site-nav[data-open] {
    visibility: visible;
    transform: translateX(0);
    transition: transform 200ms ease, visibility 0s linear 0s;
  }

  .site-main,
  .site-footer {
    margin-left: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .scroll-progress {
    left: 0;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-mark-letter {
    font-size: 1.3rem;
  }

  .brand-name {
    font-size: 0.92rem;
  }

  .brand-tagline {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-contacts {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ===== 减弱动效 ===== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
