/* ============================================================
   华体会体育 · 共享站点样式 /assets/site.css
   控制室蓝图体系：深海夜蓝 + 电光青 + 竞技橙 + 荧光黄
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

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

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

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

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

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

table {
  border-collapse: collapse;
}

/* ---------- 2. 设计令牌 ---------- */
:root {
  --ink-900: #071426;
  --ink-800: #0C2036;
  --ink-700: #123451;
  --cyan: #26E0FF;
  --orange: #FF6A2A;
  --yellow: #E8FF4D;
  --green: #42F5B3;
  --paper: #EAF3FA;
  --muted: #A9B8C6;
  --line: #6E8CA8;

  --font-display: "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", SFMono-Regular, Menlo, monospace;

  --shell: 1320px;
  --gutter: clamp(16px, 3.2vw, 44px);
  --header-h: 62px;
  --rail-h: 28px;

  --dur: 240ms;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --scroll-progress: 0;
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--ink-900);
  background-image:
    radial-gradient(1200px 720px at 8% -12%, rgba(38, 224, 255, .14), transparent 62%),
    radial-gradient(1000px 640px at 96% -4%, rgba(255, 106, 42, .12), transparent 60%),
    radial-gradient(900px 900px at 50% 120%, rgba(18, 52, 81, .55), transparent 65%),
    linear-gradient(180deg, #071426 0%, #071b2c 46%, #04101b 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.015em;
}

p { text-wrap: pretty; }

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
input:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 12px 18px;
  background: var(--yellow);
  color: #101d05;
  font: 700 13px/1 var(--font-mono);
  letter-spacing: .06em;
  border-radius: 2px;
  transform: translateY(-160%);
  transition: transform var(--dur) var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ---------- 4. 布局容器 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(52px, 7.5vw, 116px);
}

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

.section::after {
  content: "";
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(18, 52, 81, .9), rgba(18, 52, 81, 0));
}

.section:last-of-type::after { display: none; }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 24px);
}

/* ---------- 5. 文本层级 ---------- */
.h-display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: .98;
  letter-spacing: -.02em;
  color: var(--paper);
}

.h-section {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.015em;
  color: var(--paper);
}

.lede {
  max-width: 60ch;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.8;
  color: rgba(234, 243, 250, .82);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 11.5px/1 var(--font-mono);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--cyan);
}

.index-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 11px/1 var(--font-mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--line);
}

.index-tag::before {
  content: "";
  width: 14px;
  height: 1px;
  background: currentColor;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  font: 600 10.5px/1 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 2px;
  background: rgba(38, 224, 255, .14);
  color: var(--cyan);
}

.tag--hot { background: var(--orange); color: #0b1520; }
.tag--new { background: var(--yellow); color: #101d05; }

/* ---------- 6. 按钮 ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform 160ms var(--ease);
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--orange);
  color: #0b1520;
}

.btn-primary:hover { background: #ff8a56; }

.btn-outline {
  background: transparent;
  border-color: rgba(38, 224, 255, .45);
  color: var(--paper);
}

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(38, 224, 255, .08);
}

.btn-ghost {
  background: rgba(12, 32, 54, .7);
  border-color: rgba(110, 140, 168, .35);
  color: var(--paper);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-sm {
  padding: 9px 15px;
  font-size: 13px;
}

/* ---------- 7. 切角面板 / 标签 / 媒体容器 ---------- */
.cut-panel {
  --cut: 20px;
  position: relative;
  padding: clamp(20px, 3vw, 34px);
  background: linear-gradient(155deg, rgba(18, 52, 81, .88), rgba(7, 20, 38, .96) 74%);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  box-shadow: inset 0 0 0 1px rgba(38, 224, 255, .16);
}

.cut-panel::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: var(--cut);
  height: var(--cut);
  background: linear-gradient(225deg, rgba(38, 224, 255, .55), rgba(38, 224, 255, 0) 70%);
  pointer-events: none;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  color: rgba(234, 243, 250, .85);
  background: rgba(12, 32, 54, .72);
  border: 1px solid rgba(38, 224, 255, .28);
  border-radius: 999px;
  transition: color 160ms var(--ease), border-color 160ms var(--ease), background 160ms var(--ease);
}

.chip:hover,
.chip:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
}

.chip[aria-pressed="true"],
.chip.is-active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04121d;
  font-weight: 700;
}

.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(18, 52, 81, .95), rgba(7, 20, 38, 1));
  border-radius: 2px;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(38, 224, 255, .07) 0 1px,
    transparent 1px 4px
  );
  mix-blend-mode: screen;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 20, 38, 0) 52%, rgba(7, 20, 38, .82) 100%);
}

