/* ==========================================================================
   浩瀚体育 · 中文专区 / 共享站点样式表
   路径：/assets/site.css
   负责：reset、变量、中文排版、刊头、页脚、通用按钮、面包屑、容器、网格、
        纸张叠层、标签、图片容器基础规则。
   ========================================================================== */

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

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

body,
h1, h2, h3, h4, h5, p,
ul, ol, li, figure, figcaption, blockquote {
  margin: 0;
}

ul, ol { padding: 0; list-style: none; }

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

button, input, select, textarea { font: inherit; color: inherit; }

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

hr { border: 0; }

/* ---------- 2. 变量 ---------- */
:root {
  /* 色彩 */
  --ink: #071426;          /* 深空蓝 */
  --night: #0B1E36;        /* 夜航蓝 */
  --deck: #102B4A;         /* 数据舱蓝 */
  --cyan: #29F2CF;         /* 荧光青 */
  --orange: #FF6A2A;       /* 炽热橙 */
  --laterite: #B4512E;     /* 云南红土 */
  --paper: #F4F0E6;        /* 高原米白 */
  --mist: #8FA6B8;         /* 雾蓝灰 */
  --black: #03070D;        /* 墨黑 */
  --tag: #E8DFC9;          /* 纸标签 */

  /* 派生 */
  --line: rgba(244, 240, 230, 0.14);
  --line-soft: rgba(244, 240, 230, 0.08);
  --cyan-line: rgba(41, 242, 207, 0.45);
  --orange-ink: #180a03;

  /* 字体 */
  --font-display: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
                  "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
               "Noto Sans CJK SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Roboto Mono",
               Menlo, Consolas, "Courier New", monospace;

  /* 尺度 */
  --wrap: 1240px;
  --measure: 34em;
  --gap: clamp(1rem, 2.4vw, 1.75rem);
  --radius: 2px;
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    radial-gradient(1100px 620px at 82% -12%, rgba(41, 242, 207, 0.085), transparent 62%),
    radial-gradient(900px 520px at 4% 104%, rgba(180, 81, 46, 0.13), transparent 66%),
    linear-gradient(180deg, #071426 0%, #071426 68%, #0B1E36 100%);
  background-repeat: no-repeat;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.16vw, 1.0625rem);
  line-height: 1.8;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

::selection {
  background: var(--cyan);
  color: #04121a;
}

/* 焦点可见 */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 1px;
}

#main-content { scroll-margin-top: clamp(5.5rem, 13vw, 8rem); }

/* ---------- 4. 容器与节奏 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3.4vw, 2.75rem);
}

.wrap--narrow { max-width: 880px; }

.section { padding-block: clamp(2.5rem, 6vw, 5rem); }

.divider {
  height: 1px;
  margin-block: clamp(1.5rem, 4vw, 2.5rem);
  background: linear-gradient(90deg, var(--cyan-line), rgba(244, 240, 230, 0.14) 42%, transparent 100%);
}

.section-head {
  display: grid;
  gap: 0.65rem;
  padding-top: 1rem;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
}

.index-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cyan);
}

.index-label::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  flex: none;
}

/* ---------- 5. 网格 ---------- */
.grid {
  display: grid;
  gap: var(--gap);
}

.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)); }
.grid--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }

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

@media (max-width: 880px) {
  .grid--3,
  .grid--split { grid-template-columns: minmax(0, 1fr); }
}

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

/* ---------- 6. 按钮 ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  --btn-bd: rgba(244, 240, 230, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.52rem 1rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-align: center;
  transition: transform 0.18s ease, background-color 0.2s ease,
              color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-fg: var(--cyan);
  --btn-bd: rgba(41, 242, 207, 0.42);
}

.btn--ghost:hover {
  background: rgba(41, 242, 207, 0.1);
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(41, 242, 207, 0.16);
}

.btn--solid {
  --btn-bg: var(--orange);
  --btn-fg: var(--orange-ink);
  --btn-bd: var(--orange);
  font-weight: 700;
}

.btn--solid:hover {
  --btn-bg: #ff8451;
  --btn-bd: #ff8451;
  box-shadow: 0 10px 26px -16px rgba(255, 106, 42, 0.9);
}

.btn--quiet {
  --btn-fg: var(--mist);
  --btn-bd: rgba(143, 166, 184, 0.34);
}

.btn--quiet:hover {
  --btn-fg: var(--paper);
  border-color: rgba(244, 240, 230, 0.4);
}

/* ---------- 7. 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.18rem 0.55rem;
  border-radius: 1px;
  background: var(--tag);
  color: #0d1a2b;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  line-height: 1.6;
  white-space: nowrap;
}

.tag--laterite {
  background: var(--laterite);
  color: var(--paper);
}

.tag--cyan {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan-line);
}

.tag--outline {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line);
}

/* ---------- 8. 卡片 / 纸张 ---------- */
.panel {
  position: relative;
  padding: clamp(1rem, 2.2vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 43, 74, 0.94), rgba(11, 30, 54, 0.94));
  box-shadow: inset 0 1px 0 rgba(244, 240, 230, 0.06),
              0 18px 40px -34px rgba(3, 7, 13, 0.95);
}

