/* 字体：注册本地 Russo One（TTF），遇不到时用系统字体兜底 */
@font-face {
  font-family: "Russo One Local";
  src: url("../font/RussoOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  /* 优先渲染文本，字形就绪后再替换 */
}

/* 便捷类：应用 Russo One，本地优先，含常见中英文字体兜底 */
.russo {
  font-family: "Russo One Local", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif
}

/* ===== Global 全局 ===== */
html,
body {
  height: 100%;
  margin: 0;
  background: #000;
  color: #fff
}

/* 首屏容器 */
.hero {
  height: 100vh;
  overflow: hidden
}

/* 首屏 SVG 画布 */
#s1-canvas {
  width: 100%;
  height: 100%;
  display: block
}

/* 飞机分组基准与入场状态 */
#jetGroup {
  transform-box: fill-box;
  transform-origin: 0 0
}

#jetGroup.pre-enter {
  opacity: 0;
  transform: translate(var(--enter-tx, 0px), var(--enter-ty, 0px)) scale(.9)
}

/* 飞机入场动画 */
@keyframes jetEnter {
  from {
    transform: translate(var(--enter-tx, 0px), var(--enter-ty, 0px)) scale(.9);
    opacity: 0
  }

  to {
    transform: translate(0, 0) scale(1);
    opacity: 1
  }
}

#jetGroup.enter-anim {
  animation: jetEnter 1.1s cubic-bezier(.18, .69, .16, 1) forwards
}

/* 无动画偏好：禁用入场动画 */
@media (prefers-reduced-motion:reduce) {
  #jetGroup.pre-enter {
    opacity: 1;
    transform: none
  }

  #jetGroup.enter-anim {
    animation: none !important
  }
}

/* 首屏标题（SVG 文字） */
#title .f18 {
  fill: #f5b23a;
  font-weight: 900;
  font-size: 180px;
  letter-spacing: .5px
}

#title .series {
  fill: #f5b23a;
  font-weight: 800;
  font-size: 66px
}

/* 强制 Section1 的 SVG 文字使用本地字体 */
#section1 #title text {
  font-family: "Russo One Local", system-ui, sans-serif;
  letter-spacing: .5px
}

/* 再注册一次以兼容某些打包/作用域场景 */
@font-face {
  font-family: "Russo One Local";
  src: url("../font/RussoOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* 主题变量与导航高 */
:root {
  --bg: #0b0e12;
  --panel: #0f141a;
  --stroke: #1f2833;
  --muted: #8ea0b3;
  --text: #e6edf3;
  --accent: #fbb03b;
  --hover: #12171e;
  --nav-h: 88px;
}

/* 顶部导航（后续被固定） */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(11, 14, 18, .78);
  backdrop-filter: blur(8px);
  /* 毛玻璃 */
  border-bottom: 1px solid #151b22
}

.nav-wrap {
  max-width: 1280px;
  margin: 0 auto;
  height: var(--nav-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 16px
}

/* 品牌区 */
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none
}

.brand-logo {
  font-family: "Russo One Local", system-ui, sans-serif;
  font-size: 28px;
  line-height: 1;
  color: var(--accent);
  letter-spacing: .5px
}

.brand-sub {
  font-size: 14px;
  color: #c9d1d9;
  opacity: .75
}

/* 桌面菜单 */
.nav-menu {
  margin-left: auto;
  display: flex;
  gap: 22px;
  align-items: center
}

.nav-menu a {
  color: var(--muted);
  text-decoration: none;
  font-size: 16px;
  padding: 10px 14px;
  border-radius: 12px;
  transition: .2s
}

.nav-menu a:hover {
  color: #fff;
  background: var(--hover)
}

.nav-menu a.active {
  color: var(--accent)
}

.nav-menu a.portfolio {
  border: 1px solid #232a33;
  background: #10151b;
  border-radius: 12px
}

.nav-menu a.portfolio:hover {
  border-color: #2f3844
}

/* 移动端菜单按钮与折叠面板 */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 50px;
  height: 42px;
  border: 1px solid #232a33;
  background: #10151b;
  border-radius: 8px;
  padding: 8px 10px
}

