/* ==========================================================================
   开元赛事 · 共享外壳  /assets/site.css
   深墨绿夜场底 + 荧光橙 / 电光青数据高亮
   ========================================================================== */

/* ------------------------------------------------------------------ 1. 令牌 */
:root {
  --ink: #0B1F1A;
  --ink-deep: #080D0C;
  --orange: #FF6A1F;
  --cyan: #17E0D2;
  --paper: #F4F1E9;
  --muted: #8FA39B;
  --glass: #0E3B36;
  --amber: #FFB03A;
  --river: #6FA8DC;
  --goal: #FF4D5E;

  --line: rgba(23, 224, 210, 0.16);
  --line-soft: rgba(143, 163, 155, 0.18);
  --wrap-max: 1220px;
  --gutter: clamp(16px, 4.4vw, 44px);
  --radius: 16px;
  --radius-sm: 10px;

  --font-display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", "Courier New", monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: var(--ink);
  background-image:
    radial-gradient(circle at 10% -12%, rgba(23, 224, 210, 0.16), transparent 46%),
    radial-gradient(circle at 92% 2%, rgba(255, 106, 31, 0.12), transparent 44%),
    repeating-linear-gradient(0deg, rgba(244, 241, 233, 0.026) 0 1px, transparent 1px 74px),
    repeating-linear-gradient(90deg, rgba(244, 241, 233, 0.026) 0 1px, transparent 1px 74px);
  background-attachment: fixed;
}

body {
  min-height: 100vh;
  background: transparent;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

a { color: inherit; }

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: condensed;
  line-height: 1.16;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 6.2vw, 4.3rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.55rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.45rem); }

p { text-wrap: pretty; }

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

#main-content { scroll-margin-top: 130px; }

/* ------------------------------------------------------------ 3. 布局基础 */
.wrap {
  width: 100%;
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(48px, 8vw, 96px); }
.section--tight { padding-block: clamp(28px, 4vw, 48px); }

.section__head { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: clamp(22px, 3vw, 36px); }
.section__title { margin: 0; }
.section__lead { max-width: 58ch; color: var(--muted); font-size: 1rem; }

.prose { max-width: 68ch; }
.prose p + p { margin-top: 1.1em; }
.prose ul,
.prose ol { list-style: disc; padding-left: 1.25rem; margin-top: 1em; }
.prose li + li { margin-top: 0.4em; }
.prose strong { color: var(--cyan); font-weight: 700; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--cyan);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
}

.divider {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--line), rgba(143, 163, 155, 0.06) 70%, transparent);
}

.link-cyan {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 224, 210, 0.45);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.link-cyan:hover { color: var(--paper); border-color: var(--paper); }

/* --------------------------------------------------------------- 4. 网格 */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; }

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

/* --------------------------------------------------------------- 5. 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease),
    color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--accent {
  background: var(--orange);
  color: #150803;
  box-shadow: 0 10px 26px rgba(255, 106, 31, 0.26);
}
.btn--accent:hover { background: #ff8347; box-shadow: 0 14px 32px rgba(255, 106, 31, 0.34); }

.btn--ghost {
  background: rgba(23, 224, 210, 0.07);
  border-color: rgba(23, 224, 210, 0.45);
  color: var(--cyan);
}
.btn--ghost:hover { background: rgba(23, 224, 210, 0.15); color: var(--paper); border-color: var(--cyan); }

/* --------------------------------------------------------------- 6. 标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: 5px;
  border: 1px solid rgba(23, 224, 210, 0.3);
  background: rgba(23, 224, 210, 0.1);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.6;
  white-space: nowrap;
}
.tag--orange { background: rgba(255, 106, 31, 0.13); border-color: rgba(255, 106, 31, 0.38); color: var(--orange); }
.tag--amber { background: rgba(255, 176, 58, 0.13); border-color: rgba(255, 176, 58, 0.36); color: var(--amber); }
.tag--river { background: rgba(111, 168, 220, 0.12); border-color: rgba(111, 168, 220, 0.36); color: var(--river); }
.tag--goal { background: rgba(255, 77, 94, 0.13); border-color: rgba(255, 77, 94, 0.38); color: var(--goal); }

/* ----------------------------------------------------------- 7. 玻璃面板 */
.glass-panel {
  position: relative;
  border-radius: var(--radius);
  padding: clamp(20px, 2.8vw, 30px);
  background: linear-gradient(152deg, rgba(14, 59, 54, 0.66), rgba(8, 13, 12, 0.74));
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(11px) saturate(1.3);
  backdrop-filter: blur(11px) saturate(1.3);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background-color 0.25s var(--ease);
}
.glass-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-linear-gradient(118deg, transparent 0 26px, rgba(23, 224, 210, 0.05) 26px 27px);
  opacity: 0.55;
  pointer-events: none;
}
.glass-panel:hover { border-color: rgba(23, 224, 210, 0.36); }

