/* ============================================================
   b体育看台 · 共享样式 /assets/site.css
   分区：reset → 变量 → 基础中文排版 → 通用组件 → 头部 → 页脚 → 响应式
   ============================================================ */

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

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

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

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

a { color: inherit; }

/* ---------- 变量 ---------- */
:root {
  --pitch: #10362A;
  --moss: #4C8A5E;
  --whistle: #F2701F;
  --whistle-deep: #D95C12;
  --clay: #B4552F;
  --lime: #C8F24A;
  --navy: #16324F;
  --navy-deep: #0F2439;
  --white: #FFFFFF;
  --stand: #F3EFE4;
  --stone: #6C7A73;
  --turf: #DDE9DC;
  --ink-soft: #3D4F60;

  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: var(--font-display);
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --wrap: 1240px;
  --r-card: 26px;
  --r-tile: 20px;
  --r-pill: 999px;

  --ease: cubic-bezier(.2, .6, .2, 1);
  --dur: 160ms;

  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 40px;
  --s5: 64px;
  --s6: 96px;
}

/* ---------- 基础中文排版 ---------- */
body {
  background: var(--stand);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

p { text-wrap: pretty; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 焦点可见 ---------- */
:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--whistle);
  outline-offset: 3px;
  border-radius: 6px;
}

.site-header :focus-visible,
.site-footer :focus-visible,
.whistle :focus-visible {
  outline-color: var(--lime);
}

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: 18px;
  top: -80px;
  z-index: 200;
  padding: 12px 22px;
  background: var(--lime);
  color: var(--pitch);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  border-radius: 0 0 16px 16px;
  transition: top var(--dur) var(--ease);
}

.skip-link:focus { top: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.btn--kick { background: var(--whistle); border-color: var(--whistle); color: #fff; }
.btn--kick:hover { background: var(--whistle-deep); border-color: var(--whistle-deep); }
.btn--ink { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--ink:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn--ghost { background: transparent; border-color: rgba(200, 242, 74, .5); color: var(--lime); }
.btn--ghost:hover { border-color: var(--lime); background: rgba(200, 242, 74, .12); }

/* ---------- 品牌 ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: var(--lime);
  color: var(--pitch);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 23px;
  letter-spacing: -.02em;
  box-shadow: 5px 5px 0 0 rgba(242, 112, 31, .92);
}

.brand__text { display: flex; flex-direction: column; gap: 2px; }

.brand__line {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -.01em;
  color: #fff;
  line-height: 1.2;
}

.brand__tag {
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .62);
}

.brand--foot .brand__line { font-size: 22px; }

/* ---------- 头部：草皮区 ---------- */
.site-header {
  position: relative;
  background-color: var(--pitch);
  background-image:
    repeating-linear-gradient(90deg,
      rgba(255, 255, 255, .04) 0 72px,
      rgba(255, 255, 255, 0) 72px 144px);
  color: #fff;
}

.masthead__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 22px 24px 16px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px 30px;
}

.masthead__note {
  font-size: 12px;
  line-height: 1.65;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .56);
  max-width: 46ch;
  padding-left: 14px;
  border-left: 2px dashed rgba(255, 255, 255, .22);
}

.masthead__note-tag {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 9px;
  border-radius: var(--r-pill);
  background: rgba(200, 242, 74, .16);
  color: var(--lime);
  font-size: 10px;
  letter-spacing: .2em;
  vertical-align: 1px;
}

.masthead__utility {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: right;
}

.utility__item {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 9px;
  font-size: 12px;
  line-height: 1.4;
}

.utility__key {
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--moss);
}

.utility__val { color: rgba(255, 255, 255, .84); }

.utility__val--mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

.masthead__ruler {
  height: 16px;
  border-bottom: 2px dashed rgba(255, 255, 255, .16);
  background-image:
    repeating-linear-gradient(90deg,
      rgba(255, 255, 255, .26) 0 1px,
      transparent 1px 22px);
  background-size: 22px 8px;
  background-repeat: repeat-x;
  background-position: left 6px;
}

/* ---------- 移动导航按钮 ---------- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 2px solid rgba(255, 255, 255, .24);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.nav-toggle:hover {
  border-color: var(--whistle);
  background: rgba(255, 255, 255, .1);
}

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

.nav-toggle__bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

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

/* ---------- 命令栏 ---------- */
.command-bar {
  background: rgba(0, 0, 0, .22);
  border-top: 2px dashed rgba(255, 255, 255, .14);
}

.command-bar__list {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 6px 20px 0;
  display: flex;
  gap: 4px;
}

.command-bar__link {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  padding: 12px 16px 13px;
  border-bottom: 3px solid transparent;
  border-radius: 14px 14px 0 0;
  color: rgba(255, 255, 255, .74);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color var(--dur) var(--ease),
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.command-bar__link::before {
  content: attr(data-index);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--stone);
  transition: color var(--dur) var(--ease);
}

.command-bar__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, .07);
}

.command-bar__link:hover::before { color: var(--whistle); }

.command-bar__link[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, .06);
  border-bottom-color: var(--lime);
}

