/* ============================================================
   196体育报 · 全站共享样式 /assets/site.css
   设计逻辑：未来感 + 速度感；深空黑底 / 荧光绿主强调 /
   电光蓝辅助 / 活力橙点缀；斜切构图、动态网格、霓虹光效。
   ============================================================ */

/* ---------- 设计变量 ---------- */
:root {
  --color-bg: #0a0a0a;
  --color-bg-2: #141414;
  --color-neon: #39ff14;
  --color-cyan: #00f0ff;
  --color-orange: #ff6a00;
  --color-white: #ffffff;
  --color-text: #f5f5f5;
  --color-muted: #a0a0a0;

  --font-head: "PingFang SC Heavy", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "PingFang SC Regular", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;

  --skew: -10deg;
  --radius: 14px;
  --radius-sm: 8px;
  --max-w: 1280px;
  --rail-w: 56px;
  --header-h: 116px;
}

/* ---------- 重置与基础 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--color-bg);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  padding-left: var(--rail-w);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--color-neon);
  color: #0a0a0a;
}

a {
  color: var(--color-cyan);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-neon);
}

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

ul[class],
ol[class] {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

p {
  text-wrap: pretty;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--color-white);
  line-height: 1.2;
  text-wrap: balance;
}

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

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: -64px;
  left: 16px;
  z-index: 3000;
  padding: 10px 20px;
  background: var(--color-neon);
  color: #0a0a0a;
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: 0 0 24px rgba(57, 255, 20, 0.45);
  transition: top 0.25s ease;
}

.skip-link:hover {
  color: #0a0a0a;
}

.skip-link:focus-visible {
  top: 0;
  outline: none;
}

/* ---------- 头部 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: rgba(10, 10, 10, 0.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-shrunk {
  background: rgba(10, 10, 10, 0.94);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.55);
}

.site-header::after {
  content: "";
  position: absolute;
  left: var(--rail-w);
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(0, 240, 255, 0.45) 35%, rgba(57, 255, 20, 0.25) 70%, transparent 95%);
  pointer-events: none;
}

.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.scroll-progress::before {
  content: "";
  display: block;
  height: 100%;
  width: var(--scroll-progress, 0%);
  background: linear-gradient(90deg, var(--color-neon), var(--color-cyan));
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.7);
  transition: width 0.15s linear;
}

.site-header__rail {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2100;
  width: var(--rail-w);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #161616 0%, #0a0a0a 100%);
  border-right: 1px solid rgba(57, 255, 20, 0.3);
  overflow: hidden;
}

.site-header__rail::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, var(--color-neon) 30%, var(--color-cyan) 70%, transparent 100%);
  opacity: 0.55;
  pointer-events: none;
}

.site-header__rail-text {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.5em;
  color: rgba(245, 245, 245, 0.5);
  text-transform: uppercase;
  white-space: nowrap;
}

.site-header__rail-text::after {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  margin: 8px auto 0;
  border-radius: 50%;
  background: var(--color-neon);
  box-shadow: 0 0 8px var(--color-neon);
}

.site-header__inner {
  margin-left: var(--rail-w);
  padding: 0 32px;
  transition: margin-left 0.3s ease;
}

.site-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: height 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--color-white);
}

.site-brand:hover {
  color: var(--color-white);
}

.site-brand__mark {
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  padding: 2px 10px;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-neon);
  background: rgba(57, 255, 20, 0.08);
  border: 1px solid rgba(57, 255, 20, 0.45);
  border-radius: var(--radius-sm);
  transform: skewX(var(--skew));
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.22), inset 0 0 12px rgba(57, 255, 20, 0.08);
  text-shadow: 0 0 12px rgba(57, 255, 20, 0.65);
}

.site-brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.15;
}

.site-brand__name {
  font-family: var(--font-head);
  font-size: 21px;
  letter-spacing: 3px;
  color: var(--color-white);
}

.site-brand__tagline {
  font-size: 12px;
  letter-spacing: 1.2px;
  color: var(--color-muted);
  white-space: nowrap;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.nav-toggle:hover {
  border-color: rgba(57, 255, 20, 0.5);
  box-shadow: 0 0 16px rgba(57, 255, 20, 0.15);
}

.nav-toggle__line {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-neon);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-nav {
  position: relative;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 56px;
  transition: height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav__item {
  position: relative;
}

.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 9px 18px;
  font-family: var(--font-head);
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transform: skewX(var(--skew));
  transition: color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 20%;
  bottom: 4px;
  width: 60%;
  height: 2px;
  background: var(--color-cyan);
  box-shadow: 0 0 10px var(--color-cyan);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--color-neon);
  background-color: rgba(57, 255, 20, 0.08);
  box-shadow: inset 0 0 0 1px rgba(57, 255, 20, 0.35), 0 0 20px rgba(57, 255, 20, 0.12);
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after {
  opacity: 1;
}

.site-nav__link[aria-current="page"] {
  color: #0a0a0a;
  background-color: var(--color-neon);
  box-shadow: 0 0 28px rgba(57, 255, 20, 0.5), inset 0 0 12px rgba(255, 255, 255, 0.25);
}

.site-nav__link[aria-current="page"]::after {
  opacity: 0;
}

.site-header.is-shrunk .site-header__top {
  height: 44px;
  border-bottom-color: rgba(255, 255, 255, 0.04);
}

.site-header.is-shrunk .site-brand__tagline {
  opacity: 0;
  visibility: hidden;
}

.site-header.is-shrunk .site-nav__list {
  height: 44px;
}

/* ---------- 主内容 ---------- */
.main-content {
  padding-top: var(--header-h);
  min-height: 70vh;
  outline: none;
}

