/* ==========================================================================
   6T体育主站 · 共享 Site Kit  (/assets/site.css)
   ========================================================================== */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body, h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }

/* ---------- 2. Tokens ---------- */
:root {
  --ink-900: #07111F;
  --ink-850: #0A1421;
  --ink-800: #121820;
  --ink-700: #1F2A36;
  --cool-400: #8795A6;
  --cool-300: #B6C2D0;
  --white: #F5F9FC;
  --lime: #B8FF3D;
  --orange: #FF7A1A;
  --cyan: #37D6FF;
  --moss: #6F8F5E;
  --clay: #B8684B;
  --paper: #E9E2D3;

  --line: rgba(135, 149, 166, .18);
  --line-strong: rgba(135, 149, 166, .34);

  --font-display: "Barlow Condensed", "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --shell: 1280px;
  --header-h: 78px;
  --radius: 2px;
}

/* ---------- 3. Base / 中文排版 ---------- */
body {
  min-height: 100vh;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .006em;
  background-color: var(--ink-900);
  background-image:
    radial-gradient(1200px 560px at 10% -10%, rgba(55, 214, 255, .10), transparent 62%),
    radial-gradient(900px 480px at 94% 2%, rgba(184, 255, 61, .07), transparent 60%),
    linear-gradient(rgba(31, 42, 54, .52) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 42, 54, .52) 1px, transparent 1px);
  background-size: auto, auto, 88px 88px, 88px 88px;
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: .004em;
  color: var(--white);
}
h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
p { max-width: 68ch; }
strong, b { font-weight: 700; color: var(--white); }
code, kbd, samp, time { font-family: var(--font-mono); }
::selection { background: var(--lime); color: var(--ink-900); }

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