.nav-toggle span {
  display: block;
  height: 2.5px;
  background: #cbd5e1;
  margin: 6px 0;
  border-radius: 1px
}

@media (max-width:980px) {
  .nav-toggle {
    display: grid;
    place-items: center
  }

  .nav-menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: var(--nav-h);
    background: rgba(15, 20, 26, .98);
    border: 1px solid var(--stroke);
    border-radius: 12px;
    padding: 12px;
    display: none;
    flex-direction: column;
    gap: 6px
  }

  .nav-menu.open {
    display: flex
  }
}

/* 页脚 */
.site-footer {
  margin-top: 60px;
  background: linear-gradient(180deg, rgba(15, 20, 26, .6), rgba(15, 20, 26, .9));
  border-top: 1px solid #151b22;
  color: var(--text)
}

.foot-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 16px 36px;
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 24px;
  align-items: start
}

.fb-title {
  font-family: "Russo One Local", system-ui, sans-serif;
  color: var(--accent);
  font-size: 22px;
  margin-bottom: 6px
}

.fb-sub {
  color: var(--muted);
  font-size: 13px
}

/* 页脚链接栅格 */
.foot-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 14px
}

.foot-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 8px;
  border-radius: 8px;
  transition: .2s
}

.foot-links a:hover {
  color: #fff;
  background: var(--hover)
}

/* 页脚右侧功能 */
.foot-extra {
  text-align: right
}

.to-top {
  border: 1px solid #232a33;
  background: #10151b;
  color: #cbd5e1;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: .2s
}

.to-top:hover {
  color: #fff;
  border-color: #2f3844
}

.copyright {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px
}

@media (max-width:860px) {
  .foot-wrap {
    grid-template-columns: 1fr;
    gap: 18px
  }

  .foot-extra {
    text-align: left
  }
}

/* 锚点滚动抵消固定导航高度 */
[id^="section"] {
  scroll-margin-top: calc(var(--nav-h) + 12px)
}

/* ===== Section 2 ===== */
:root {
  --s2-h: 160vh;
  /* 版面高度（有斜切，需略大） */
  --s2-angle: -32.74deg;
  /* 文案旋转角度 */
  --s2-font: clamp(18px, 3.2vmin, 30px);
  --s2-copy-max: min(60ch, 52vw);
  --mid: 28%;
  /* 中间“冷区”大小（越小越易切换上下文） */
}

/* 舞台容器与运动变量 */
#section2.s2-v2 {
  position: relative;
  height: var(--s2-h);
  background: #000;
  overflow: hidden
}

.s2-stage {
  position: relative;
  width: 100%;
  height: 100%;
  --dx: 0px;
  --dy: 0px;
  /* 视差位移 */
  --scale: 1;
  /* 视差缩放 */
  --imgW: 1000px;
  /* 主图宽度基线 */
  --enterX: 10vmin;
  --enterY: 10vmin
    /* 入场偏移 */
}

/* 主图包裹与轻微漂浮 */
.s2-art-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy)));
  transition: transform .9s cubic-bezier(.2, .7, .18, 1);
  will-change: transform
}

.s2-art-fx {
  will-change: transform;
  animation: s2-float 8s ease-in-out infinite alternate
}

@keyframes s2-float {
  from {
    transform: translate3d(0, 0, 0)
  }

  to {
    transform: translate3d(-8px, 8px, 0)
  }
}

/* 主图呈现 */
.s2-art {
  display: block;
  width: var(--imgW);
  height: auto;
  max-width: none;
  transform: scale(var(--scale));
  transform-origin: center center;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .55));
  pointer-events: none
}

/* 复制（文案）块，随场景上下切换显隐 */
.s2-stage.show-upper .s2-art-fx,
.s2-stage.show-lower .s2-art-fx {
  animation-duration: 6s
}

.s2-copy {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: var(--s2-copy-max);
  color: #fff;
  font: 700 var(--s2-font)/1.66 system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: .02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
  transform: translate(-50%, -50%) rotate(var(--s2-angle)) translate(var(--copyX, 0), var(--copyY, 0));
  opacity: 0;
  transition: transform .9s cubic-bezier(.2, .7, .18, 1), opacity .45s ease-in-out;
  pointer-events: none
}