.panel--hover {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.panel--hover:hover {
  transform: translateY(-3px);
  border-color: var(--cyan-line);
  box-shadow: inset 0 1px 0 rgba(244, 240, 230, 0.08),
              0 26px 52px -34px rgba(3, 7, 13, 1),
              0 0 0 1px rgba(41, 242, 207, 0.16);
}

.paper {
  position: relative;
  padding: clamp(1rem, 2.2vw, 1.5rem);
  border: 1px solid rgba(3, 7, 13, 0.28);
  border-radius: 1px;
  background: var(--tag);
  color: #0d1a2b;
  box-shadow: 0 12px 0 -8px rgba(232, 223, 201, 0.55),
              0 24px 0 -16px rgba(232, 223, 201, 0.3);
}

/* ---------- 9. 数字 ---------- */
.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.02em;
}

.num--lg {
  display: block;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  font-weight: 600;
  line-height: 1;
}

/* ---------- 10. 图片容器基础规则 ---------- */
.figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--night);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.figure:hover { border-color: var(--cyan-line); }

.figure__frame {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background-color: var(--night);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(41, 242, 207, 0.07) 0 2px,
    transparent 2px 12px
  );
}

.figure__frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.figure::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 20, 38, 0) 46%, rgba(7, 20, 38, 0.62) 100%);
}

.figure__caption {
  position: relative;
  z-index: 3;
  padding: 0.6rem 0.85rem;
  border-top: 1px solid var(--line-soft);
  background: rgba(3, 7, 13, 0.4);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.figure__credit {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  color: rgba(143, 166, 184, 0.72);
}

.figure--wide .figure__frame { aspect-ratio: 16 / 9; }
.figure--tall .figure__frame { aspect-ratio: 4 / 5; }
.figure--square .figure__frame { aspect-ratio: 1 / 1; }

/* ---------- 11. 面包屑 ---------- */
.breadcrumb { padding-block: 0.9rem; }

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--mist);
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  color: rgba(143, 166, 184, 0.5);
}

.breadcrumb a { color: var(--mist); transition: color 0.18s ease; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--paper); }

/* ---------- 12. 跳转链 ---------- */
.skip-link {
  position: absolute;
  top: 0.4rem;
  left: 50%;
  z-index: 120;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius);
  background: var(--cyan);
  color: #03111a;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transform: translate(-50%, -220%);
  transition: transform 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translate(-50%, 0);
  outline: 2px solid var(--paper);
  outline-offset: 2px;
}

/* ---------- 13. 刊头 / 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(7, 20, 38, 0.97) 0%, rgba(7, 20, 38, 0.9) 100%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 20px 44px -36px rgba(3, 7, 13, 0.95);
  color: var(--paper);
}

.header-rule {
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--cyan) 0%,
    rgba(41, 242, 207, 0) 44%,
    rgba(255, 106, 42, 0) 56%,
    var(--orange) 100%
  );
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas: "lead masthead actions";
  align-items: center;
  gap: 0.5rem clamp(0.75rem, 2vw, 1.5rem);
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(0.85rem, 2vw, 1.3rem) clamp(1rem, 3.4vw, 2.75rem) clamp(0.55rem, 1.4vw, 0.85rem);
}

/* 移动导航按钮 */
.nav-toggle {
  grid-area: lead;
  justify-self: start;
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--cyan-line);
  border-radius: var(--radius);
  background: rgba(16, 43, 74, 0.55);
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(41, 242, 207, 0.12);
  border-color: var(--cyan);
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
  flex: none;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s ease, top 0.2s ease, bottom 0.2s ease;
}

.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  top: 4px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  bottom: 4px;
  transform: rotate(-45deg);
}

.nav-toggle__text { line-height: 1; }

/* 居中刊头 */
.masthead {
  grid-area: masthead;
  justify-self: center;
  text-align: center;
  min-width: 0;
}

.masthead__kicker {
  margin-bottom: 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.34em;
  line-height: 1.6;
  color: var(--mist);
}

.masthead__brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.55rem, 1.1rem + 2.1vw, 2.6rem);
  letter-spacing: -0.045em;
  line-height: 1.06;
  color: var(--paper);
  transition: color 0.2s ease;
}

.masthead__brand:hover { color: var(--cyan); }

.masthead__brand-sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.4em;
  letter-spacing: 0.42em;
  color: var(--cyan);
  transition: color 0.2s ease;
}

.masthead__brand:hover .masthead__brand-sub { color: var(--orange); }