/* ---------- 4. Skip link ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 18px;
  background: var(--lime);
  color: var(--ink-900);
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius);
  transform: translateY(-180%);
  transition: transform .18s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 5. Shell / 布局基元 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 28px;
}
.section { padding: 76px 0; }
.section--tight { padding: 44px 0; }

.grid { display: grid; gap: 20px; }
.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)); }

/* ---------- 6. 通用文字组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--cyan);
  display: block;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  line-height: 1.12;
  margin: 0 0 16px;
}
.lede {
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  color: var(--cool-300);
  max-width: 62ch;
}
.coord-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 1px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cool-400);
}
.coord-tag b { color: var(--lime); font-weight: 700; }

/* ---------- 7. 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cool-400);
}
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.crumbs a { color: var(--cool-400); transition: color .18s ease; }
.crumbs a:hover { color: var(--lime); }
.crumbs [aria-current="page"] { color: var(--white); }

/* ---------- 8. 按钮 ---------- */
.btn {
  --btn-bg: var(--lime);
  --btn-fg: var(--ink-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  text-align: center;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -14px var(--btn-bg); }
.btn--orange { --btn-bg: var(--orange); --btn-fg: #100A04; }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: none; }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 13px; }

/* ---------- 9. 标签（展签） ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 1px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cool-300);
}
.tag--lime { color: var(--lime); border-color: rgba(184, 255, 61, .42); background: rgba(184, 255, 61, .09); }
.tag--cyan { color: var(--cyan); border-color: rgba(55, 214, 255, .38); background: rgba(55, 214, 255, .09); }
.tag--orange { color: var(--orange); border-color: rgba(255, 122, 26, .42); background: rgba(255, 122, 26, .11); }
.tag--moss { color: #C4DAB2; border-color: rgba(111, 143, 94, .66); background: rgba(111, 143, 94, .22); }
.tag--clay { color: #F2C6B1; border-color: rgba(184, 104, 75, .72); background: rgba(184, 104, 75, .24); }
.tag--paper { color: #241E16; background: var(--paper); border-color: #C9BFA9; }

/* ---------- 10. 面板卡片 ---------- */
.panel {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #101A27, #0B1420);
}
.panel::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  width: 15px;
  height: 15px;
  border-top: 2px solid var(--lime);
  border-left: 2px solid var(--lime);
  pointer-events: none;
}

/* ---------- 11. 图片容器 ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #0C1623;
  background-image:
    repeating-linear-gradient(0deg, rgba(31, 42, 54, .95) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(31, 42, 54, .95) 0 1px, transparent 1px 34px);
}
.media-frame > img,
.media-frame > picture,
.media-frame > picture > img,
.media-frame > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame__tag {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  padding: 4px 11px;
  background: var(--lime);
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.media-frame__caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--cool-400);
}

/* ---------- 12. 长文 ---------- */
.prose { max-width: 760px; color: #C3CEDB; }
.prose p { margin: 0 0 1.15em; line-height: 1.85; max-width: none; }
.prose h2, .prose h3 { margin: 1.8em 0 .6em; color: var(--white); }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.25em; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: .4em 0; }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--lime); }
.prose blockquote {
  margin: 1.4em 0;
  padding: 14px 20px;
  border-left: 2px solid var(--moss);
  background: rgba(111, 143, 94, .10);
  color: var(--cool-300);
}
.paper-card {
  padding: 28px;
  border: 1px solid #C9BFA9;
  border-radius: var(--radius);
  background: var(--paper);
  color: #241E16;
}
.paper-card h2, .paper-card h3 { color: #1B1710; }

/* ---------- 13. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(7, 17, 31, .74);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--line);
  transition: background-color .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  pointer-events: none;
  opacity: .55;
  background: repeating-linear-gradient(90deg, rgba(184, 255, 61, .85) 0 1px, transparent 1px 14px);
}
.site-header.is-solid {
  background: var(--ink-850);
  border-bottom-color: rgba(184, 255, 61, .24);
  box-shadow: 0 16px 34px -22px #000;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 28px;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--white);
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  background: var(--lime);
  color: var(--ink-900);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: .02em;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .06em;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cool-400);
}
.brand--footer .brand__name { font-size: 17px; }

/* 主导航 */
.site-nav { flex: 1 1 auto; display: flex; justify-content: flex-end; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  counter-reset: navidx;
}
.nav-list li { counter-increment: navidx; }
.nav-list a {
  position: relative;
  display: block;
  padding: 10px 12px 12px;
  border-radius: var(--radius);
  color: #C9D4E1;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color .18s ease, background-color .18s ease;
}
.nav-list a::before {
  content: "0" counter(navidx);
  margin-right: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .04em;
  color: var(--cool-400);
  opacity: .75;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s ease;
}
.nav-list a:hover { color: var(--white); background: rgba(55, 214, 255, .08); }
.nav-list a:hover::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: var(--lime); }
.nav-list a[aria-current="page"]::before { color: var(--lime); opacity: 1; }
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }

/* 头部动作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.fav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: #C9D4E1;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}
.fav-btn__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--cool-400);
  background: transparent;
  transition: background-color .18s ease, border-color .18s ease;
}
.fav-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.fav-btn[aria-pressed="true"] {
  border-color: rgba(184, 255, 61, .55);
  color: var(--lime);
  background: rgba(184, 255, 61, .10);
}
.fav-btn[aria-pressed="true"] .fav-btn__dot {
  background: var(--lime);
  border-color: var(--lime);
}
.header-cta { min-height: 38px; padding: 0 16px; font-size: 13px; }

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease;
}
.nav-toggle:hover { border-color: var(--lime); color: var(--lime); }
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* 阅读进度尺 */
.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--lime), var(--cyan));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .1s linear;
  pointer-events: none;
}

