/* =========================================================
   哈哈体育信誉无忧 · 共享样式表  /assets/site.css
   夜场底色 + 荧光青 + 橙红点缀 / 切角面板 / 斜向轨迹
   ========================================================= */

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

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

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

ul, ol { list-style: none; }

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

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

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

table { border-collapse: collapse; width: 100%; }

/* ---------- 2. Tokens ---------- */
:root {
  /* 色彩体系 */
  --ink:        #04140F;
  --panel:      #0A2A20;
  --raise:      #123B2E;
  --line:       #1F5A46;
  --cyan:       #3EE0C0;
  --cyan-hi:    #8FF5E1;
  --orange:     #FF5A2B;
  --paper:      #F5F1E8;
  --muted:      #9DB3AA;
  --amber:      #FFC24B;

  --paper-soft: rgba(245, 241, 232, 0.86);
  --line-soft:  rgba(31, 90, 70, 0.55);

  /* 排版 */
  --font-head: "Noto Sans SC", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Serif SC", "Songti SC", Songti, "SimSun", serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 尺度 */
  --shell: 1180px;
  --gap: 22px;
  --pad: 20px;
  --cut: 16px;
  --cut-sm: 10px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    radial-gradient(820px 480px at 10% -6%, rgba(62, 224, 192, 0.10), transparent 62%),
    radial-gradient(680px 420px at 102% 2%, rgba(255, 90, 43, 0.08), transparent 60%),
    repeating-linear-gradient(0deg, rgba(31, 90, 70, 0.13) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(31, 90, 70, 0.13) 0 1px, transparent 1px 48px);
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--paper);
}

h1 { font-size: 40px; }
h2 { font-size: 32px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }

::selection { background: var(--cyan); color: var(--ink); }

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

/* ---------- 4. 通用容器 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

#main-content {
  display: block;
  scroll-margin-top: 150px;
}

.grid12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}

.col-4  { grid-column: span 4; }
.col-6  { grid-column: span 6; }
.col-8  { grid-column: span 8; }
.col-12 { grid-column: span 12; }

/* ---------- 5. 无障碍跳转 ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--cyan);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 11px 20px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.03em;
  line-height: 1;
  padding: 12px 20px;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  background: transparent;
  clip-path: polygon(var(--cut-sm) 0, 100% 0, 100% calc(100% - var(--cut-sm)), calc(100% - var(--cut-sm)) 100%, 0 100%, 0 var(--cut-sm));
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.12s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  background: var(--cyan);
  color: var(--ink);
}

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

.btn--solid {
  background: var(--orange);
  border-color: var(--orange);
  color: #1A0700;
}

.btn--solid:hover,
.btn--solid:focus-visible {
  background: #FF7B54;
  border-color: #FF7B54;
  color: #1A0700;
}

.btn--ghost {
  border-color: var(--line);
  color: var(--paper);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(62, 224, 192, 0.12);
  border-color: var(--cyan);
  color: var(--cyan-hi);
}

/* ---------- 7. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 20, 15, 0.96);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* 第一层：品牌说明与快捷入口 */
.header-info {
  background: linear-gradient(90deg, rgba(10, 42, 32, 0.92) 0%, rgba(4, 20, 15, 0.55) 78%);
  border-bottom: 1px solid var(--line-soft);
}

.header-info__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
  min-height: 76px;
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.brand__mark {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 4px;
  width: 54px;
  height: 38px;
  padding: 7px 8px;
  flex: none;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}

.brand__mark i {
  display: block;
  background: var(--cyan);
}

