:root {
  --deep: #0B1626;
  --navy: #132233;
  --gold: #D4A937;
  --neon: #39FF14;
  --light: #F4F7FA;
  --white: #FFFFFF;
  --text: #0F1729;
  --text-sec: #4A5568;
  --border: #D0D7E5;
  --success: #1F9D55;
  --font-display: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Roboto Mono", "SFMono-Regular", Consolas, monospace;
  --rail-w: 80px;
  --container-w: 1440px;
  --container-pad: 32px;
  --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
  --shadow: 4px 4px 0 rgba(11, 22, 38, 0.08);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--light);
  padding-left: var(--rail-w);
  min-height: 100vh;
}

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

ul,
ol {
  list-style: none;
}

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

button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

address {
  font-style: normal;
}

::selection {
  background: var(--gold);
  color: var(--deep);
}

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

.container-x {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.page-main {
  min-height: 70vh;
  padding: 48px 0 88px;
  background: var(--light);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: var(--rail-w);
  z-index: 3000;
  padding: 12px 24px;
  background: var(--gold);
  color: var(--deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* ===================== 侧边品牌轨道 ===================== */

.site-rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail-w);
  background: var(--deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1000;
  border-right: 1px solid rgba(212, 169, 55, 0.25);
}

.rail-brand {
  display: block;
  width: 48px;
  height: 48px;
  margin-top: 24px;
  background: var(--gold);
  color: var(--deep);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.rail-brand:hover,
.rail-brand:focus-visible {
  background: var(--neon);
  color: var(--deep);
}

.rail-progress {
  position: absolute;
  top: 96px;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 0;
  overflow: hidden;
}

.rail-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--neon);
  transition: height 0.15s linear;
}

.rail-version {
  position: absolute;
  bottom: 24px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

/* ===================== 头部刊头 ===================== */

.site-header {
  background: var(--deep);
  color: var(--white);
  border-bottom: 1px solid rgba(212, 169, 55, 0.28);
  position: relative;
  z-index: 900;
}

.header-inner {
  padding-top: 28px;
  padding-bottom: 0;
}

.header-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.header-meta {
  justify-self: start;
}

.header-meta-link {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.header-meta-link::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  background: var(--neon);
}

.header-meta-link:hover,
.header-meta-link:focus-visible {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.brand {
  justify-self: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--white);
}

.brand-logo {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--white);
}

.brand-logo em {
  font-style: normal;
  color: var(--gold);
}

.brand-tagline {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-mono);
}

.live-badge {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(212, 169, 55, 0.45);
  background: rgba(19, 34, 51, 0.8);
  color: #EADFBF;
  font-family: var(--font-mono);
  font-size: 13px;
  white-space: nowrap;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--neon);
  animation: pulse-dot 1.8s ease-in-out infinite;
}

.live-text {
  letter-spacing: 0.04em;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.6);
  }
  50% {
    opacity: 0.6;
    box-shadow: 0 0 0 5px rgba(57, 255, 20, 0);
  }
}

/* ===================== 导航 ===================== */

.site-nav {
  margin-top: 18px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  color: var(--white);
}

.nav-toggle-icon {
  display: block;
  width: 24px;
  height: 18px;
  position: relative;
}

.nav-toggle-icon span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-icon span:nth-child(1) {
  top: 0;
}

.nav-toggle-icon span:nth-child(2) {
  top: 8px;
}

.nav-toggle-icon span:nth-child(3) {
  top: 16px;
}

.nav-menu {
  display: flex;
  justify-content: center;
  gap: 0;
  list-style: none;
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  display: block;
  padding: 14px 22px 12px;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: 3px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.nav-menu a[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

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

.site-footer {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.72);
  border-top: 4px solid var(--gold);
  padding-top: 56px;
  padding-bottom: 32px;
}

.footer-core {
  padding-bottom: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 48px;
}

.brand--footer .brand-logo {
  font-size: 28px;
}

.brand--footer .brand-tagline {
  font-size: 12px;
}

.footer-trust {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  border-left: 2px solid var(--gold);
  padding-left: 16px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(212, 169, 55, 0.35);
  margin-bottom: 4px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-links a {
  display: inline-block;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  transition: color 0.2s ease, padding-left 0.2s ease;
  position: relative;
}

.footer-links a::before {
  content: "→";
  color: var(--gold);
  opacity: 0;
  margin-right: 0;
  transition: opacity 0.2s ease, margin-right 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold);
  padding-left: 4px;
}

.footer-links a:hover::before {
  opacity: 1;
  margin-right: 6px;
}

.footer-contact {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.7);
}

