/* ============================================
   球盟会 · Site Kit /assets/site.css
   设计基调：球场制图数据台 · 技术蓝图
   ============================================ */

/* ---------- 变量 ---------- */
:root {
  --paper: #F3EFE7;
  --ink: #1B1F23;
  --green: #2E7D32;
  --green-deep: #1B5E20;
  --silver: #C5C8CC;
  --orange: #F46A1B;
  --gray-bg: #E2E0D8;
  --white: #FFFFFF;

  --font-title: "Nunito Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-data: "Roboto Mono", "SFMono-Regular", Consolas, "Courier New", monospace;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(27,31,35,0.08), 0 1px 6px rgba(27,31,35,0.06);
  --shadow-md: 0 4px 10px rgba(27,31,35,0.12), 0 2px 4px rgba(27,31,35,0.06);
  --shadow-lg: 0 12px 30px rgba(27,31,35,0.18), 0 4px 8px rgba(27,31,35,0.08);

  --container-max: 1280px;
  --header-h: 64px;
}

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

* {
  margin: 0;
}

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

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(27,31,35,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,31,35,0.045) 1px, transparent 1px),
    repeating-linear-gradient(0deg, transparent 0 80px, rgba(46,125,50,0.03) 80px 82px);
  background-size: 32px 32px, 32px 32px, 100% 82px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 900;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 var(--space-4);
  overflow-wrap: break-word;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; font-weight: 800; }

p {
  overflow-wrap: break-word;
}

a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green-deep);
}

strong, b {
  font-weight: 800;
}

::selection {
  background: var(--orange);
  color: var(--white);
}

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

#main-content {
  flex: 1;
  outline: none;
}

#main-content:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

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

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

input,
button,
textarea,
select {
  font: inherit;
}

/* ---------- 通用容器 ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 32px);
}

.section {
  padding-block: var(--space-7);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: #E05A12;
  border-color: #E05A12;
  color: var(--white);
  box-shadow: 0 6px 18px rgba(244,106,27,0.35);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-sm {
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
}

.btn-block {
  display: flex;
  width: 100%;
  justify-content: center;
}

/* ---------- 跳过链接 ---------- */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 220;
  padding: 0.75rem 1.25rem;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transform: translateY(-160%);
  transition: transform 0.25s ease;
}

.skip-link:hover {
  color: var(--white);
}

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

/* ---------- 头部：悬浮胶囊浮岛 ---------- */
.site-header {
  position: sticky;
  top: 12px;
  z-index: 100;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(12px, 2vw, 24px);
}

.site-header__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  height: var(--header-h);
  padding-inline: var(--space-4);
  background: var(--ink);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.06);
}

.site-header__progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 300;
  background: transparent;
  pointer-events: none;
}

.site-header__progress::before {
  content: "";
  display: block;
  width: var(--progress, 0%);
  height: 100%;
  background: linear-gradient(90deg, var(--green) 0%, var(--orange) 65%, var(--orange) 100%);
}

/* ---------- 品牌 ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--paper);
}

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

.brand__mark {
  display: inline-block;
  width: 32px;
  height: 24px;
  background: var(--green);
  border: 2px solid var(--white);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.brand__mark::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--white);
  transform: translateX(-50%);
}

.brand__mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 8px;
  border: 2px solid var(--white);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.brand__text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__name {
  font-family: var(--font-title);
  font-size: 1.0625rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: var(--white);
}

.brand__slogan {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver);
}

/* ---------- 主导航 ---------- */
.site-nav {
  margin-inline: auto;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__link {
  display: inline-block;
  position: relative;
  padding: 0.4375rem 0.875rem;
  border-radius: var(--radius-pill);
  color: rgba(243,239,231,0.82);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--white);
  background-color: rgba(255,255,255,0.09);
}

.site-nav__link[aria-current="page"] {
  color: var(--white);
  background-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46,125,50,0.35);
}