.s2-copy p {
  margin: 0
}

.s2-copy strong {
  font-weight: 900
}

.s2-copy--upper {
  --copyX: calc(-1 * var(--enterX));
  --copyY: calc(-1 * var(--enterY))
}

.s2-copy--lower {
  --copyX: var(--enterX);
  --copyY: var(--enterY)
}

.s2-stage.show-upper .s2-copy--upper,
.s2-stage.show-lower .s2-copy--lower {
  --copyX: 0;
  --copyY: 0;
  opacity: 1
}

/* 热区：左上/右下/中部 */
.hot {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent
}

.hot--ul {
  clip-path: polygon(0 0, 100% 0, 0 100%)
}

.hot--br {
  clip-path: polygon(100% 100%, 0 100%, 100% 0)
}

.hot--mid {
  position: absolute;
  width: var(--mid);
  height: var(--mid);
  left: calc((100% - var(--mid))/2);
  top: calc((100% - var(--mid))/2);
  background: transparent;
  clip-path: none
}

.hot:focus-visible {
  outline: 2px dashed rgba(255, 255, 255, .5);
  outline-offset: -4px
}

/* ===== Section 3 ===== */
:root {
  --s3-maxw: 1700px;
  --s3-pad: clamp(16px, 5vw, 48px);
  --s3-gap: clamp(14px, 2.6vw, 40px);
  --miss-h: clamp(140px, 19vh, 280px);
  --miss-gap: clamp(36px, 5.2vw, 96px);
  --cap-size: clamp(12px, 1.35vw, 18px);
  --cap-gap: clamp(20px, 1.8vw, 28px);
  --title-size: clamp(26px, 2.6vw, 42px);
  --desc-size: clamp(14px, 1.5vw, 22px);
  --brand: #f6b23e;
  --ink: #fff;
  --bg: #000;
  --jet-h: clamp(640px, 90vh, 1200px)
}

@media (min-width:1200px) {
  :root {
    --jet-h: min(92vh, 1200px)
  }
}

/* 三列结构：中间飞机，左右导弹与标题 */
.s3 {
  position: relative;
  height: 100vh;
  background: var(--bg);
  overflow: hidden
}

.s3-frame {
  height: 100%;
  width: min(var(--s3-maxw), 92vw);
  margin: 0 auto;
  padding: var(--s3-pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s3-gap)
}

/* 中部飞机与进入动画 */
.s3-jet {
  position: relative;
  height: var(--jet-h);
  width: auto;
  justify-self: center;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .35));
  transform: translateY(40vh);
  transition: transform .9s cubic-bezier(.2, .65, .2, 1);
  will-change: transform
}

.s3-jet img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block
}

/* 两侧列 */
.s3-col {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 4vh, 42px);
  transform: translateY(-5vh)
}

@media (max-height:750px) {
  .s3-col {
    transform: translateY(-3vh)
  }
}

/* 导弹行与显隐动画 */
.s3-miss-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: var(--miss-gap);
  transform: translateY(40px);
  opacity: 0;
  transition: opacity .5s ease, transform .6s ease
}

/* 导弹卡片 */
.miss {
  --k: 1;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: calc(var(--miss-h) * var(--k));
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35));
  transition: transform .35s ease, filter .35s ease
}

.miss img {
  height: 100%;
  width: auto;
  display: block
}

.miss .cap {
  position: absolute;
  left: 100%;
  bottom: 6px;
  transform: translateX(var(--cap-gap)) rotate(-90deg);
  transform-origin: left bottom;
  color: var(--brand);
  font-size: var(--cap-size);
  letter-spacing: .6px;
  white-space: nowrap;
  opacity: .95;
  pointer-events: none
}

/* 标题与说明 */
.s3-title {
  width: max-content;
  margin-inline: auto;
  text-align: center;
  margin-top: clamp(10px, 1.8vh, 20px)
}

.s3-title h3 {
  color: var(--brand);
  font-size: var(--title-size);
  line-height: 1.1;
  margin: .4rem 0 .35rem
}

.s3-title p {
  color: #dcdcdc;
  font-size: var(--desc-size);
  margin: 0 0 .2rem
}