.footer-note {
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  margin-top: 40px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-copy,
.footer-icp {
  font-family: var(--font-mono);
}

/* ===================== 按钮 ===================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--deep);
}

.btn-gold:hover {
  background: transparent;
  color: var(--gold);
}

.btn-outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--deep);
}

/* ===================== 标题 / 面包屑 ===================== */

.section-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  padding-left: 20px;
  border-left: 4px solid var(--gold);
  margin-bottom: 24px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  font-size: 14px;
  font-family: var(--font-body);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--text-sec);
}

.breadcrumbs a {
  color: var(--text-sec);
  transition: color 0.2s ease;
}

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

.breadcrumbs li:last-child {
  color: var(--text);
  font-weight: 600;
}

/* ===================== 数据组件 ===================== */

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.data-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.data-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 64px;
  height: 3px;
  background: var(--gold);
}

.data-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(11, 22, 38, 0.08);
}

.data-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sec);
  margin-bottom: 8px;
}

.data-number {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 500;
  color: var(--deep);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.data-number--gold {
  color: var(--gold);
}

.data-number--neon {
  color: var(--neon);
}

/* ===================== 筛选 ===================== */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-sec);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--text);
}

.filter-btn[aria-pressed="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--deep);
}

.filter-btn[data-value]::before {
  content: attr(data-value);
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--navy);
  color: var(--white);
  padding: 2px 6px;
  letter-spacing: 0.05em;
}

.filter-btn[aria-pressed="true"]::before {
  background: var(--deep);
}

/* ===================== 图片占位 ===================== */

.img-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  border: 1px dashed var(--gold);
  color: var(--gold);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 160px;
}

.img-placeholder::before {
  content: "IMG";
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.25em;
  opacity: 0.55;
}

.img-placeholder--wide {
  aspect-ratio: 21 / 9;
}

.img-placeholder--square {
  aspect-ratio: 1 / 1;
}

/* ===================== 装饰 ===================== */

.angled {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%);
  padding-bottom: 28px;
}

.divider-line {
  height: 1px;
  background: var(--border);
  border: none;
  margin: 24px 0;
}

.divider-line--gold {
  background: var(--gold);
  height: 2px;
}

/* ===================== 滚动显现 ===================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.is-entering {
  animation: enter-in 0.4s var(--ease-out) both;
}

@keyframes enter-in {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@media (max-width: 1023px) {

  body {
    padding-left: 0;
    padding-bottom: 56px;
  }

  .site-rail {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 56px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border-right: none;
    border-top: 1px solid rgba(212, 169, 55, 0.3);
    z-index: 1000;
  }

  .rail-brand {
    width: 40px;
    height: 40px;
    margin-top: 0;
    font-size: 16px;
  }

  .rail-progress {
    top: auto;
    bottom: auto;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.12);
    position: absolute;
  }

  .rail-progress-bar {
    top: 0;
    bottom: auto;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--neon);
    transition: width 0.15s linear;
  }

  .rail-version {
    position: static;
    writing-mode: horizontal-tb;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
  }

  .header-top {
    grid-template-columns: 1fr auto 1fr;
  }

  .header-meta {
    display: none;
  }

  .header-inner {
    padding-top: 20px;
  }

  .brand-logo {
    font-size: 26px;
  }

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

  .site-nav {
    margin-top: 14px;
    display: flex;
    align-items: center;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--deep);
    border-top: 1px solid rgba(212, 169, 55, 0.3);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
    padding: 8px 0 16px;
  }

  .site-nav[data-open] .nav-menu {
    display: flex;
  }

  .nav-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-menu a {
    padding: 16px 28px;
    border-bottom: none;
    border-left: 3px solid transparent;
  }

  .nav-menu a[aria-current="page"] {
    border-left-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 169, 55, 0.06);
  }

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

  .page-main {
    padding: 32px 0 64px;
  }
}

@media (max-width: 767px) {

  :root {
    --container-pad: 16px;
  }

  .header-top {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
  }

  .brand {
    align-items: flex-start;
    text-align: left;
  }

  .brand-logo {
    font-size: 24px;
  }

  .brand-tagline {
    font-size: 11px;
    letter-spacing: 0.04em;
  }

  .live-badge {
    padding: 6px 10px;
    gap: 8px;
    font-size: 11px;
  }

  .live-dot {
    width: 6px;
    height: 6px;
  }

  .header-inner {
    padding-top: 16px;
  }

  .site-nav {
    margin-top: 10px;
  }

  .nav-menu a {
    padding: 14px 20px;
    font-size: 15px;
  }

  .section-title {
    font-size: 24px;
    padding-left: 14px;
  }

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

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

  .data-number {
    font-size: 24px;
  }
}

/* ===================== 动效与可访问性 ===================== */

@media (prefers-reduced-motion: reduce) {

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .live-dot {
    animation: none;
  }
}