.media-frame img,
.media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }

/* ---------- 8. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font: 500 12px/1.4 var(--font-mono);
  letter-spacing: .06em;
  color: var(--muted);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li + li::before {
  content: "/";
  color: rgba(110, 140, 168, .7);
}

.breadcrumb a {
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

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

/* ---------- 9. 滚动显现 ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal {
  transition:
    opacity 300ms var(--ease) var(--reveal-delay, 0ms),
    transform 320ms var(--ease) var(--reveal-delay, 0ms);
}

/* ---------- 10. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  display: block;
  background: linear-gradient(180deg,
    rgba(7, 20, 38, .94) 0%,
    rgba(7, 20, 38, .58) 62%,
    rgba(7, 20, 38, 0) 100%);
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.site-header.is-solid {
  background: rgba(12, 32, 54, .97);
  border-bottom-color: rgba(38, 224, 255, .22);
  box-shadow: 0 22px 46px -30px rgba(0, 0, 0, .95);
}

.header-rail {
  display: flex;
  align-items: center;
  gap: 14px;
  height: var(--rail-h);
  padding-inline: var(--gutter);
  overflow: hidden;
  font: 500 10.5px/1 var(--font-mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(169, 184, 198, .78);
  border-bottom: 1px solid rgba(18, 52, 81, .9);
  transition: height var(--dur) var(--ease),
              opacity var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.site-header.is-solid .header-rail {
  height: 0;
  opacity: 0;
  border-color: transparent;
}

.rail-code { flex: 0 0 auto; }

.rail-ticks {
  flex: 1 1 auto;
  height: 1px;
  min-width: 24px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(110, 140, 168, .65) 0 1px,
    transparent 1px 13px
  );
}

.rail-loc {
  flex: 0 0 auto;
  color: var(--cyan);
  letter-spacing: .2em;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 36px);
  width: 100%;
  max-width: var(--shell);
  min-height: var(--header-h);
  margin-inline: auto;
  padding: 12px var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  font: 800 12.5px/1 var(--font-mono);
  letter-spacing: -.02em;
  color: #04121d;
  background: linear-gradient(142deg, var(--cyan) 0%, #0f8aa8 52%, var(--orange) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 66%, 66% 100%, 0 100%);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--paper);
}

.brand-sub {
  font: 500 10px/1.2 var(--font-mono);
  letter-spacing: .12em;
  color: rgba(169, 184, 198, .82);
}

.primary-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.5vw, 24px);
}

.nav-list a {
  position: relative;
  display: inline-block;
  padding: 9px 2px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  color: rgba(234, 243, 250, .78);
  transition: color 160ms var(--ease);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 200ms var(--ease);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--paper);
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
  transform: scaleX(1);
}

.nav-list a[aria-current="page"] {
  color: var(--cyan);
}

.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin-left: clamp(8px, 1.6vw, 22px);
}

.version-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  font: 700 11.5px/1 var(--font-mono);
  letter-spacing: .06em;
  color: #101d05;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 0, 100% 62%, 86% 100%, 0 100%);
  transition: transform var(--dur) var(--ease);
}

.site-header.is-solid .version-chip {
  transform: scale(.92);
  transform-origin: center;
}

.version-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #101d05;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 40px;
  border: 1px solid rgba(38, 224, 255, .38);
  border-radius: 2px;
  transition: border-color 160ms var(--ease), background 160ms var(--ease);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--cyan);
  background: rgba(38, 224, 255, .1);
}

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle-bars i {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--paper);
  transition: transform var(--dur) var(--ease), opacity 160ms var(--ease);
}

.site-header[data-open] .nav-toggle-bars i:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header[data-open] .nav-toggle-bars i:nth-child(2) {
  opacity: 0;
}

.site-header[data-open] .nav-toggle-bars i:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  background: rgba(38, 224, 255, .1);
  pointer-events: none;
}

.scroll-meter i {
  display: block;
  height: 100%;
  width: calc(var(--scroll-progress, 0) * 100%);
  background: linear-gradient(90deg, var(--cyan), var(--orange));
}

/* ---------- 11. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 132px);
  color: var(--muted);
  border-top: 1px solid rgba(38, 224, 255, .2);
  background-color: #05101c;
  background-image:
    repeating-linear-gradient(90deg, rgba(18, 52, 81, .55) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(18, 52, 81, .45) 0 1px, transparent 1px 80px),
    linear-gradient(180deg, rgba(12, 32, 54, .92) 0%, #04101b 72%);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(320px, 42vw);
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), rgba(38, 224, 255, 0));
}

.footer-grid-wrap {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(38px, 5.5vw, 74px) var(--gutter) 0;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) minmax(130px, .7fr) minmax(130px, .7fr) minmax(220px, 1.15fr);
  gap: clamp(24px, 3.6vw, 56px);
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--paper);
}

.footer-brand-note {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(234, 243, 250, .9);
}

.footer-note {
  margin-top: 8px;
  max-width: 32ch;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.footer-col-title {
  margin-bottom: 18px;
  font: 600 11px/1 var(--font-mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer-links li + li {
  margin-top: 11px;
}

.footer-links a {
  position: relative;
  font-size: 15px;
  color: rgba(234, 243, 250, .78);
  transition: color 160ms var(--ease);
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 200ms var(--ease);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--cyan);
}

.footer-links a:hover::after,
.footer-links a:focus-visible::after {
  transform: scaleX(1);
}

.footer-contact li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(110, 140, 168, .3);
}

.footer-contact li:first-child {
  padding-top: 0;
}

.footer-contact li:last-child {
  border-bottom: 0;
}

.footer-label {
  font: 500 10px/1 var(--font-mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(169, 184, 198, .72);
}

.footer-value {
  font-size: 14px;
  line-height: 1.55;
  color: var(--paper);
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  margin-top: clamp(30px, 4.5vw, 56px);
  padding: 20px 0 28px;
  border-top: 1px solid rgba(18, 52, 81, .95);
  font: 400 12.5px/1.6 var(--font-mono);
  letter-spacing: .04em;
  color: rgba(169, 184, 198, .78);
}

.footer-icp {
  color: rgba(169, 184, 198, .64);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-left: auto;
}

.footer-legal-links a {
  color: rgba(169, 184, 198, .8);
  transition: color 160ms var(--ease);
}

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible {
  color: var(--cyan);
}

/* ---------- 12. 响应式 ---------- */
@media (max-width: 1180px) {
  .header-actions .btn { display: none; }
}

