/* ============================================
   pg问鼎 site.css — 共享样式
   品牌：pg问鼎 · 玩家路径看得见
   ============================================ */

/* ---------- 变量 ---------- */
:root {
  --paper: #F5F0E8;
  --ink: #1C1C1C;
  --green: #A3E635;
  --blue: #00E5FF;
  --space: #2B2B2B;
  --gray: #6B6B6B;
  --divider: #E0D8CC;
  --white: #FFFFFF;
  --track-w: 64px;
  --shell-w: 1280px;
  --radius: 12px;
  --font: "Source Han Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "SF Mono", "Cascadia Mono", "JetBrains Mono", Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1100px 480px at 88% -40px, rgba(0, 229, 255, 0.07), transparent 60%),
    radial-gradient(900px 420px at 10% 4%, rgba(163, 230, 53, 0.06), transparent 55%),
    var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main { display: block; }

h1, h2, h3, h4, h5, h6, p, ul, ol, figure {
  margin: 0 0 0.6em;
  padding: 0;
}

ul[class], ol[class], .nav-list, .footer-links { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 900;
  line-height: 1.25;
  text-rendering: optimizeLegibility;
}
h1 { font-size: clamp(32px, 5vw, 48px); }
h2 { font-size: clamp(26px, 3.5vw, 32px); }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }

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

a {
  color: var(--blue);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 180ms var(--ease);
}
a:hover { color: var(--green); }

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

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

[id] { scroll-margin-top: 24px; }
#main-content:focus { outline: none; }

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed;
  top: -64px;
  left: 16px;
  z-index: 2000;
  background: var(--green);
  color: var(--ink);
  font-weight: 900;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(28, 28, 28, 0.35);
  transition: top 200ms var(--ease);
}
.skip-link:focus {
  top: 0;
  color: var(--ink);
}

/* ---------- 阅读进度 ---------- */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 1500;
  pointer-events: none;
  background: rgba(28, 28, 28, 0.7);
}
.reading-progress::before {
  content: "";
  display: block;
  width: var(--progress, 0%);
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--blue));
  box-shadow: 0 0 14px rgba(163, 230, 53, 0.65);
}

/* ---------- 品牌轨道 ---------- */
.brand-rail {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--track-w);
  height: 100vh;
  height: 100dvh;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px 0 26px;
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.05), transparent 36%), var(--space);
  border-right: 1px solid rgba(245, 240, 232, 0.06);
  overflow: hidden;
}
.brand-rail::before {
  content: "";
  position: absolute;
  top: 88px;
  bottom: 76px;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, var(--green), var(--blue) 60%, var(--green));
  opacity: 0.35;
}
.brand-rail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(245, 240, 232, 0.025) 0 1px, transparent 1px 14px);
  pointer-events: none;
}
.rail-brand {
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-weight: 900;
  font-size: 18px;
  color: var(--green);
  line-height: 1;
  padding: 5px 7px;
  border: 1.5px solid var(--green);
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(163, 230, 53, 0.18);
}
.rail-path {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}
.rail-node {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--space);
  border: 1.5px solid var(--green);
  font-style: normal;
}
.rail-node:nth-child(2) {
  width: 9px;
  height: 9px;
  border-color: var(--blue);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}
.rail-node:nth-child(3) { border-color: var(--green); }
.rail-mark {
  position: relative;
  z-index: 1;
  writing-mode: vertical-rl;
  font-size: 12px;
  letter-spacing: 0.48em;
  padding: 8px 3px 10px;
  color: rgba(245, 240, 232, 0.42);
  border: 1px solid rgba(245, 240, 232, 0.16);
  border-radius: 999px;
  font-weight: 700;
}

/* ---------- 头部 ---------- */
.site-header {
  position: relative;
  z-index: 60;
  background: var(--ink);
  color: var(--paper);
}
.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 100%;
  background: linear-gradient(112deg, transparent 0%, rgba(0, 229, 255, 0.055) 42%, rgba(163, 230, 53, 0.09) 100%);
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0% 100%);
  pointer-events: none;
}
.site-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 4%;
  width: 92px;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transform: skewX(-22deg);
  border-radius: 2px;
  pointer-events: none;
}