/* 左右导弹高度微差，营造层次 */
.s3-left .s3-miss-row .miss:nth-child(1) {
  --k: 1
}

.s3-left .s3-miss-row .miss:nth-child(2) {
  --k: 1
}

.s3-left .s3-miss-row .miss:nth-child(3) {
  --k: 1.052
}

.s3-right .s3-miss-row .miss:nth-child(1),
.s3-right .s3-miss-row .miss:nth-child(2),
.s3-right .s3-miss-row .miss:nth-child(3) {
  --k: 1.275
}

/* 进入/离场状态切换 */
.s3.in .s3-jet {
  transform: translateY(0)
}

.s3.in .s3-miss-row {
  opacity: 1;
  transform: translateY(0)
}

.s3.in .s3-left .s3-miss-row {
  transition-delay: .1s
}

.s3.in .s3-right .s3-miss-row {
  transition-delay: .18s
}

.s3.leaving .s3-jet {
  transform: translateY(-70vh);
  transition-duration: .65s
}

.s3.leaving .s3-miss-row {
  transform: translateY(-100vh);
  transition-duration: .5s;
  opacity: 0
}

.s3.pre .s3-jet {
  transform: translateY(40vh)
}

.s3.pre .s3-miss-row {
  transform: translateY(40px);
  opacity: 0
}

/* 轻微上下浮动动画 */
@keyframes s3-float {
  0% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-6px)
  }

  100% {
    transform: translateY(0)
  }
}

.s3.in .miss {
  animation: s3-float 3.2s ease-in-out infinite;
  animation-delay: calc(var(--stagger, 0)*.12s)
}

.miss:hover {
  transform: translateY(-6px) scale(1.04);
  filter: drop-shadow(0 10px 18px rgba(255, 190, 60, .25))
}

/* 超宽屏时加大间距 */
@media (min-aspect-ratio:18/9) {
  :root {
    --miss-gap: clamp(24px, 3.6vw, 66px)
  }
}

/* ===== Section 4 ===== */
#section4 {
  background: #000;
  color: #f4b241;
  overflow: hidden
}

:root {
  --s4-gutter: clamp(28px, 6vw, 120px);
  --s4-col-gap: clamp(28px, 3vw, 56px);
  --s4-jet-h: clamp(62vh, 78vh, 86vh);
  --s4-service-size: clamp(86px, 15.8vmin, 310px);
  --s4-record-size: clamp(64px, 11.2vmin, 230px);
  --s4-cn-size: clamp(72px, 13.4vmin, 280px);
  --s4-en-top: clamp(10px, 3.2vmin, 48px);
  --s4-caption-pl: clamp(18px, 3.8vw, 64px);
  --s4-caption-pr: clamp(18px, 3.2vw, 56px);
}

/* 5列网格：留白 | 飞机 | 列间距 | 文案 | 留白 */
#section4 .s4-wrap {
  width: min(100vw, 177.78vh);
  height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: var(--s4-gutter) 1fr var(--s4-col-gap) minmax(560px, 1.15fr) var(--s4-gutter);
  grid-template-rows: 1fr;
  place-items: center start
}

#section4 .s4-jet {
  grid-column: 2;
  grid-row: 1;
  height: var(--s4-jet-h);
  width: auto;
  align-self: center;
  justify-self: start;
  user-select: none;
  pointer-events: none
}

#section4 .s4-caption {
  grid-column: 4;
  grid-row: 1;
  align-self: center;
  justify-self: start;
  text-align: right;
  padding-left: var(--s4-caption-pl);
  padding-right: var(--s4-caption-pr);
  color: #f4b241
}

/* 中英标题字号 */
#section4 .s4-en {
  margin: var(--s4-en-top) 0 clamp(14px, 1.6vmin, 22px) 0;
  line-height: .92;
  letter-spacing: .4px
}

#section4 .s4-en .service {
  display: block;
  font-size: var(--s4-service-size)
}

#section4 .s4-en .record {
  display: block;
  font-size: var(--s4-record-size)
}