.glass-panel > * { position: relative; z-index: 1; }

/* ----------------------------------------------------------- 8. 数据锚点 */
.stat { display: flex; flex-direction: column; gap: 0.2rem; }
.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}
.stat__value--cyan { color: var(--cyan); text-shadow: 0 0 26px rgba(23, 224, 210, 0.32); }
.stat__value--amber { color: var(--amber); }
.stat__label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}

/* ------------------------------------------------------------- 9. 主题带 */
.band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(18px, 2.6vw, 30px);
  border-block: 1px solid var(--line);
  background: linear-gradient(100deg, rgba(14, 59, 54, 0.72) 0%, rgba(8, 13, 12, 0.6) 58%, rgba(255, 106, 31, 0.12) 100%);
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(112deg, transparent 0 22px, rgba(23, 224, 210, 0.055) 22px 23px);
  pointer-events: none;
}

/* ------------------------------------------------------------- 10. 面包屑 */
.crumbs { font-size: 0.8rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.crumbs li { display: flex; align-items: center; gap: 0.5rem; }
.crumbs li + li::before { content: "/"; color: rgba(143, 163, 155, 0.55); }
.crumbs a { color: var(--muted); text-decoration: none; transition: color 0.2s var(--ease); }
.crumbs a:hover { color: var(--cyan); }
.crumbs [aria-current="page"] { color: var(--paper); }

/* --------------------------------------------------------- 11. 图片容器 */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 106, 31, 0.18), transparent 52%),
    linear-gradient(158deg, var(--glass), var(--ink-deep));
  aspect-ratio: 16 / 9;
  isolation: isolate;
}
.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }

.media__frame { position: absolute; inset: 0; }
.media__frame img,
.media__frame svg,
.media__frame video { width: 100%; height: 100%; object-fit: cover; }

.media__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(8, 13, 12, 0.22) 0 2px, transparent 2px 5px),
    linear-gradient(180deg, transparent 40%, rgba(8, 13, 12, 0.86) 100%);
}

.media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0.85rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--paper);
  background: linear-gradient(180deg, transparent, rgba(8, 13, 12, 0.9));
}

/* ============================================================ 12. 页头 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--ink-deep);
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -60px;
  transform: translateX(-50%);
  z-index: 200;
  padding: 0.6rem 1.1rem;
  border-radius: 0 0 10px 10px;
  background: var(--cyan);
  color: #05201E;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

/* 12.1 上层工具条 */
.header-utility {
  background: linear-gradient(105deg, #0B1F1A 0%, #0E3B36 62%, #0B1F1A 100%);
  border-bottom: 1px solid var(--line);
}
.header-utility__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
  padding-block: 0.55rem;
  transition: min-height 0.28s var(--ease), padding 0.28s var(--ease);
}

.brand-lockup { display: flex; align-items: center; gap: 0.75rem; }

.brand-lockup__mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--orange), #C2420A);
  color: #150703;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(255, 106, 31, 0.3);
  transition: width 0.28s var(--ease), height 0.28s var(--ease), font-size 0.28s var(--ease);
}

.brand-lockup__text { display: flex; flex-direction: column; min-width: 0; }
.brand-lockup__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: var(--paper);
}
.brand-lockup__tag {
  max-height: 22px;
  overflow: hidden;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  line-height: 1.6;
  transition: max-height 0.28s var(--ease), opacity 0.22s var(--ease);
}

.header-tools { display: flex; align-items: center; gap: 0.6rem; }

.lang-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(8, 13, 12, 0.68);
  border: 1px solid var(--line-soft);
}
.lang-switch__item {
  padding: 0.26rem 0.72rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--muted);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.lang-switch__item:hover { color: var(--paper); }
.lang-switch__item[aria-current="true"] { background: var(--cyan); color: #05201E; font-weight: 800; }

.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 106, 31, 0.5);
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.header-cta:hover { background: var(--orange); border-color: var(--orange); color: #150803; }

/* 12.2 下层栏目索引带 */
.header-nav {
  position: relative;
  z-index: 75;
  background: rgba(11, 31, 26, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.header-nav__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  padding-block: 0.2rem;
  transition: padding 0.28s var(--ease);
}

.nav-wrap { flex: 1 1 100%; order: 3; min-width: 0; }

.nav-list {
  display: none;
  flex-direction: column;
  gap: 0;
  padding-bottom: 0.5rem;
}
.header-nav[data-open] .nav-list { display: flex; }

.nav-link {
  display: block;
  position: relative;
  padding: 0.72rem 0.15rem;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
  transition: color 0.2s var(--ease), padding 0.28s var(--ease), font-size 0.28s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0.15rem;
  bottom: 0.42rem;
  width: 22px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s var(--ease);
}
.nav-link:hover { color: var(--cyan); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--cyan); }
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  box-shadow: 0 0 14px rgba(23, 224, 210, 0.85);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.44rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(23, 224, 210, 0.34);
  background: rgba(23, 224, 210, 0.1);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}