.header-shell {
  max-width: var(--shell-w);
  margin: 0 auto;
  padding: 0 40px;
}
.header-shell-top {
  padding-top: 28px;
  padding-bottom: 10px;
}
.header-shell-nav {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 40px;
  border-top: 1px solid rgba(245, 240, 232, 0.12);
}

/* ---------- 报头 ---------- */
.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 24px;
}
.masthead-side {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.masthead-side-right {
  justify-content: flex-end;
  text-align: right;
}
.masthead-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(245, 240, 232, 0.68);
  text-transform: uppercase;
}
.masthead-meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex: 0 0 auto;
  animation: signal-pulse 2.4s ease-in-out infinite;
}
.masthead-side-right .masthead-meta-dot {
  background: var(--blue);
  animation-delay: 0.6s;
}
.masthead-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: clamp(44px, 7vw, 68px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--paper);
  text-decoration: none;
  white-space: nowrap;
  align-self: end;
}
.brand-glyph {
  font-family: var(--mono);
  font-size: 0.34em;
  font-weight: 900;
  color: var(--green);
  border: 2px solid var(--green);
  border-radius: 6px;
  padding: 5px 7px;
  line-height: 1;
  box-shadow: 0 0 26px rgba(163, 230, 53, 0.22);
  align-self: center;
}
.brand-word {
  font-size: 1em;
  font-weight: 900;
}
.masthead-slogan {
  margin: 10px 0 0;
  text-align: center;
  font-size: clamp(12px, 2vw, 15px);
  font-weight: 400;
  color: var(--blue);
  letter-spacing: 0.34em;
  padding-left: 0.34em;
  text-transform: uppercase;
}

@keyframes signal-pulse {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.18); }
}

/* ---------- 主导航 ---------- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid rgba(245, 240, 232, 0.25);
  border-radius: 8px;
  color: var(--paper);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 180ms var(--ease), background 180ms var(--ease);
}
.nav-toggle:hover {
  border-color: var(--green);
  background: rgba(163, 230, 53, 0.07);
}
.nav-toggle-box {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  width: 14px;
  flex: 0 0 auto;
}
.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  font-style: normal;
  transition: transform 180ms var(--ease), opacity 180ms var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.nav-toggle-text {
  font-size: 13px;
  letter-spacing: 0.16em;
}

.site-nav {
  width: 100%;
}
.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 0;
  padding: 0;
}
.nav-item { margin: 0; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 15px 12px;
  color: rgba(245, 240, 232, 0.88);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 180ms var(--ease);
}
.nav-link::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.5;
  flex: 0 0 auto;
  transition: opacity 180ms var(--ease), background 180ms var(--ease), box-shadow 180ms var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 7px;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}
.nav-link:hover { color: var(--paper); }
.nav-link:hover::before {
  background: var(--green);
  opacity: 1;
  box-shadow: 0 0 10px rgba(163, 230, 53, 0.7);
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--green); }
.nav-link[aria-current="page"]::before {
  background: var(--green);
  opacity: 1;
  box-shadow: 0 0 10px rgba(163, 230, 53, 0.6);
}
.nav-link[aria-current="page"]::after {
  background: var(--green);
  transform: scaleX(1);
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  z-index: 40;
  margin-top: 80px;
  background: linear-gradient(90deg, rgba(163, 230, 53, 0.045), transparent 34%), var(--space);
  color: var(--paper);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--green) 0%, var(--blue) 55%, transparent 85%);
}
.site-footer::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.10), transparent 70%);
  pointer-events: none;
}
.footer-shell {
  position: relative;
  z-index: 1;
  max-width: var(--shell-w);
  margin: 0 auto;
  padding: 52px 40px 28px;
}
.footer-layout {
  display: grid;
  grid-template-columns: 1.35fr 1.05fr 0.75fr;
  gap: 44px;
  align-items: start;
}
.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  color: var(--paper);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.footer-glyph {
  font-family: var(--mono);
  font-size: 0.5em;
  font-weight: 900;
  color: var(--green);
  border: 1.5px solid var(--green);
  border-radius: 5px;
  padding: 3px 5px;
  box-shadow: 0 0 18px rgba(163, 230, 53, 0.15);
}
.footer-word { font-weight: 900; }
.footer-slogan {
  margin: 16px 0 6px;
  color: var(--blue);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.footer-trust {
  margin: 0;
  max-width: 330px;
  color: rgba(245, 240, 232, 0.52);
  font-size: 13px;
  line-height: 1.75;
}
.footer-metrics {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.metric-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
}
.metric-label {
  align-self: start;
  padding-left: 10px;
  border-left: 2px solid var(--green);
  color: rgba(245, 240, 232, 0.48);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
}
.metric-value {
  color: rgba(245, 240, 232, 0.88);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  word-break: break-all;
}
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer-link {
  position: relative;
  display: inline-block;
  padding: 6px 0 6px 22px;
  color: rgba(245, 240, 232, 0.74);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms var(--ease), padding-left 180ms var(--ease);
}
.footer-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 1px;
  background: var(--green);
  transition: width 180ms var(--ease);
}
.footer-link:hover {
  color: var(--green);
  padding-left: 28px;
}
.footer-link:hover::before { width: 16px; }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(245, 240, 232, 0.13);
  color: rgba(245, 240, 232, 0.48);
  font-size: 12px;
}
.footer-meta p { margin: 0; }
.footer-copyright { margin: 0; }
.footer-icp {
  font-family: var(--mono);
  letter-spacing: 0.05em;
}

/* ---------- 内容容器 ---------- */
.page-main {
  background: transparent;
  min-height: 52vh;
}
.content-shell {
  max-width: var(--shell-w);
  margin: 0 auto;
  padding: 50px 40px;
}