#section4 .s4-cn {
  font-size: var(--s4-cn-size);
  line-height: 1.02;
  letter-spacing: .02em;
  white-space: nowrap;
  margin-top: clamp(0px, .3vmin, 6px)
}

/* 进入揭示动画（左右相向） */
.reveal-start {
  opacity: 0;
  transform: translateY(16px);
  transition: transform .9s cubic-bezier(.2, .8, .2, 1), opacity .9s ease;
  will-change: transform, opacity
}

#section4 .s4-jet.reveal-start {
  transform: translateX(-3vw) translateY(16px)
}

#section4 .s4-caption.reveal-start {
  transform: translateX(3vw) translateY(16px)
}

.reveal-in {
  opacity: 1;
  transform: translateX(0) translateY(0)
}

#section4 .s4-jet.reveal-in {
  transform: translateX(calc(var(--s4-shift, 0) * -10px))
}

#section4 .s4-caption.reveal-in {
  transform: translateX(calc(var(--s4-shift, 0) * 10px))
}

/* 小高较屏时下调飞机高度 */
@media (max-height:720px) {
  :root {
    --s4-jet-h: 72vh
  }
}

/* 标题/图像分步显隐（预备→进入） */
#section4 .is-pre .s4-title,
#section4 .is-pre .s4-art {
  opacity: 0;
  transform: translateY(14px);
  will-change: transform, opacity
}

#section4 .is-pre .s4-title {
  transform: translateX(32px) translateY(12px)
}

#section4 .is-pre .s4-art {
  transform: translateX(-32px) translateY(12px)
}

#section4 .is-in .s4-title,
#section4 .is-in .s4-art {
  opacity: 1;
  transform: none
}

/* 逐字动画 */
#section4 .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  will-change: transform, opacity
}

/* 视差轻移（滚动时轻偏移） */
#section4 .s4-art.is-in {
  transform: translateX(calc(var(--s4-shift, 0) * -12px))
}

#section4 .s4-title.is-in {
  transform: translateX(calc(var(--s4-shift, 0) * 12px))
}

/* 轻倾交互（鼠标） */
#section4 .s4-title.tilt {
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transform-style: preserve-3d;
  transition: transform .08s linear
}

/* 无动画偏好：直接展示 */
@media (prefers-reduced-motion:reduce) {

  #section4 .is-pre .s4-title,
  #section4 .is-pre .s4-art,
  #section4 .char {
    opacity: 1 !important;
    transform: none !important
  }
}

/* ===== Section 5 数据卡片/图表 ===== */
:root {
  --s5-bg: #0d1016;
  --s5-card-bg: #0f141c;
  --s5-text: #e7eefc;
  --s5-muted: #9fb2c9;
  --s5-accent: #fbb03b;
  --s5-accent-soft: #ffc86a;
  --s5-gray-area: #5c6571;
  --s5-gray-area-hover: #6b7481;
  --s5-border: #1e2733;
}

.section5 {
  background: #000;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2vh 3vw;
  box-sizing: border-box
}

.s5-card {
  position: relative;
  width: min(1600px, 96vw);
  height: min(88vh, 900px);
  background: var(--s5-card-bg);
  border: 1px solid var(--s5-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35)
}

/* 卡片顶部信息与切页控件 */
.s5-header {
  position: absolute;
  z-index: 3;
  left: 2.2rem;
  top: 1.6rem;
  right: 2.2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  pointer-events: none
}

.s5-title {
  color: #fbb03b;
  font-size: clamp(22px, 2.2vw, 38px);
  letter-spacing: .5px;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .45)
}

.s5-sub {
  grid-column: 1 / -1;
  margin: 2px 0 0 0;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .35)
}

.s5-nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end
}

.s5-prev,
.s5-next {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--s5-border);
  background: rgba(15, 20, 28, .6);
  color: var(--s5-text);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 18px;
  line-height: 38px;
  cursor: pointer
}

.s5-prev:hover,
.s5-next:hover {
  background: rgba(15, 20, 28, .9)
}

.s5-dots {
  display: flex;
  align-items: center;
  gap: 8px
}

.s5-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #5a6472;
  display: inline-block;
  cursor: pointer;
  border: 1px solid var(--s5-border)
}

.s5-dot.is-active {
  background: var(--s5-accent)
}