#main-content:focus-visible {
  outline-offset: -4px;
}

/* ---------- 内容容器 ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: 0;
  margin-right: auto;
  padding: 0 32px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-head);
  font-size: 15px;
  letter-spacing: 1px;
  line-height: 1;
  color: var(--color-white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  transform: skewX(var(--skew));
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.btn:hover {
  color: var(--color-neon);
  border-color: rgba(57, 255, 20, 0.5);
  transform: skewX(var(--skew)) translateY(-2px);
}

.btn--primary {
  color: #0a0a0a;
  background-color: var(--color-neon);
  border-color: var(--color-neon);
  box-shadow: 0 0 24px rgba(57, 255, 20, 0.35);
}

.btn--primary:hover {
  color: #0a0a0a;
  box-shadow: 0 0 42px rgba(57, 255, 20, 0.55);
}

.btn--ghost {
  color: var(--color-cyan);
  border-color: rgba(0, 240, 255, 0.45);
}

.btn--ghost:hover {
  color: var(--color-cyan);
  background-color: rgba(0, 240, 255, 0.08);
  border-color: rgba(0, 240, 255, 0.7);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--color-muted);
}

.breadcrumb a {
  color: var(--color-cyan);
}

.breadcrumb a:hover {
  color: var(--color-neon);
}

.breadcrumb__sep {
  color: rgba(160, 160, 160, 0.6);
}

.breadcrumb [aria-current="page"] {
  color: var(--color-white);
}

/* ---------- 章节体系 ---------- */
.section {
  position: relative;
  padding: 84px 0;
}

.section__head {
  max-width: 680px;
  margin-bottom: 44px;
}

.section__kicker {
  display: inline-block;
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 3px solid var(--color-neon);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-neon);
}

.section__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  color: var(--color-white);
  transform: skewX(var(--skew));
  transform-origin: left center;
}

.section__title .accent {
  color: var(--color-neon);
  text-shadow: 0 0 24px rgba(57, 255, 20, 0.35);
}

.section__lead {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-muted);
}

/* ---------- 网格 ---------- */
.grid {
  display: grid;
  gap: 28px;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ---------- 卡片 ---------- */
.card {
  position: relative;
  background: var(--color-bg-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(57, 255, 20, 0.45);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45), 0 0 28px rgba(57, 255, 20, 0.1);
}

.card__media {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.card__media .img-frame {
  border: none;
  border-radius: var(--radius) var(--radius) 0 0;
}

.card__body {
  padding: 26px;
}

.card__title {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.3;
}

.card__text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-muted);
}

/* ---------- 图片容器 ---------- */
.img-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--color-bg-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.img-frame::before {
  content: "";
  display: block;
  padding-top: 62.5%;
}

.img-frame--tall::before {
  padding-top: 125%;
}

.img-frame--square::before {
  padding-top: 100%;
}

.img-frame__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.img-frame:hover .img-frame__media {
  transform: scale(1.04);
}

.img-frame__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--color-muted);
  background:
    repeating-linear-gradient(135deg, rgba(57, 255, 20, 0.05) 0px, rgba(57, 255, 20, 0.05) 10px, transparent 10px, transparent 22px),
    radial-gradient(ellipse at 70% 20%, rgba(0, 240, 255, 0.12), transparent 55%),
    var(--color-bg-2);
}

/* ---------- 数据指标 ---------- */
.stat {
  padding: 26px;
  background: var(--color-bg-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--color-neon);
  border-radius: var(--radius);
}

.stat__num {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-neon);
  text-shadow: 0 0 18px rgba(57, 255, 20, 0.35);
}

.stat__label {
  margin-top: 6px;
  font-size: 14px;
  color: var(--color-muted);
}