/* ---------- 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gray);
}
.breadcrumbs li { display: flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before {
  content: "//";
  color: var(--divider);
  font-size: 11px;
}
.breadcrumbs a {
  color: var(--gray);
  text-decoration: none;
  transition: color 180ms var(--ease);
}
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 900;
}

/* ---------- 长文排版 ---------- */
.rich-text {
  font-size: 16px;
  line-height: 1.9;
}
.rich-text > * + * { margin-top: 1em; }
.rich-text h2 {
  margin-top: 1.8em;
  margin-bottom: 0.5em;
  font-size: 28px;
}
.rich-text h2::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 10px;
  background: var(--green);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.rich-text h3 {
  font-size: 22px;
  margin-top: 1.5em;
}
.rich-text a { color: var(--blue); }
.rich-text a:hover { color: var(--green); }
.rich-text blockquote {
  margin: 1.2em 0;
  padding: 16px 20px;
  border-left: 3px solid var(--green);
  background: rgba(163, 230, 53, 0.08);
  border-radius: 0 8px 8px 0;
  color: var(--gray);
}
.rich-text ul,
.rich-text ol { padding-left: 1.5em; }
.rich-text li { margin-bottom: 0.4em; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
}
.btn-primary {
  background: var(--green);
  color: var(--ink);
  box-shadow: 0 4px 20px rgba(163, 230, 53, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(163, 230, 53, 0.42);
  color: var(--ink);
}
.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(163, 230, 53, 0.1);
  border-color: transparent;
  color: var(--ink);
}
.btn-ghost:hover {
  background: rgba(163, 230, 53, 0.22);
  color: var(--ink);
}

/* ---------- 卡片 ---------- */
.card {
  position: relative;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(28, 28, 28, 0.04);
  overflow: hidden;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--green), var(--blue));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 220ms var(--ease);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(28, 28, 28, 0.08);
}
.card:hover::before { transform: scaleY(1); }
.card-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.3;
}
.card-text {
  margin: 0;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
}
.card-tag { margin-top: 16px; }