/* 图表画布（如 SVG/Canvas） */
.s5-chart {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%
}

/* 视觉装饰槽位（可自定义） */
.s5-vm-bg {
  position: absolute;
  right: 40px;
  bottom: 28px;
  width: 100px;
  height: 220px;
  /* 视觉风格占位，按需启用边框与背景 */
  box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
  pointer-events: none
}

/* 自定义 Tooltip */
#section5 .s5-tip {
  position: relative;
  font-family: "Russo One Local", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: rgba(10, 16, 26, .92);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  padding: 10px 12px;
  color: #e5eef9;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .35)
}

#section5 .s5-tip .country {
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 14px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 4px
}

#section5 .s5-tip .country .sep {
  opacity: .5
}

#section5 .s5-tip .k {
  font-size: 12px;
  opacity: .95
}

#section5 .s5-tip .k span {
  font-weight: 700
}

#section5 .s5-tip .arrow {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid rgba(10, 16, 26, .92);
  position: absolute;
  left: 12px;
  bottom: -8px
}

/* ===== Section 6 数据表 ===== */
.s6 {
  background: #000;
  padding: 64px 24px;
  color: #e6edf3;
  position: relative;
  overflow: hidden
}

.s6-wrap {
  max-width: 1280px;
  margin: 0 auto;
  position: relative
}

.s6-bg {
  position: absolute;
  right: -6%;
  top: -40px;
  width: 65%;
  opacity: .06;
  pointer-events: none;
  filter: grayscale(1) contrast(1.1)
    /* 背景飞机淡化 */
}

.s6-title {
  font-family: "Russo One Local", system-ui, sans-serif;
  font-size: 28px;
  color: #fbb03b;
  margin: 0 0 12px 0
}

.s6-head {
  position: relative;
  z-index: 1
}

/* 排序条与型号 pills */
.s6-sortbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 12px
}

.s6-sort {
  background: #12171e;
  border: 1px solid #232a33;
  color: #c9d1d9;
  padding: 6px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s ease
}

.s6-sort:hover {
  border-color: #2f3844;
  color: #fff
}

.s6-sort.active {
  border-color: #fbb03b;
  color: #fbb03b
}

.s6-models {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 2px 0 16px
}

.pill {
  border-radius: 999px;
  border: 1px solid #2b323c;
  background: #10151b;
  color: #cbd5e1;
  padding: 8px 14px;
  cursor: pointer;
  transition: all .2s ease;
  user-select: none
}

.pill:hover {
  border-color: #3a4351;
  color: #fff
}

.pill.active {
  border-color: #fbb03b;
  background: rgba(251, 176, 59, .15);
  color: #fbb03b
}

/* 表头与行（CSS Grid 列定义） */
.s6-thead,
.s6-rows>li {
  display: grid;
  grid-template-columns: 1.2fr 1fr .8fr .8fr .8fr;
  gap: 10px;
  align-items: center
}

.s6-thead {
  color: #93a1b5;
  font-size: 12px;
  margin-bottom: 8px;
  padding: 8px 12px;
  border-bottom: 1px dashed #27303a
}

.s6-thead .th {
  opacity: .9
}

/* 数据行 */
.s6-rows {
  list-style: none;
  padding: 0;
  margin: 0
}

.s6-rows>li {
  background: #0f141a;
  border: 1px solid #1f2833;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
  transition: border-color .2s ease, transform .15s ease
}

.s6-rows>li:hover {
  border-color: #2e3947;
  transform: translateY(-1px)
}

/* 国家单元格与国旗框 */
.s6-flagcell {
  display: flex;
  align-items: center;
  gap: 10px
}

.s6-flagbox {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #12171e;
  display: grid;
  place-items: center;
  border: 1px solid #232a33;
  overflow: hidden;
  flex: 0 0 28px
}

.s6-flagbox img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.s6-countrytext {
  display: flex;
  flex-direction: column;
  line-height: 1.15
}

.s6-countrytext .zh {
  font-size: 14px;
  color: #e6edf3
}

.s6-countrytext .en {
  font-size: 12px;
  color: #8ea0b3
}

.s6-modeltag {
  font-size: 13px;
  color: #fbb03b
}