.brand__mark i:nth-child(1) { height: 42%; }
.brand__mark i:nth-child(2) { height: 70%; }
.brand__mark i:nth-child(3) { height: 100%; background: var(--orange); }

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand__name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.brand__sub {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 12.5px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.quick-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.quick-strip__item {
  display: inline-block;
  padding: 6px 13px;
  border: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: var(--muted);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.quick-strip__item:hover,
.quick-strip__item:focus-visible {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
}

/* 第二层：主栏目 */
.header-nav__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  min-height: 58px;
  padding-block: 6px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  transition: box-shadow 0.18s var(--ease), color 0.18s var(--ease);
}

.nav-toggle:hover { color: var(--cyan-hi); box-shadow: inset 0 0 0 1px var(--cyan); }

.nav-toggle[aria-expanded="true"] {
  color: var(--cyan);
  box-shadow: inset 0 0 0 1px var(--cyan);
}

.nav-toggle__bars {
  display: grid;
  gap: 3px;
  width: 16px;
}

.nav-toggle__bars i {
  display: block;
  height: 2px;
  background: currentColor;
}

.nav-toggle__bars i:nth-child(1) { width: 100%; }
.nav-toggle__bars i:nth-child(2) { width: 68%; }
.nav-toggle__bars i:nth-child(3) { width: 100%; }

.primary-nav { order: 2; }

.primary-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}

.primary-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--muted);
  transition: color 0.18s var(--ease);
}

.primary-nav__link::before {
  content: "";
  width: 3px;
  height: 14px;
  flex: none;
  background: var(--cyan);
  opacity: 0;
  transform: scaleY(0.3);
  transform-origin: center;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}

.primary-nav__link:hover { color: var(--paper); }

.primary-nav__link:hover::before {
  opacity: 0.55;
  transform: scaleY(1);
}

.primary-nav__link[aria-current="page"] { color: var(--cyan-hi); }

.primary-nav__link[aria-current="page"]::before {
  opacity: 1;
  transform: scaleY(1);
}

.header-nav__tag {
  order: 3;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- 8. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: 84px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 42, 32, 0.94) 0%, rgba(4, 20, 15, 0.99) 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 148px;
  height: 2px;
  background: var(--cyan);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr;
  gap: 38px 26px;
  padding-block: 58px 42px;
}

.footer-brand__name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.footer-brand__sub {
  margin-top: 10px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: var(--muted);
}

.footer-brand__cta { margin-top: 20px; }

.footer-col__title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.footer-col__list {
  margin-top: 14px;
  display: grid;
  gap: 9px;
}

.footer-col__list a {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  background-image: linear-gradient(var(--cyan), var(--cyan));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size 0.2s var(--ease), color 0.2s var(--ease);
}

.footer-col__list a:hover,
.footer-col__list a:focus-visible {
  color: var(--paper);
  background-size: 100% 1px;
}

.footer-contact__list { margin-top: 12px; }

.footer-contact__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding-block: 8px;
  border-bottom: 1px dashed var(--line-soft);
}

.footer-contact__key {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  min-width: 62px;
}

.footer-contact__val {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  color: var(--paper);
  word-break: break-all;
}

.footer-contact__val--text {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--paper-soft);
  word-break: normal;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  padding-block: 22px 36px;
  border-top: 1px solid var(--line);
}

.footer-legal__line {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--paper-soft);
}

.footer-legal__note {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: var(--muted);
  max-width: 52ch;
}

/* ---------- 9. 通用组件 ---------- */
.panel {
  position: relative;
  padding: 24px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}

.panel:hover { box-shadow: inset 0 0 0 1px var(--cyan); }

.panel--raise { background: var(--raise); }

.panel--focus:hover { box-shadow: inset 0 0 0 1px var(--line); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 24px;
  padding-bottom: 14px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.section-head__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.section-head__hint {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--cyan);
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--orange);
  transform: skewX(-32deg);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: var(--muted);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}

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

.tag--cyan { border-color: var(--cyan); color: var(--cyan); }
.tag--cyan:hover { background: var(--cyan); color: var(--ink); }

.tag--orange { border-color: var(--orange); color: var(--orange); }
.tag--orange:hover { background: var(--orange); border-color: var(--orange); color: #1A0700; }

.tag--amber { border-color: var(--amber); color: var(--amber); }
.tag--amber:hover { background: var(--amber); border-color: var(--amber); color: #1A1000; }

.stat {
  display: block;
}

.stat__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--cyan-hi);
}