/* ---------- 网格 ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* ---------- 标签 ---------- */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(163, 230, 53, 0.18);
  border: 1px solid rgba(163, 230, 53, 0.55);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.tag[data-tone="blue"] {
  background: rgba(0, 229, 255, 0.12);
  border-color: rgba(0, 229, 255, 0.6);
}

/* ---------- 章节标题 ---------- */
.section-title {
  position: relative;
  margin: 0 0 10px;
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.section-title::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 12px;
  background: var(--green);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.section-intro {
  max-width: 660px;
  margin: 0 0 28px;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.75;
}

/* ---------- 数据高亮 ---------- */
.data-highlight {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--mono);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 900;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.data-highlight em {
  font-style: normal;
  color: var(--green);
}
.data-highlight[data-tone="blue"] em { color: var(--blue); }
.data-highlight .data-unit {
  font-size: 0.38em;
  font-weight: 800;
  color: var(--gray);
  margin-left: 6px;
  letter-spacing: 0.02em;
}

/* ---------- 图片容器 ---------- */
.image-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(28, 28, 28, 0.05) 25%, transparent 25%),
    linear-gradient(225deg, rgba(28, 28, 28, 0.05) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(28, 28, 28, 0.05) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(28, 28, 28, 0.05) 75%),
    var(--divider);
  background-size: 22px 22px;
  overflow: hidden;
  color: var(--gray);
}
.image-frame[data-ratio="4/3"] { aspect-ratio: 4 / 3; }
.image-frame[data-ratio="3/2"] { aspect-ratio: 3 / 2; }
.image-frame[data-ratio="1/1"] { aspect-ratio: 1 / 1; }
.image-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  opacity: 0.35;
  z-index: 2;
}
.image-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame-caption {
  position: relative;
  z-index: 1;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(245, 240, 232, 0.82);
  color: var(--gray);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ---------- 路径装饰 ---------- */
.path-decoration {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.path-line {
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  position: relative;
}
.path-line::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}
.path-node {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(163, 230, 53, 0.55);
}
.path-node + .path-line {
  width: 28px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

/* ---------- 响应式 ---------- */
@media (min-width: 1025px) {
  body { padding-left: var(--track-w); }
}

@media (max-width: 1024px) {
  body { padding-left: 0; }
  .brand-rail { display: none; }
  .masthead-brand { font-size: 56px; }
  .footer-layout { grid-template-columns: 1fr; gap: 36px; }
  .content-shell { padding: 40px 32px; }
}

@media (max-width: 900px) {
  .masthead-side { display: none; }
  .masthead { grid-template-columns: 1fr; justify-items: center; }
}

@media (max-width: 768px) {
  .header-shell,
  .header-shell-nav {
    padding-left: 20px;
    padding-right: 20px;
  }
  .header-shell-top {
    padding-top: 20px;
    padding-bottom: 8px;
  }
  .masthead-brand {
    font-size: 42px;
    gap: 8px;
  }
  .masthead-slogan {
    font-size: 12px;
    letter-spacing: 0.26em;
    padding-left: 0.26em;
  }
  .header-shell-nav {
    justify-content: flex-end;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    z-index: 120;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background: var(--space);
    box-shadow: 0 18px 32px rgba(28, 28, 28, 0.35);
    transition: max-height 280ms var(--ease);
  }
  .site-nav[data-open] {
    max-height: 70vh;
    overflow-y: auto;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 0 14px;
  }
  .nav-link {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    font-size: 16px;
    border-bottom: 1px solid rgba(245, 240, 232, 0.07);
  }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { background: rgba(163, 230, 53, 0.07); }
  .grid-2,
  .grid-3 { grid-template-columns: 1fr; }
  .content-shell { padding: 32px 20px; }
  .footer-shell { padding: 40px 20px 24px; }
  .footer-layout { gap: 30px; }
  .metric-item { grid-template-columns: 1fr; gap: 4px; }
  .footer-meta { flex-direction: column; align-items: flex-start; }
}

/* ---------- 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    transition-delay: 0s !important;
  }
}