.site-nav__account {
  display: none;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

/* ---------- 移动导航按钮 ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(255,255,255,0.08);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--paper);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: var(--space-8);
  background: var(--green-deep);
  color: rgba(243,239,231,0.75);
  border-top: 4px solid var(--orange);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.15) 0 20px, transparent 20px 28px);
  pointer-events: none;
}

.site-footer::after {
  content: "+";
  position: absolute;
  right: 28px;
  top: 36px;
  color: rgba(255,255,255,0.1);
  font-family: var(--font-data);
  font-size: 3rem;
  line-height: 1;
  pointer-events: none;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 2fr 1.4fr 1fr;
  gap: var(--space-7);
  padding-block: var(--space-8) var(--space-6);
}

.site-footer__brand-link {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--white);
  text-decoration: none;
}

.site-footer__brand-link:hover,
.site-footer__brand-link:focus-visible {
  color: var(--orange);
}

.site-footer__slogan {
  margin-top: 4px;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--orange);
}

.site-footer__trust {
  max-width: 52ch;
  margin-top: var(--space-4);
  font-size: 0.875rem;
  color: rgba(243,239,231,0.7);
  line-height: 1.75;
}

.site-footer__heading {
  margin: 0 0 var(--space-4);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  color: var(--silver);
  font-family: var(--font-title);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.site-footer__list {
  display: grid;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
}

.site-footer__list a {
  color: rgba(243,239,231,0.75);
  text-decoration: none;
}

.site-footer__list a:hover,
.site-footer__list a:focus-visible {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-block: var(--space-4);
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 0.8125rem;
  color: rgba(243,239,231,0.55);
}

/* ---------- 返回顶部 ---------- */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--ink);
  border: 2px solid var(--orange);
  border-radius: 50%;
  color: var(--paper);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, visibility 0s linear 0.25s, transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.back-to-top[data-visible="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.25s ease, visibility 0s, transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.back-to-top:hover {
  background: var(--orange);
  color: var(--white);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  padding-block: var(--space-4);
  font-size: 0.8125rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--silver);
}

.breadcrumb a {
  color: var(--green);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

/* ---------- 页面标题 ---------- */
.page-title {
  margin: var(--space-7) 0 var(--space-3);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.page-desc {
  max-width: 70ch;
  margin-bottom: var(--space-6);
  color: rgba(27,31,35,0.72);
  font-size: 1.0625rem;
}

/* ---------- 编号章节 ---------- */
.chapter {
  display: grid;
  grid-template-columns: minmax(90px, 0.32fr) 2fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding-block: var(--space-8);
  border-bottom: 1px solid var(--silver);
}

.chapter__num {
  font-family: var(--font-data);
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: rgba(197,200,204,0.55);
  -webkit-text-stroke: 2px var(--silver);
  user-select: none;
  overflow-wrap: normal;
}

.chapter__title {
  margin: 0 0 var(--space-3);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.15;
}

.chapter__lead {
  max-width: 70ch;
  color: rgba(27,31,35,0.75);
}

/* ---------- 章节头部 ---------- */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-5);
}

.section-head__tag {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- 卡片 ---------- */
.card {
  position: relative;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 4px;
  background: var(--orange);
  transition: width 0.28s ease;
}

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

.card:hover::after,
.card:focus-within::after {
  width: 100%;
}

.card__title {
  margin-bottom: var(--space-2);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
}

.card__text {
  margin: 0;
  color: rgba(27,31,35,0.75);
  font-size: 0.9375rem;
}

.card--accent {
  border-top: 6px solid var(--orange);
}

/* ---------- 栅格 ---------- */
.grid {
  display: grid;
  gap: var(--space-5);
}

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

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

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.625rem;
  border: 1px solid var(--silver);
  border-radius: var(--radius-sm);
  background: var(--gray-bg);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.tag--live {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.tag--live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
  animation: tag-pulse 1.6s ease-in-out infinite;
}

@keyframes tag-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.2); }
}