.stat__label {
  display: block;
  margin-top: 6px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.meta__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta__item--num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.crumb {
  padding-block: 20px 4px;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.crumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.crumb__list li + li::before {
  content: "/";
  margin-right: 10px;
  color: var(--line);
}

.crumb a {
  background-image: linear-gradient(var(--cyan), var(--cyan));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size 0.2s var(--ease), color 0.2s var(--ease);
}

.crumb a:hover,
.crumb a:focus-visible {
  color: var(--cyan-hi);
  background-size: 100% 1px;
}

.crumb__current { color: var(--paper); }

.prose {
  max-width: 68ch;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: 0.01em;
  color: var(--paper-soft);
}

.prose > p + p { margin-top: 1.1em; }

.prose h2,
.prose h3 {
  color: var(--paper);
  margin-block: 1.7em 0.6em;
}

.prose h2 { font-size: 26px; }
.prose h3 { font-size: 20px; }

.prose strong { color: var(--cyan-hi); font-weight: 700; }

.prose a {
  color: var(--cyan-hi);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.18s var(--ease);
}

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

.prose ul,
.prose ol {
  margin-top: 1em;
  padding-left: 1.4em;
}

.prose ul li { list-style: none; position: relative; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: -1.1em;
  top: 0.72em;
  width: 8px;
  height: 2px;
  background: var(--cyan);
  transform: skewX(-32deg);
}
.prose ol { list-style: decimal; }
.prose ol li::marker { color: var(--cyan); font-family: var(--font-mono); }

.slash {
  display: block;
  width: 38px;
  height: 3px;
  background: var(--cyan);
  transform: skewX(-32deg);
}

.slash--orange { background: var(--orange); }

/* ---------- 10. 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: var(--raise);
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}

.media-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.1) brightness(0.9);
  transition: filter 0.25s var(--ease), transform 0.35s var(--ease);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(158deg, rgba(62, 224, 192, 0.15) 0%, transparent 46%, rgba(255, 90, 43, 0.12) 100%);
}

.media-frame:hover > img {
  filter: saturate(1) contrast(1.12) brightness(0.98);
}

.media-frame--16x9 { aspect-ratio: 16 / 9; }
.media-frame--4x3  { aspect-ratio: 4 / 3; }
.media-frame--1x1  { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--wide { aspect-ratio: 21 / 9; }

.media-caption {
  margin-top: 10px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 11. JS 生成的浏览辅助 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 220;
  pointer-events: none;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan-hi) 58%, var(--orange) 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 210;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s linear, box-shadow 0.18s var(--ease);
}

.to-top[data-visible] {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover { box-shadow: inset 0 0 0 1px var(--cyan); }

.to-top > span {
  display: block;
  width: 11px;
  height: 11px;
  border-left: 2px solid var(--cyan);
  border-top: 2px solid var(--cyan);
  transform: translateY(3px) rotate(45deg);
}

/* ---------- 12. 平板 ---------- */
@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 26px;
    padding-block: 48px 34px;
  }

  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  body { font-size: 16.5px; }
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  h3 { font-size: 22px; }

  .grid12 { gap: 18px; }

  .col-4,
  .col-6,
  .col-8 { grid-column: span 12; }

  .header-nav__tag { display: none; }
}

/* ---------- 13. 移动端 ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }

  .header-nav__inner {
    gap: 12px;
    padding-block: 10px;
  }

  .primary-nav {
    display: none;
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    margin-top: 4px;
    padding-top: 6px;
    border-top: 1px solid var(--line-soft);
  }

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

  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .primary-nav__link {
    display: flex;
    width: 100%;
    padding: 13px 2px;
    font-size: 16px;
    border-bottom: 1px solid var(--line-soft);
  }

  .primary-nav__link::before { height: 15px; }
}

@media (max-width: 760px) {
  :root { --pad: 16px; --gap: 16px; }

  body { font-size: 16px; }
  h1 { font-size: 29px; }
  h2 { font-size: 24px; }

  .header-info__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-block: 14px;
  }

  .quick-strip {
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .quick-strip::-webkit-scrollbar { display: none; }

  .quick-strip__item { white-space: nowrap; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 40px 28px;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-block: 20px 30px;
  }

  .section-head { margin-bottom: 22px; }
  .section-head__title { font-size: 23px; }

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

  .to-top { right: 14px; bottom: 14px; }
}

/* ---------- 14. 降低动态效果 ---------- */
@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;
    scroll-behavior: auto !important;
  }

  .media-frame:hover > img { transform: none; }
}