.nav-toggle:hover { background: rgba(23, 224, 210, 0.2); }

.nav-toggle__bars { display: inline-flex; flex-direction: column; gap: 3px; width: 16px; }
.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.24s var(--ease), opacity 0.24s var(--ease);
}
.header-nav[data-open] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.header-nav[data-open] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.header-nav[data-open] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

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

.header-nav__meta { display: none; }

.pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(23, 224, 210, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(23, 224, 210, 0); }
  100% { box-shadow: 0 0 0 0 rgba(23, 224, 210, 0); }
}

.scroll-rail {
  position: absolute;
  left: 0;
  bottom: -1px;
  display: block;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
  transition: width 0.12s linear;
}

/* 12.3 滚动收窄态 */
.site-header.is-condensed .header-utility__inner { min-height: 0; padding-block: 0.22rem; }
.site-header.is-condensed .brand-lockup__mark { width: 30px; height: 30px; font-size: 0.92rem; border-radius: 8px; }
.site-header.is-condensed .brand-lockup__tag { max-height: 0; opacity: 0; }
.site-header.is-condensed .brand-lockup__name { font-size: 1rem; }
.site-header.is-condensed .header-nav { background: rgba(8, 13, 12, 0.96); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45); }

/* ============================================================ 13. 页脚 */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(56px, 9vw, 110px);
  background: var(--ink-deep);
  border-top: 1px solid var(--line);
  background-image:
    radial-gradient(circle at 84% 6%, rgba(23, 224, 210, 0.1), transparent 46%),
    repeating-linear-gradient(0deg, rgba(244, 241, 233, 0.022) 0 1px, transparent 1px 68px);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--cyan) 52%, transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.25fr;
  gap: clamp(24px, 4vw, 48px);
  padding-block: clamp(40px, 6vw, 74px);
}

.footer-brand__mark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--paper);
  line-height: 1.2;
}
.footer-brand__line {
  margin-top: 0.7rem;
  max-width: 34ch;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
}
.footer-brand__note {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--orange);
}

.footer-col__title {
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--cyan);
}
.footer-col__note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.75;
}

.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  font-size: 0.92rem;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-links a:hover { color: var(--orange); border-color: var(--orange); }

.footer-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.footer-tags li {
  padding: 0.2rem 0.6rem;
  border-radius: 5px;
  border: 1px solid rgba(23, 224, 210, 0.26);
  background: rgba(23, 224, 210, 0.08);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.footer-contact { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-contact li {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.7;
  word-break: break-word;
}
.footer-contact li:last-child { color: var(--paper); }

.footer-base { border-top: 1px solid var(--line-soft); }
.footer-base__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem 1.6rem;
  padding-block: 1.1rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.footer-legal a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(143, 163, 155, 0.4);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-legal a:hover { color: var(--cyan); border-color: var(--cyan); }

/* ======================================================= 14. 响应式增强 */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1.2fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-base__inner { justify-content: flex-start; }
  .header-utility__inner { min-height: 60px; }
  .brand-lockup__tag { letter-spacing: 0.08em; font-size: 0.68rem; }
}

@media (min-width: 861px) {
  .nav-toggle { display: none; }
  .nav-wrap { order: 0; flex: 1 1 auto; }
  .nav-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.1rem;
    padding-bottom: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav-list::-webkit-scrollbar { display: none; }
  .nav-link {
    display: inline-block;
    padding: 0.92rem 0.88rem;
    font-size: 0.94rem;
    border-bottom: 0;
    border-radius: 8px;
    white-space: nowrap;
  }
  .nav-link::after { left: 0.88rem; right: 0.88rem; width: auto; bottom: 0.48rem; }
  .header-nav__inner { flex-wrap: nowrap; padding-block: 0; }
  .header-nav__meta {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--muted);
    white-space: nowrap;
  }
}

/* =================================================== 15. 滚动显现与降级 */
html.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.42s var(--ease), transform 0.42s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
html.js-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

@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;
  }
  .pulse-dot { animation: none; box-shadow: none; }
  html.js-reveal [data-reveal] { opacity: 1 !important; transform: none !important; }
  .btn:hover { transform: none; }
}