@media (max-width: 1080px) {
  .brand-sub { display: none; }
  .nav-list a { font-size: 14px; }
  .footer-top {
    grid-template-columns: minmax(220px, 1.4fr) minmax(120px, .8fr) minmax(120px, .8fr);
  }
  .footer-col--contact { grid-column: 1 / -1; }
  .footer-contact {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 28px;
  }
  .footer-contact li:nth-child(3) { border-bottom: 0; }
}

@media (max-width: 960px) {
  :root { --header-h: 58px; }

  .nav-toggle { display: inline-flex; }

  .header-inner { gap: 12px; }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    margin-left: 0;
    padding: 8px var(--gutter) 20px;
    background: rgba(7, 20, 38, .985);
    border-bottom: 1px solid rgba(38, 224, 255, .24);
    box-shadow: 0 28px 44px -26px rgba(0, 0, 0, .95);
  }

  .site-header[data-open] .primary-nav { display: block; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list a {
    padding: 15px 6px;
    font-size: 16px;
    border-bottom: 1px solid rgba(18, 52, 81, .95);
  }

  .nav-list a::after { display: none; }

  .nav-list a[aria-current="page"] {
    padding-left: 14px;
    border-left: 3px solid var(--cyan);
    color: var(--cyan);
  }

  .header-actions { gap: 8px; }

  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .footer-contact { grid-template-columns: 1fr; }
  .footer-contact li:nth-child(3) { border-bottom: 1px dashed rgba(110, 140, 168, .3); }
}

@media (max-width: 640px) {
  body { font-size: 16px; line-height: 1.72; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col--contact { grid-column: 1 / -1; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer-legal-links { margin-left: 0; }
  .version-chip { font-size: 10.5px; padding: 5px 8px; }
}

@media (max-width: 560px) {
  .grid-12 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail-code { letter-spacing: .1em; }
  .rail-loc { letter-spacing: .1em; }
  .brand-mark { width: 32px; height: 32px; font-size: 11px; }
  .brand-name { font-size: 17px; }
}

/* ---------- 13. 动效降级与打印 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  html.js .reveal {
    opacity: 1;
    transform: none;
  }

  .nav-list a::after,
  .footer-links a::after {
    transition: none;
  }
}

@media print {
  .site-header,
  .scroll-meter,
  .skip-link,
  .nav-toggle {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: #000 !important;
  }

  .site-footer {
    background: #fff !important;
    color: #333 !important;
    border-top: 1px solid #999;
  }
}