/* ---------- 状态行 ---------- */
.statusbar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-data);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--green);
}

.statusbar::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(46,125,50,0.16);
}

.statusbar--orange {
  color: var(--orange);
}

.statusbar--orange::before {
  box-shadow: 0 0 0 3px rgba(244,106,27,0.16);
}

/* ---------- 数据面板 ---------- */
.panel {
  padding: var(--space-5);
  border: 1px solid var(--silver);
  border-left: 5px solid var(--green);
  border-radius: var(--radius-md);
  background: var(--gray-bg);
  font-family: var(--font-data);
  font-size: 0.875rem;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.panel--hl {
  border-left-color: var(--orange);
}

/* ---------- 蓝图分隔线 ---------- */
.divider {
  position: relative;
  height: 1px;
  margin: var(--space-6) 0;
  background: var(--silver);
  border: 0;
}

.divider::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 8px;
  height: 5px;
  background: var(--orange);
}

/* ---------- 数据数字 ---------- */
.data-num {
  font-family: var(--font-data);
  font-size: 1rem;
  font-weight: 500;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}

.data-num--hl {
  color: var(--orange);
  font-weight: 700;
}

/* ---------- 图片占位 ---------- */
.img-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  min-height: 160px;
  background: var(--gray-bg);
  border: 2px dashed var(--silver);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.img-placeholder::before {
  content: "IMAGE";
  position: relative;
  z-index: 1;
  font-family: var(--font-data);
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  color: var(--silver);
}

.img-placeholder::after {
  content: "";
  position: absolute;
  inset: -35%;
  background: repeating-linear-gradient(45deg, transparent 0 18px, rgba(46,125,50,0.07) 18px 36px);
  pointer-events: none;
}

/* ---------- 坐标十字 ---------- */
.crosshair {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.crosshair::before,
.crosshair::after {
  content: "";
  position: absolute;
  background: var(--silver);
}

.crosshair::before {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
}

.crosshair::after {
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  transform: translateY(-50%);
}

/* ---------- 折叠面板 ---------- */
details {
  border: 2px solid var(--ink);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--space-4) var(--space-5);
}

details + details {
  margin-top: var(--space-3);
}

summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::before {
  content: "+";
  display: inline-block;
  margin-right: 0.5rem;
  color: var(--orange);
  font-family: var(--font-data);
  font-weight: 500;
}

details[open] summary::before {
  content: "-";
}

details[open] summary {
  margin-bottom: var(--space-3);
}

/* ---------- 数据表格 ---------- */
.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 2px solid var(--ink);
  font-size: 0.9375rem;
}

.table th,
.table td {
  padding: 0.625rem 0.875rem;
  border-bottom: 1px solid var(--silver);
  text-align: left;
}

.table th {
  background: var(--gray-bg);
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--ink);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.table tr:last-child td {
  border-bottom: 0;
}

.table .data-num {
  font-family: var(--font-data);
}

/* ---------- 滚动显现 ---------- */
html[data-js] [data-reveal]:not(.is-revealed) {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

html[data-js] [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

/* ---------- 响应式 ---------- */
@media (max-width: 920px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    margin: 0;
    padding: var(--space-4);
    background: var(--ink);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
    z-index: 90;
  }

  .site-nav[data-open="true"] {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .site-nav__link {
    display: block;
    padding: 0.75rem 1rem;
  }

  .site-nav__account {
    display: block;
    margin-top: var(--space-3);
    padding-top: var(--space-3);
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .site-header__action {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .grid-col-2,
  .grid-col-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .chapter {
    grid-template-columns: 1fr;
    gap: var(--space-3);
    padding-block: var(--space-6);
  }

  .chapter__num {
    font-size: 3rem;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .brand__slogan {
    display: none;
  }

  .site-footer::after {
    display: none;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ---------- 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  html[data-js] [data-reveal]:not(.is-revealed) {
    opacity: 1;
    transform: none;
  }

  .tag--live::before {
    animation: none;
  }
}