.command-bar__link[aria-current="page"]::before { color: var(--lime); }

/* ---------- 滚动进度 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 150;
  background: rgba(16, 54, 42, .18);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
}

.scroll-progress[data-active="true"] { opacity: 1; }

.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--moss), var(--lime) 55%, var(--whistle));
}

/* ---------- 通用段落与章节 ---------- */
.section { padding: var(--s6) 0; }
.section--tight { padding: var(--s5) 0; }

.section__head {
  display: grid;
  gap: 14px;
  max-width: 780px;
  margin-bottom: var(--s4);
}

.chapter-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(64px, 9vw, 120px);
  line-height: .82;
  letter-spacing: -.05em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(16, 54, 42, .24);
}

@supports not (-webkit-text-stroke: 1px #000) {
  .chapter-num { color: rgba(16, 54, 42, .14); }
}

.section__title {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.14;
  margin: 0;
}

.lede {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0;
}

.annotation {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--stone);
}

.annotation--vertical {
  writing-mode: vertical-rl;
  letter-spacing: .3em;
}

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

/* ---------- 网格 ---------- */
.grid { display: grid; gap: var(--s3); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- 卡片 ---------- */
.card {
  background: var(--white);
  border: 2px solid var(--turf);
  border-radius: var(--r-card);
  padding: 28px;
  transition:
    border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}

.card:hover {
  border-color: var(--whistle);
  background: #FBFAF6;
}

.card__title {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 800;
}

.card__meta {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--stone);
}

/* ---------- 胶囊筛选与标签 ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 2px solid rgba(22, 50, 79, .18);
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

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

.chip[aria-pressed="true"],
.chip--on {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--pitch);
}

.chip--multi[aria-pressed="true"] {
  background: transparent;
  border-color: var(--whistle);
  color: var(--clay);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 13px;
  border-radius: var(--r-pill);
  background: var(--turf);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
}

.tag--whistle { background: rgba(242, 112, 31, .15); color: var(--clay); }
.tag--lime { background: var(--lime); color: var(--pitch); }

/* ---------- 数据表 ---------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--r-tile);
  overflow: hidden;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
}

.data-table thead th {
  padding: 14px 16px;
  background: var(--pitch);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-align: left;
}

.data-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--turf);
  color: var(--navy);
}

.data-table tbody tr:nth-child(even) { background: var(--turf); }

.data-table .is-current {
  background: var(--lime);
  color: var(--pitch);
  font-weight: 700;
}

/* ---------- 数值块 ---------- */
.stat { display: grid; gap: 6px; }

.stat__value {
  display: inline-block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 1;
  color: var(--pitch);
}

.stat__value--hi {
  padding: 3px 12px;
  border-radius: 12px;
  background: var(--lime);
  color: var(--pitch);
}

.stat__unit {
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--stone);
}

.stat__label {
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--stone);
}

/* ---------- 提示条 / 分隔 ---------- */
.note {
  padding: 18px 22px;
  border-left: 4px solid var(--whistle);
  border-radius: 0 18px 18px 0;
  background: var(--white);
  color: var(--navy);
  font-size: 15px;
  line-height: 1.75;
}

.rule-dashed {
  border: 0;
  border-top: 2px dashed rgba(22, 50, 79, .2);
  margin: 0;
}

.rule-slant {
  height: 18px;
  background: repeating-linear-gradient(-8deg,
    rgba(76, 138, 94, .35) 0 14px,
    transparent 14px 32px);
}

/* ---------- 折叠 ---------- */
.fold { border-bottom: 2px dashed rgba(22, 50, 79, .16); }

.fold > summary {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 4px;
  border-left: 3px solid transparent;
  color: var(--navy);
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  transition:
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    padding-left var(--dur) var(--ease);
}

.fold > summary::-webkit-details-marker { display: none; }
.fold > summary:hover { color: var(--clay); }

.fold[open] > summary {
  padding-left: 18px;
  border-left-color: var(--whistle);
  color: var(--pitch);
}

.fold__body {
  padding: 0 0 24px 18px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 22px 24px 0;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--stone);
}

.breadcrumb__list li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--stone);
}

