/* ==========================================================================
   开心体育 · 共享样式 /assets/site.css
   1. Reset  2. 变量  3. 基础排版  4. 通用容器与按钮  5. 页头  6. 索引面板
   7. 页脚  8. 内容零件  9. 响应式  10. 无障碍与动效
   ========================================================================== */

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

[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: #FFF9F4;
  color: #1A2A3A;
  font-family: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-size: 16.5px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

figure,
blockquote { margin: 0; }

button { font: inherit; color: inherit; }

a { color: inherit; }

::selection { background: #FFD9C9; color: #0E1A24; }

/* 2. 变量 ---------------------------------------------------------------- */
:root {
  --orange: #FF6B35;
  --orange-soft: #FF8A5C;
  --orange-mist: #FFD9C9;
  --blue: #1A2A3A;
  --night: #0E1A24;
  --warm: #FFF9F4;
  --mist: #F2F3F5;
  --line: #D8DEE6;
  --graphite: #5A6B7B;
  --neon: #39FF14;
  --steady: #14795B;

  --shell: 1200px;
  --gutter: clamp(18px, 4vw, 48px);

  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;

  --shadow-1: 0 1px 0 rgba(26, 42, 58, .04), 0 10px 26px -20px rgba(26, 42, 58, .45);
  --shadow-2: 0 2px 0 rgba(26, 42, 58, .04), 0 22px 44px -28px rgba(26, 42, 58, .55);

  --ease: cubic-bezier(.2, .7, .3, 1);

  --sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --mono: "DIN Alternate", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* 3. 基础排版 ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .45em;
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -.02em;
  color: var(--blue);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
h4 { font-size: 1.02rem; letter-spacing: -.01em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 700; }

.data-num,
.num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--blue);
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .16s var(--ease), color .16s var(--ease),
              border-color .16s var(--ease), box-shadow .16s var(--ease),
              transform .16s var(--ease);
}

.btn--primary {
  background: var(--orange);
  color: var(--night);
  box-shadow: 0 12px 24px -16px rgba(255, 107, 53, .95);
}

.btn--primary:hover {
  background: var(--orange-soft);
  transform: translateY(-1px);
  box-shadow: 0 16px 28px -16px rgba(255, 107, 53, 1);
}

.btn--ghost {
  border-color: var(--line);
  background: #FFFFFF;
  color: var(--blue);
}

.btn--ghost:hover {
  border-color: var(--orange);
  background: var(--orange-mist);
  color: var(--blue);
}

.btn--sm {
  padding: 8px 14px;
  font-size: .82rem;
  border-radius: 8px;
}

.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 5. 页头 ---------------------------------------------------------------- */
.skip-link {
  position: fixed;
  top: -72px;
  left: 14px;
  z-index: 120;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--blue);
  color: #FFFFFF;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
  transition: top .16s var(--ease);
}

.skip-link:focus {
  top: 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 249, 244, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(1.15);
}

.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.header-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--neon));
  transition: width .12s linear;
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  min-height: 72px;
  padding-block: 10px;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  color: var(--blue);
}

.brand__glyph {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(150deg, var(--orange) 0%, #FF8A5C 58%, #FFB28F 100%);
  box-shadow: 0 8px 18px -10px rgba(255, 107, 53, .95);
}

.brand__glyph::before {
  content: "";
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: var(--night);
  transform: rotate(-38deg);
}

.brand__glyph::after {
  content: "";
  position: absolute;
  right: 7px;
  bottom: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--neon);
}

.brand__text { display: block; min-width: 0; }

.brand__name {
  display: block;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--blue);
  white-space: nowrap;
}

.brand__line {
  display: block;
  font-size: .7rem;
  line-height: 1.3;
  letter-spacing: .02em;
  color: var(--graphite);
  white-space: nowrap;
}

/* 主导航 */
.nav { min-width: 0; }

.nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2px, 1vw, 18px);
}

.nav__item { min-width: 0; }

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 9px 8px 11px;
  border-radius: 7px;
  color: var(--blue);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color .16s var(--ease), background .16s var(--ease);
}

.nav__index {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: .62rem;
  letter-spacing: .06em;
  color: var(--graphite);
  transition: color .16s var(--ease);
}

.nav__label { position: relative; }

.nav__link::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 3px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s var(--ease);
}

.nav__link:hover { background: var(--mist); }
.nav__link:hover .nav__index { color: var(--orange); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__link[aria-current="page"] .nav__index { color: var(--orange); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__link[aria-current="page"] .nav__label::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-mist);
  vertical-align: middle;
}

/* 工具区 */
.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #FFFFFF;
  color: var(--blue);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .16s var(--ease), background .16s var(--ease);
}

.tool-btn:hover {
  border-color: var(--orange);
  background: var(--orange-mist);
}

.tool-btn__label { line-height: 1; }

.tool-btn__key {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--mist);
  color: var(--graphite);
  font-family: var(--mono);
  font-size: .68rem;
  line-height: 1;
}

.header-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #FFFFFF;
  color: var(--blue);
  cursor: pointer;
}

.nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 18px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .18s var(--ease), opacity .18s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 6. 站内索引面板 -------------------------------------------------------- */
.index-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - 80px);
  overflow: auto;
  padding-block: 20px 26px;
  background: var(--warm);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-2);
}

.index-panel__inner { display: grid; gap: 14px; }

.index-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
}

.index-panel__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--blue);
}

.index-panel__title::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 2px;
  background: var(--orange);
  transform: rotate(45deg);
  vertical-align: 1px;
}

.index-panel__hint {
  margin: 0;
  font-size: .78rem;
  color: var(--graphite);
}

.index-panel__field { display: block; }

.index-panel__field-label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .14em;
  color: var(--graphite);
  text-transform: uppercase;
}

.index-panel__input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #FFFFFF;
  color: var(--blue);
  font-family: inherit;
  font-size: .95rem;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}

.index-panel__input::placeholder { color: #97A5B2; }

.index-panel__input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-mist);
  outline: none;
}

.index-panel__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 6px;
}

.index-panel__link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--blue);
  text-decoration: none;
  transition: background .16s var(--ease), border-color .16s var(--ease);
}

.index-panel__link:hover {
  background: #FFFFFF;
  border-color: var(--line);
}

.index-panel__num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: .7rem;
  color: var(--orange);
}

.index-panel__name {
  font-size: .92rem;
  font-weight: 700;
}

.index-panel__route {
  margin-left: auto;
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--graphite);
}

.index-panel__empty {
  margin: 0;
  font-size: .88rem;
  color: var(--graphite);
}

/* 7. 页脚 ---------------------------------------------------------------- */
.site-footer {
  margin-top: clamp(48px, 8vw, 96px);
  background: var(--blue);
  color: #E7EEF4;
  font-size: .9rem;
}

.foot-band {
  background: var(--night);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.foot-band__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.foot-band__item { border-left: 1px solid rgba(255, 255, 255, .07); }
.foot-band__item:first-child { border-left: 0; }

.foot-jump {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 18px;
  color: #E7EEF4;
  text-decoration: none;
  transition: background .16s var(--ease), color .16s var(--ease);
}

.foot-jump:hover {
  background: rgba(57, 255, 20, .07);
  color: #FFFFFF;
}

.foot-jump__dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 4px rgba(57, 255, 20, .14);
}

.foot-jump__label {
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

.foot-jump__meta {
  margin-left: auto;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .08em;
  color: #8CA2B3;
  white-space: nowrap;
}

.foot-main {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(4, minmax(120px, 1fr));
  gap: clamp(24px, 3vw, 44px);
  padding-block: clamp(34px, 5vw, 58px);
}

.brand--footer .brand__name { color: #FFFFFF; }
.brand--footer .brand__line { color: #9FB2C2; }

.foot-brand__note {
  margin: 16px 0 0;
  max-width: 30ch;
  font-size: .84rem;
  line-height: 1.8;
  color: #9FB2C2;
}

.foot-col__title {
  margin: 0 0 12px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: #93A8B8;
}

.foot-col__title::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin-top: 9px;
  background: var(--orange);
}

.foot-links li + li { margin-top: 2px; }

.foot-link {
  display: inline-block;
  padding: 3px 0;
  font-size: .88rem;
  color: #D3DEE7;
  text-decoration: none;
  transition: color .16s var(--ease);
}

.foot-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--orange);
}

.foot-mini {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 5px 10px;
  margin: 14px 0 0;
  font-size: .8rem;
}

.foot-mini dt {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .1em;
  line-height: 1.9;
  color: #7E93A4;
}

.foot-mini dd {
  margin: 0;
  color: #D3DEE7;
  word-break: break-all;
}

.foot-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px 28px;
  padding-block: 22px 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .86rem;
}

.foot-contact__item { display: block; }

.foot-contact__label {
  display: block;
  margin-bottom: 2px;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .14em;
  color: #7E93A4;
}

.foot-contact__value {
  color: #ECF3F8;
  font-weight: 600;
}

.foot-contact__value--mail {
  font-family: var(--mono);
  font-size: .82rem;
  word-break: break-all;
}

.foot-contact__note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: .8rem;
  line-height: 1.85;
  color: #9FB2C2;
}

.foot-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 16px 30px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .78rem;
  color: #8CA2B3;
}

.foot-legal__copy,
.foot-legal__icp { margin: 0; }

.foot-legal__icp {
  font-family: var(--mono);
  letter-spacing: .02em;
}

/* 8. 内容零件 ------------------------------------------------------------ */
.section { padding-block: clamp(40px, 6vw, 88px); }
.section--mist { background: var(--mist); }

.section--night {
  background: var(--night);
  color: #EEF4F8;
}