/* ---------- 14. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: 96px;
  border-top: 1px solid var(--line);
  background-color: #080F19;
  background-image:
    repeating-linear-gradient(90deg, rgba(31, 42, 54, .62) 0 1px, transparent 1px 88px),
    radial-gradient(760px 320px at 8% 0%, rgba(111, 143, 94, .12), transparent 68%);
  color: var(--cool-400);
  font-size: 14px;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: min(260px, 34%);
  height: 2px;
  background: linear-gradient(90deg, var(--lime), var(--cyan) 62%, transparent);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(0, 1.6fr);
  gap: 56px;
  padding-top: 64px;
  padding-bottom: 44px;
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-note {
  max-width: 42ch;
  margin: 0 0 20px;
  color: var(--cool-400);
  line-height: 1.8;
}
.footer-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.footer-col__title {
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--white);
}
.footer-links li + li { margin-top: 10px; }
.footer-links a {
  position: relative;
  display: inline-block;
  padding-left: 0;
  color: var(--cool-400);
  font-size: 14px;
  transition: color .18s ease, padding-left .18s ease;
}
.footer-links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--lime);
  transition: width .18s ease;
}
.footer-links a:hover { color: var(--lime); padding-left: 16px; }
.footer-links a:hover::before { width: 10px; }

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  padding-top: 26px;
  padding-bottom: 26px;
  border-top: 1px solid var(--line);
}
.footer-contact__label {
  margin: 0;
  padding: 3px 10px;
  border: 1px solid rgba(184, 255, 61, .42);
  border-radius: 1px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lime);
  white-space: nowrap;
}
.footer-contact__lines {
  flex: 1 1 320px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  max-width: none;
  color: var(--cool-300);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .02em;
}
.footer-contact__lines .dot { color: var(--ink-700); }
.footer-contact__cta { flex: 0 0 auto; }

.footer-bottom {
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, .22);
}
.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  padding-top: 18px;
  padding-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--cool-400);
}
.footer-copy, .footer-icp { margin: 0; max-width: none; }
.footer-icp { color: var(--cool-400); }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0 0 0 auto;
}
.footer-legal a { color: var(--cool-400); transition: color .18s ease; }
.footer-legal a:hover { color: var(--lime); }
.footer-legal [aria-current="page"] { color: var(--lime); }

/* ---------- 15. 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 180;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  border: 1px solid rgba(184, 255, 61, .45);
  border-radius: var(--radius);
  background: #0D1927;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, background-color .2s ease;
}
.to-top[data-visible] { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { background: #12222F; }

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1180px) {
  .fav-btn { display: none; }
}
@media (max-width: 1020px) {
  .header-cta { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .header-inner { gap: 14px; padding: 0 18px; }
  .brand__mark { width: 34px; height: 34px; font-size: 17px; }
  .brand__sub { display: none; }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    display: block;
    padding: 10px 18px 26px;
    background: var(--ink-850);
    border-bottom: 1px solid rgba(184, 255, 61, .24);
    box-shadow: 0 26px 42px -26px #000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  }
  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a {
    padding: 15px 6px;
    font-size: 15px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav-list a::before { font-size: 10.5px; margin-right: 10px; }
  .nav-list a::after { left: 6px; right: auto; width: 0; bottom: 8px; transform: none; transition: width .18s ease; }
  .nav-list a:hover::after { width: 16px; transform: none; }
  .nav-list a[aria-current="page"]::after { width: 16px; transform: none; }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 46px;
  }
  .footer-nav { gap: 22px; }
  .footer-legal { margin-left: 0; }
  .section { padding: 56px 0; }
}
@media (max-width: 760px) {
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 84px; }
  .shell { padding: 0 18px; }
  .header-inner { padding: 0 16px; }
  .section { padding: 46px 0; }
  .panel { padding: 18px; }
  .to-top { right: 14px; bottom: 14px; padding: 10px 12px; }
  .footer-contact__lines { font-size: 12px; }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr; }
  .footer-bottom__inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- 17. 可访问性：减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .to-top { transition: none; }
}

/* ---------- 18. 打印 ---------- */
@media print {
  .site-header, .to-top, .skip-link { display: none !important; }
  body { background: #fff; color: #111; }
}