/* ---------- 标签 ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--color-neon);
  background: rgba(57, 255, 20, 0.07);
  border: 1px solid rgba(57, 255, 20, 0.4);
  border-radius: 999px;
}

.badge--cyan {
  color: var(--color-cyan);
  background: rgba(0, 240, 255, 0.07);
  border-color: rgba(0, 240, 255, 0.4);
}

.badge--orange {
  color: var(--color-orange);
  background: rgba(255, 106, 0, 0.07);
  border-color: rgba(255, 106, 0, 0.4);
}

/* ---------- 动感背景装饰 ---------- */
.bg-motion {
  position: relative;
  overflow: hidden;
}

.bg-motion::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(115deg, transparent 0px, transparent 42px, rgba(57, 255, 20, 0.045) 42px, rgba(57, 255, 20, 0.045) 44px, transparent 44px, transparent 92px),
    repeating-linear-gradient(25deg, transparent 0px, transparent 92px, rgba(0, 240, 255, 0.03) 92px, rgba(0, 240, 255, 0.03) 94px, transparent 94px, transparent 140px);
}

/* ---------- 滚动渐入 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  padding: 60px 0 34px;
  background: var(--color-bg);
  border-top: 1px solid rgba(57, 255, 20, 0.16);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-neon) 0%, var(--color-cyan) 40%, var(--color-orange) 80%, transparent 100%);
  opacity: 0.8;
}

.site-footer::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -30%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin-left: 0;
  margin-right: auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.site-footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.site-footer__mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  min-width: 62px;
  padding: 2px 12px;
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-neon);
  background: rgba(57, 255, 20, 0.06);
  border: 1px solid rgba(57, 255, 20, 0.4);
  border-radius: var(--radius-sm);
  transform: skewX(var(--skew));
  box-shadow: 0 0 24px rgba(57, 255, 20, 0.18);
  text-shadow: 0 0 14px rgba(57, 255, 20, 0.5);
}

.site-footer__name {
  font-family: var(--font-head);
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--color-white);
}

.site-footer__slogan {
  margin-top: 8px;
  max-width: 420px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-muted);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.site-footer__nav a {
  position: relative;
  padding: 4px 0;
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--color-cyan);
}

.site-footer__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--color-neon);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-footer__nav a:hover {
  color: var(--color-neon);
}

.site-footer__nav a:hover::after {
  transform: scaleX(1);
}

.site-footer__contact {
  display: grid;
  gap: 8px;
}

.site-footer__contact-line {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: var(--color-muted);
  word-break: break-all;
}

.site-footer__contact-line span {
  flex: 0 0 auto;
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--color-white);
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 13px;
  color: var(--color-muted);
}

.site-footer__note {
  flex-basis: 100%;
  opacity: 0.85;
}

/* ---------- 焦点状态 ---------- */
:focus-visible {
  outline: 2px solid var(--color-neon);
  outline-offset: 3px;
}

.skip-link:focus-visible {
  outline: none;
}

.site-nav__link:focus-visible {
  outline-offset: -2px;
}

.nav-toggle:focus-visible {
  outline-offset: 2px;
}

/* ---------- 响应式：平板与手机 ---------- */
@media (max-width: 1024px) {
  .section {
    padding: 64px 0;
  }
}

@media (max-width: 900px) {
  :root {
    --rail-w: 0px;
    --header-h: 64px;
  }

  .site-header__rail {
    display: none;
  }

  .site-header__inner {
    margin-left: 0;
    padding: 0 20px;
  }

  .site-header__top {
    height: 64px;
  }

  .site-header.is-shrunk .site-header__top {
    height: 64px;
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .site-header.is-shrunk .site-brand__tagline {
    opacity: 1;
    visibility: visible;
  }

  .site-header.is-shrunk .site-nav__list {
    height: auto;
  }

  .site-brand__tagline {
    font-size: 11px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 2000;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    background: rgba(10, 10, 10, 0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(57, 255, 20, 0.2);
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, transform 0.4s ease, visibility 0.4s;
  }

  .site-nav[data-open] {
    max-height: 480px;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: auto;
    padding: 12px 20px 22px;
  }

  .site-nav__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .site-nav__item:last-child {
    border-bottom: none;
  }

  .site-nav__link {
    display: block;
    width: 100%;
    padding: 14px 16px;
    font-size: 17px;
    border-radius: var(--radius-sm);
    transform: none;
  }

  .site-nav__link::after {
    display: none;
  }

  .site-nav__link[aria-current="page"] {
    background: var(--color-neon);
    color: #0a0a0a;
    box-shadow: 0 0 24px rgba(57, 255, 20, 0.35);
  }

  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .container,
  .site-footer__inner {
    padding: 0 20px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 48px 0;
  }

  .section__title {
    font-size: 1.9rem;
  }

  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .site-brand__tagline {
    display: none;
  }
}

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

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

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