.section--night h1,
.section--night h2,
.section--night h3 { color: #FFFFFF; }

.section--night .lede { color: #A6BAC8; }

.section__head {
  display: grid;
  gap: 10px;
  max-width: 62ch;
  margin-bottom: clamp(22px, 3vw, 40px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
}

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

.section__title { margin: 0; }

.lede {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.8;
  color: var(--graphite);
}

/* 胶囊筛选 */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--graphite);
  font-size: .84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}

.chip:hover { border-color: var(--orange); color: var(--blue); }

.chip[aria-pressed="true"],
.chip[aria-selected="true"] {
  background: var(--orange-mist);
  border-color: var(--orange-mist);
  color: #B03A10;
}

/* 图片容器 */
.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: linear-gradient(135deg, #EDF1F4 0%, #E2E8ED 55%, #FFE7DC 100%);
  box-shadow: var(--shadow-1);
}

.media-frame > img,
.media-frame > svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.media-frame__caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(14, 26, 36, .78);
  color: #EEF4F8;
  font-size: .72rem;
  letter-spacing: .02em;
}

/* 数据块 */
.stat {
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: #FFFFFF;
  box-shadow: var(--shadow-1);
}

.stat__value {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--blue);
}

.stat__label {
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--graphite);
}

.section--night .stat {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: none;
}

.section--night .stat__value { color: var(--neon); }
.section--night .stat__label { color: #A6BAC8; }

/* Bento 基础网格 */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}

.bento__cell {
  grid-column: span 4;
  min-width: 0;
  padding: clamp(16px, 2vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: #FFFFFF;
  box-shadow: var(--shadow-1);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}

.bento__cell:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.bento__cell--wide { grid-column: span 8; }
.bento__cell--tall { grid-row: span 2; }

/* 面包屑 */
.crumbs { padding-block: 14px 0; }

.crumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: var(--graphite);
}

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

.crumbs__link {
  color: var(--graphite);
  text-decoration: none;
}

.crumbs__link:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--orange);
}

.crumbs__sep { color: #A9B6C1; }

.crumbs__item[aria-current="page"] { color: var(--blue); font-weight: 600; }

/* 正文排版 */
.prose {
  max-width: 70ch;
  font-size: 1.02rem;
  line-height: 1.78;
}

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

.prose h2 {
  margin-top: 1.9em;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}

.prose h3 { margin-top: 1.6em; }

.prose ul,
.prose ol {
  padding-left: 1.35em;
  list-style: disc;
}

.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }

.prose a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--orange-mist);
}

.prose a:hover { text-decoration-color: var(--orange); }

.prose blockquote {
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--orange);
  color: var(--graphite);
}

/* 原生手风琴 */
.qa {
  border-top: 1px solid var(--line);
  padding: 4px 0;
}

.qa:last-of-type { border-bottom: 1px solid var(--line); }

.qa__summary {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 0;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--blue);
  cursor: pointer;
  list-style: none;
}

.qa__summary::-webkit-details-marker { display: none; }

.qa__summary::before {
  content: "+";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--mist);
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--graphite);
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

.qa[open] .qa__summary::before {
  content: "–";
  background: var(--orange-mist);
  border-color: var(--orange);
  color: #B03A10;
}

.qa__body {
  padding: 0 0 18px 34px;
  font-size: .96rem;
  line-height: 1.8;
  color: var(--graphite);
  transition: height .18s var(--ease);
}

/* 9. 响应式 -------------------------------------------------------------- */
@media (max-width: 1120px) {
  .brand__line { display: none; }
  .nav__link { font-size: .85rem; }
}

@media (max-width: 1080px) {
  .foot-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .foot-brand__note { max-width: 46ch; }
}

@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 64px;
  }

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

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 68px);
    overflow: auto;
    padding: 10px var(--gutter) 24px;
    background: var(--warm);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s var(--ease);
  }

  .nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

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

  .nav__item + .nav__item { border-top: 1px solid var(--line); }

  .nav__link {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    padding: 15px 10px;
    font-size: 1.02rem;
    border-radius: 0;
  }

  .nav__link::after {
    left: 0;
    right: 0;
    bottom: 0;
  }

  .nav__link[aria-current="page"] {
    background: var(--orange-mist);
    border-radius: 8px;
  }

  .nav__index { font-size: .7rem; }

  .foot-band__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-band__item:nth-child(odd) { border-left: 0; }
  .foot-band__item { border-top: 1px solid rgba(255, 255, 255, .07); }
  .foot-band__item:nth-child(-n+2) { border-top: 0; }

  .bento__cell,
  .bento__cell--wide { grid-column: span 6; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }

  .header-cta { display: none; }

  .foot-band__list { grid-template-columns: minmax(0, 1fr); }
  .foot-band__item { border-left: 0; }
  .foot-band__item:nth-child(-n+2) { border-top: 1px solid rgba(255, 255, 255, .07); }
  .foot-band__item:first-child { border-top: 0; }

  .foot-main { grid-template-columns: minmax(0, 1fr); gap: 26px; }

  .foot-jump { padding: 15px 16px; }

  .foot-legal { justify-content: flex-start; }

  .bento__cell,
  .bento__cell--wide,
  .bento__cell--tall {
    grid-column: span 12;
    grid-row: auto;
  }

  .index-panel__list { grid-template-columns: minmax(0, 1fr); }
  .index-panel__route { display: none; }
}

/* 10. 无障碍与动效 ------------------------------------------------------- */
#main-content { scroll-margin-top: 96px; }

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

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .bento__cell:hover,
  .btn--primary:hover { transform: none; }
}