.s6-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  color: #d2dae4;
  text-align: right
}

/* === tweaks (2025-09-13) 细化需求 === */

/* section 4：飞机靠右对齐 */
#section4 .s4-jet {
  justify-self: end;
}

/* section 2：文字字号缩至 80%（保持比例统一） */
#section2.s2-v2 {
  --s2-font: clamp(14px, 2.56vmin, 24px);
}

/* section 6：背景飞机放大、偏移并稍提亮 */
#section6 .s6-bg {
  width: 100%;
  right: -10%;
  top: -60px;
  opacity: 0.07;
}

/* Section 2 高度缩减（160→120）以收紧版面 */
:root {
  --s2-h: 120vh;
  /* 原 160vh → 120vh */
}

/* 更窄/更矮屏进一步收紧高度 */
@media (max-width: 1024px) {
  :root {
    --s2-h: 110vh;
  }
}

@media (max-width: 640px),
(max-height: 720px) {
  :root {
    --s2-h: 100vh;
  }

  /* 小屏满屏高度 */
}

/* 固定导航在页面顶端，并给正文留出顶内边距避免遮挡 */
.site-nav {
  position: fixed;
  /* 原先 sticky → fixed */
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

body {
  padding-top: var(--nav-h);
}

/* 防止内容被导航覆盖 */

/* Footer 精简：链接改为两列，小屏一列 */
.site-footer .foot-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
}

@media (max-width:640px) {
  .site-footer .foot-links {
    grid-template-columns: 1fr;
  }
}

/* 联系作者按钮（风格与返回顶部一致） */
.contact-btn {
  display: inline-block;
  margin-right: 10px;
  border: 1px solid #232a33;
  background: #10151b;
  color: #cbd5e1;
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: .2s;
}

.contact-btn:hover {
  color: #fff;
  border-color: #2f3844;
}

/* 移动端访问提示遮罩（仅在 JS 判定为移动端时显示） */
.mobile-alert {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(2px);
  z-index: 10000;
  /* 高于固定导航 */
}

.mobile-alert[hidden] {
  display: none;
}

.ma-card {
  width: min(90vw, 420px);
  padding: 20px 18px;
  border-radius: 16px;
  background: #0f141a;
  border: 1px solid #2a3340;
  color: #e6edf3;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  text-align: left;
}

.ma-card h3 {
  margin: 0 0 8px 0;
  color: #fbb03b;
  font-family: "Russo One Local", system-ui, sans-serif;
  font-size: 20px;
}

.ma-card p {
  margin: 0 0 14px 0;
  color: #cbd5e1;
  line-height: 1.6;
  font-size: 14px;
}

.ma-btn {
  display: inline-block;
  border: 1px solid #232a33;
  background: #10151b;
  color: #cbd5e1;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: .2s;
}

.ma-btn:hover {
  color: #fff;
  border-color: #2f3844;
}
/* ===== 一致的内容宽度（Content Lane）====== */
/* 全站统一最大内容宽度与左右内边距 */
:root{
  --page-max: 1280px;
  --page-pad: 24px;
}

/* 顶部导航与页脚：对齐内容宽度 */
.nav-wrap,
.foot-wrap,
.s6-wrap{
  max-width: var(--page-max);
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}

/* Section 3：中区网格与左右留白对齐内容宽度 */
.s3-frame{
  width: min(var(--page-max), calc(100vw - 2 * var(--page-pad)));
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}

/* Section 4：网格包裹宽度与其它区块对齐 */
#section4 .s4-wrap{
  width: min(var(--page-max), calc(100vw - 2 * var(--page-pad)));
}

/* Section 5：卡片宽度不再超出全站内容宽度；左右控件跟随统一边距 */
.section5{
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}

.s5-card{
  width: min(var(--page-max), 100%);
}

.s5-header{
  left: var(--page-pad);
  right: var(--page-pad);
}

/* Section 6：表格容器已对齐；小屏时保持同一内边距 */
.s6{
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}

/* 页脚链接网格在桌面端保持同一内容宽度（已通过 .foot-wrap 约束） */
/* 小屏适配维持原有规则，无需改动 */