/* 右侧双入口 */
.header-actions {
  grid-area: actions;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

/* 栏目条 */
.page-nav {
  display: block;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3.4vw, 2.75rem);
  border-top: 1px solid var(--line-soft);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.75rem, 2.4vw, 2rem);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0.42rem;
  padding: 0.72rem 0.1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: var(--paper);
  opacity: 0.78;
  transition: opacity 0.18s ease, color 0.18s ease;
}

.nav-link__code {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
  opacity: 0.7;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s ease, background-color 0.2s ease;
}

.nav-link:hover {
  opacity: 1;
  color: var(--cyan);
}

.nav-link:hover::after { transform: scaleX(1); }

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

.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--orange);
}

/* 阅读进度条 */
.scroll-meter {
  position: relative;
  height: 2px;
  background: rgba(244, 240, 230, 0.08);
  overflow: hidden;
}

.scroll-meter__fill {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
}

/* ---------- 14. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(2.5rem, 5vw, 4rem) 1.25rem;
  border-top: 1px solid rgba(41, 242, 207, 0.22);
  background: #050f1d;
  color: var(--paper);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    115deg,
    transparent 0 46px,
    rgba(244, 240, 230, 0.035) 46px 47px
  );
}

.site-footer::after {
  content: "";
  position: absolute;
  top: -32%;
  right: -10%;
  width: 48%;
  height: 160%;
  pointer-events: none;
  transform: rotate(-8deg);
  background: linear-gradient(160deg, rgba(180, 81, 46, 0.24), transparent 62%);
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.65fr);
  gap: clamp(1.6rem, 3.5vw, 3rem);
}

.footer-brand { min-width: 0; }

.footer-brand__mark {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.2rem);
  letter-spacing: -0.045em;
  line-height: 1.1;
  color: var(--paper);
  transition: color 0.2s ease;
}

.footer-brand__mark:hover { color: var(--cyan); }

.footer-brand__rule {
  display: block;
  width: 54px;
  height: 3px;
  margin: 0.85rem 0 0.9rem;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
}

.footer-brand__line {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.26em;
  color: var(--cyan);
}

.footer-brand__note {
  margin-top: 0.75rem;
  max-width: 26em;
  font-size: 0.8125rem;
  line-height: 1.85;
  color: var(--mist);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 2rem);
  min-width: 0;
}

.footer-col { min-width: 0; }

.footer-col__title {
  margin-bottom: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  line-height: 1.6;
  color: var(--cyan);
}

.footer-links li + li { margin-top: 0.45rem; }

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  line-height: 1.7;
  color: rgba(244, 240, 230, 0.74);
  transition: color 0.18s ease;
}

.footer-links a::before {
  content: "";
  width: 10px;
  height: 1px;
  flex: none;
  background: var(--cyan);
  opacity: 0.5;
  transition: width 0.2s ease, opacity 0.2s ease;
}

.footer-links a:hover { color: var(--cyan); }
.footer-links a:hover::before { width: 18px; opacity: 1; }

.footer-contact li + li { margin-top: 0.7rem; }

.footer-contact__k {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.24em;
  line-height: 1.8;
  color: var(--mist);
}

.footer-contact__v {
  display: block;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--paper);
  word-break: break-word;
}

.footer-contact__v--mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.footer-base {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  line-height: 1.7;
  color: var(--mist);
}

.footer-base__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

.footer-base a {
  color: var(--mist);
  transition: color 0.18s ease;
}

.footer-base a:hover { color: var(--cyan); }

.footer-icp {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1080px) {
  .header-actions .btn { padding-inline: 0.8rem; font-size: 0.78125rem; }
}

@media (max-width: 900px) {
  .header-inner {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "masthead"
      "actions";
    justify-items: center;
    padding-top: 3.4rem;
    row-gap: 0.65rem;
  }

  .nav-toggle {
    display: inline-flex;
    position: absolute;
    top: 0.85rem;
    left: clamp(1rem, 3.4vw, 2.75rem);
  }

  .masthead { justify-self: center; text-align: center; }

  .header-actions {
    justify-self: center;
    width: 100%;
    justify-content: center;
  }

  .header-actions .btn {
    flex: 0 1 auto;
    min-width: 8.5rem;
  }

  .page-nav {
    display: none;
    max-height: min(70vh, 520px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--cyan-line);
    background: rgba(5, 15, 29, 0.985);
  }

  .page-nav[data-open] { display: block; }

  .nav-list {
    display: block;
    padding-block: 0.25rem 0.6rem;
  }

  .nav-list li + li { border-top: 1px solid var(--line-soft); }

  .nav-link {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    padding-block: 0.85rem;
    font-size: 1rem;
    opacity: 0.86;
  }

  .nav-link::after { display: none; }

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

  .footer-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand__note { max-width: 100%; }
}

@media (max-width: 560px) {
  .header-actions { gap: 0.45rem; }
  .header-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 0.55rem;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
  }

  .footer-nav { grid-template-columns: minmax(0, 1fr); }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

/* ---------- 16. 减少动态偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .btn:hover,
  .panel--hover:hover,
  .footer-links a:hover::before { transform: none; }
}