.breadcrumb__link {
  color: var(--stone);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.breadcrumb__link:hover {
  color: var(--navy);
  border-bottom-color: var(--whistle);
}

/* ---------- 图片容器（供页面阶段放置图片） ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 2px solid var(--turf);
  border-radius: var(--r-card);
  background: var(--turf);
}

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

.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 20px 16px;
  background: linear-gradient(180deg, rgba(16, 54, 42, 0) 0%, rgba(16, 54, 42, .85) 100%);
  color: #fff;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: .02em;
}

.media-frame__tick {
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(255, 255, 255, .42);
  border-radius: calc(var(--r-card) - 10px);
  pointer-events: none;
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  background-color: var(--pitch);
  background-image:
    repeating-linear-gradient(90deg,
      rgba(255, 255, 255, .035) 0 72px,
      rgba(255, 255, 255, 0) 72px 144px);
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
}

.footer__edge {
  height: 14px;
  background: repeating-linear-gradient(-10deg,
    var(--moss) 0 22px,
    var(--pitch) 22px 44px);
  opacity: .7;
}

.footer__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 64px 24px 44px;
  display: grid;
  grid-template-columns: minmax(240px, 1.05fr) 2fr;
  gap: 44px 56px;
}

.footer__brand { display: grid; gap: 18px; align-content: start; }

.footer__closing {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: .04em;
  color: var(--lime);
}

.footer__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.footer__col-title {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  color: var(--lime);
}

.footer__links { display: grid; gap: 11px; }

.footer__link {
  color: rgba(255, 255, 255, .74);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.footer__link:hover {
  color: #fff;
  border-bottom-color: var(--whistle);
}

.footer__link[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--lime);
}

.footer__contact {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px 32px;
  padding-top: 28px;
  border-top: 2px dashed rgba(255, 255, 255, .16);
}

.contact-row { display: grid; gap: 5px; align-content: start; }

.contact-row__key {
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--moss);
}

.contact-row__val {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .9);
}

.contact-row__val--mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

.footer__note {
  grid-column: 1 / -1;
  max-width: 78ch;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .52);
}

.footer__legal {
  background: rgba(0, 0, 0, .2);
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer__legal-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
}

.footer__legal-line {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: .05em;
  color: rgba(255, 255, 255, .55);
}

/* ---------- 变更哨 ---------- */
.whistle {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 160;
}

.whistle__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px 13px 18px;
  border: 2px solid rgba(255, 255, 255, .38);
  border-radius: var(--r-pill);
  background: var(--whistle);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .04em;
  cursor: pointer;
  list-style: none;
  box-shadow: 0 12px 30px rgba(16, 54, 42, .38);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.whistle__btn::-webkit-details-marker { display: none; }
.whistle__btn:hover { background: var(--whistle-deep); border-color: #fff; }

.whistle__pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lime);
  animation: whistle-pulse .6s var(--ease) 1;
}

@keyframes whistle-pulse {
  0% { box-shadow: 0 0 0 0 rgba(200, 242, 74, .75); }
  100% { box-shadow: 0 0 0 14px rgba(200, 242, 74, 0); }
}

.whistle__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  width: min(348px, calc(100vw - 40px));
  padding: 22px;
  border: 2px solid var(--turf);
  border-radius: var(--r-card);
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 26px 60px rgba(16, 54, 42, .3);
}

.whistle__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 900;
}

.whistle__count {
  padding: 2px 10px;
  border-radius: var(--r-pill);
  background: var(--lime);
  color: var(--pitch);
  font-family: var(--font-mono);
  font-size: 12px;
}

.whistle__list { display: grid; gap: 10px; margin: 0 0 18px; }

.whistle__item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  padding: 11px 14px;
  border-left: 3px solid var(--turf);
  border-radius: 0 14px 14px 0;
  background: var(--stand);
}

.whistle__code {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--stone);
}

.whistle__text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--navy);
}

.whistle__state {
  align-self: center;
  justify-self: end;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--clay);
  white-space: nowrap;
}

.whistle__state--ok { color: var(--moss); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1180px) {
  .masthead__note { display: none; }
  .masthead__inner { grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 16px; }
}

@media (max-width: 1024px) {
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  body { font-size: 16.5px; }

  .masthead__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 16px 18px 12px;
  }

  .masthead__utility,
  .masthead__cta { display: none; }

  .nav-toggle { display: inline-flex; }
  .brand__mark { width: 40px; height: 40px; font-size: 20px; border-radius: 13px; }
  .brand__line { font-size: 18px; }
  .brand__tag { font-size: 10px; letter-spacing: .12em; }

  .command-bar { overflow: hidden; }

  .command-bar__list {
    padding: 6px 12px 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .command-bar__list::-webkit-scrollbar { display: none; }

  .command-bar__link {
    padding: 11px 12px 12px;
    font-size: 14px;
    border-radius: 12px 12px 0 0;
  }

  .command-bar[data-open] .command-bar__list {
    flex-direction: column;
    flex-wrap: nowrap;
    overflow: visible;
    gap: 2px;
    padding-bottom: 12px;
  }

  .command-bar[data-open] .command-bar__link {
    width: 100%;
    border-bottom-width: 0;
    border-left: 3px solid transparent;
    border-radius: 12px;
  }

  .command-bar[data-open] .command-bar__link[aria-current="page"] {
    border-left-color: var(--lime);
    background: rgba(255, 255, 255, .09);
  }

  .section { padding: 64px 0; }
  .section--tight { padding: 48px 0; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .whistle { right: 14px; bottom: 14px; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .breadcrumb { padding: 18px 18px 0; }
  .footer__inner { padding: 48px 18px 34px; }
  .footer__columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
  .footer__contact { grid-template-columns: 1fr; }
  .footer__legal-inner { padding: 16px 18px; }
  .whistle__btn { padding: 12px 18px 12px 15px; font-size: 14px; }
  .data-table { font-size: 13px; }
  .data-table thead th, .data-table td { padding: 11px 12px; }
}

/* ---------- 降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
