/* =========================================================
   /assets/site.css — 新利体育中文站 共享样式
   草原看台 · 展览画册式骨架
   ========================================================= */

/* ---------- 1. 变量 ---------- */
:root {
  --c-green-deep: #123F2E;
  --c-green: #1F7A4D;
  --c-sky: #2E8FC4;
  --c-sky-deep: #1B6F9E;
  --c-sky-mist: #DCEFF7;
  --c-rice: #F7F4EA;
  --c-ink: #0B1F18;
  --c-orange: #E9762B;
  --c-silver: #B8C5CC;
  --c-coral: #C94C3D;
  --c-paper: #FFFFFF;

  --f-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --fs-12: 0.75rem;
  --fs-14: 0.875rem;
  --fs-16: 1rem;
  --fs-18: 1.125rem;
  --fs-24: 1.5rem;
  --fs-32: 2rem;
  --fs-48: 3rem;

  --page-max: 1240px;
  --gutter: clamp(1rem, 4vw, 2.75rem);

  --r-s: 4px;
  --r-m: 12px;
  --r-l: 22px;
  --r-pill: 999px;

  --line-soft: 1px solid rgba(11, 31, 24, 0.12);
  --line-light: 1px solid rgba(220, 239, 247, 0.22);

  --sh-soft: 0 18px 44px -26px rgba(11, 31, 24, 0.5);
  --sh-card: 0 10px 30px -20px rgba(11, 31, 24, 0.55);

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

/* ---------- 2. 重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}

body {
  margin: 0;
  background: var(--c-rice);
  color: var(--c-ink);
  font-family: var(--f-sans);
  font-size: var(--fs-18);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-locked { overflow: hidden; }

h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }

a {
  color: var(--c-sky-deep);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

button { font: inherit; color: inherit; }

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

::selection { background: rgba(46, 143, 196, 0.28); }

/* ---------- 3. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 300;
  padding: 0.7rem 1.15rem;
  background: var(--c-green-deep);
  color: var(--c-rice);
  font-size: var(--fs-14);
  font-weight: 700;
  border-radius: var(--r-pill);
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- 4. 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 820px; }

.section { padding-block: clamp(2.6rem, 6vw, 5rem); }

.section--tint {
  background: linear-gradient(180deg, var(--c-sky-mist) 0%, rgba(220, 239, 247, 0.35) 100%);
}

.section--deep {
  background: linear-gradient(150deg, #17553C 0%, var(--c-green-deep) 52%, #0D3126 100%);
  color: rgba(247, 244, 234, 0.88);
}
.section--deep .h2,
.section--deep .h3,
.section--deep .display { color: var(--c-rice); }
.section--deep .lede { color: rgba(247, 244, 234, 0.78); }
.section--deep .eyebrow { color: var(--c-sky-mist); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: clamp(1.4rem, 3vw, 2.4rem);
}

.divider-slant {
  height: clamp(26px, 6vw, 64px);
  background: var(--c-sky-mist);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.divider-slant--reverse { clip-path: polygon(0 0, 100% 0, 100% 100%); }
.divider-slant--deep { background: var(--c-green-deep); }

/* ---------- 5. 排版 ---------- */
.display {
  font-size: clamp(2.2rem, 6.4vw, 4.5rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--c-green-deep);
}

.h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--c-green-deep);
}

.h3 {
  font-size: clamp(1.12rem, 2vw, 1.5rem);
  line-height: 1.32;
  font-weight: 800;
  color: var(--c-green-deep);
}

.lede {
  max-width: 40ch;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.72;
  color: rgba(11, 31, 24, 0.78);
}

.prose { max-width: 38em; }
.prose p + p { margin-top: 1em; }
.prose a { color: var(--c-sky-deep); }
.prose strong { color: var(--c-green-deep); }

.mono {
  font-family: var(--f-mono);
  font-size: var(--fs-14);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--f-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.24em;
  color: var(--c-green);
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: linear-gradient(90deg, var(--c-orange), var(--c-sky));
}

.annotation {
  margin: 0;
  font-size: var(--fs-12);
  letter-spacing: 0.34em;
  line-height: 1;
  color: rgba(18, 63, 46, 0.58);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

/* ---------- 6. 网格 ---------- */
.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--asym { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: var(--fs-16);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--c-green); color: #fff; }
.btn--primary:hover { background: var(--c-green-deep); }

.btn--accent { background: var(--c-orange); color: var(--c-ink); }
.btn--accent:hover { background: #F08B47; }

.btn--ghost {
  background: transparent;
  color: var(--c-green-deep);
  border-color: rgba(18, 63, 46, 0.3);
}
.btn--ghost:hover { background: rgba(18, 63, 46, 0.07); border-color: var(--c-green-deep); }

.btn--quiet {
  background: rgba(220, 239, 247, 0.6);
  color: var(--c-sky-deep);
  padding: 0.5rem 1rem;
  font-size: var(--fs-14);
}
.btn--quiet:hover { background: var(--c-sky-mist); color: var(--c-green-deep); }

/* ---------- 8. 筛选 chip ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.95rem;
  border: 1px solid rgba(18, 63, 46, 0.22);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.55);
  color: var(--c-green-deep);
  font-size: var(--fs-14);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease);
}
.chip:hover { border-color: var(--c-sky); color: var(--c-sky-deep); }
.chip[aria-pressed="true"],
.chip.is-active {
  background: var(--c-green-deep);
  border-color: var(--c-green-deep);
  color: var(--c-rice);
}
.chip__count {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  opacity: 0.72;
}

/* ---------- 9. 标签 / 状态 ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.6rem;
  border: 1px solid rgba(46, 143, 196, 0.3);
  border-radius: var(--r-s);
  background: rgba(46, 143, 196, 0.14);
  color: var(--c-sky-deep);
  font-family: var(--f-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.04em;
}
.badge--accent {
  background: rgba(233, 118, 43, 0.15);
  border-color: rgba(233, 118, 43, 0.42);
  color: #A34C10;
}
.badge--ok {
  background: rgba(31, 122, 77, 0.13);
  border-color: rgba(31, 122, 77, 0.36);
  color: var(--c-green);
}
.badge--alert {
  background: rgba(201, 76, 61, 0.13);
  border-color: rgba(201, 76, 61, 0.42);
  color: #96291C;
}

/* ---------- 10. 卡片 / 玻璃面板 ---------- */
.card {
  position: relative;
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
  background: var(--c-paper);
  border: 1px solid rgba(11, 31, 24, 0.1);
  border-radius: var(--r-m);
  box-shadow: var(--sh-card);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
              border-color 0.22s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(46, 143, 196, 0.42);
  box-shadow: var(--sh-soft);
}

.card--glass {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.82), rgba(220, 239, 247, 0.55));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  margin-bottom: 0.55rem;
  font-family: var(--f-mono);
  font-size: var(--fs-12);
  color: rgba(11, 31, 24, 0.58);
}

.card__title {
  margin-bottom: 0.45rem;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.32;
  color: var(--c-green-deep);
}

.card__text {
  font-size: var(--fs-16);
  line-height: 1.68;
  color: rgba(11, 31, 24, 0.74);
}

.card__link {
  color: var(--c-sky-deep);
  font-weight: 700;
  text-decoration: none;
}
.card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.glass-panel {
  padding: clamp(1.2rem, 3vw, 2rem);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.84), rgba(220, 239, 247, 0.56));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--r-l);
  box-shadow: var(--sh-soft);
}

/* ---------- 11. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding-block: 1rem;
  border-bottom: var(--line-soft);
  font-size: var(--fs-14);
  color: rgba(11, 31, 24, 0.62);
}
.breadcrumb li { display: flex; align-items: center; gap: 0.5rem; }
.breadcrumb li + li::before { content: "/"; color: var(--c-silver); }
.breadcrumb a { color: var(--c-sky-deep); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: rgba(11, 31, 24, 0.8); font-weight: 600; }

/* ---------- 12. 图片容器 ---------- */
.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-m);
  background: linear-gradient(135deg, var(--c-sky-mist) 0%, #E9F3EA 56%, rgba(233, 118, 43, 0.18) 100%);
}
.media-frame > img,
.media-frame > picture > img,
.media-frame > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-frame__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0.6rem 0.9rem;
  background: linear-gradient(0deg, rgba(11, 31, 24, 0.75), transparent);
  color: var(--c-rice);
  font-family: var(--f-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.03em;
}

.media-frame__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 1rem;
  font-family: var(--f-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.2em;
  color: rgba(18, 63, 46, 0.45);
  text-align: center;
}

/* ---------- 13. 折叠面板 ---------- */
.accordion { border-top: var(--line-soft); }

.accordion__item { border-bottom: var(--line-soft); }

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1rem 0;
  background: none;
  border: 0;
  text-align: left;
  font-size: var(--fs-16);
  font-weight: 700;
  color: var(--c-green-deep);
  cursor: pointer;
}
.accordion__trigger::after {
  content: "+";
  font-family: var(--f-mono);
  font-size: var(--fs-18);
  line-height: 1;
  color: var(--c-orange);
  transition: transform 0.18s var(--ease);
}
.accordion__trigger[aria-expanded="true"]::after {
  content: "–";
  transform: rotate(180deg);
}

.accordion__panel {
  padding-bottom: 1.1rem;
  font-size: var(--fs-16);
  line-height: 1.72;
  color: rgba(11, 31, 24, 0.76);
}
.accordion__panel[hidden] { display: none; }

/* ---------- 14. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(247, 244, 234, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(18, 63, 46, 0.14);
}
.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--c-sky) 0%, var(--c-green) 48%, var(--c-orange) 100%);
}

.header-top {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding: 0.7rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem 1.5rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.brand__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--c-green-deep);
}

.brand__mark {
  flex: 0 0 auto;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--c-orange) 0%, var(--c-sky) 72%);
  transform: rotate(45deg);
  box-shadow: 0 0 0 3px rgba(31, 122, 77, 0.12);
}

.brand__name {
  font-size: clamp(1.12rem, 2.2vw, 1.4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand__note {
  padding-left: 1.45rem;
  font-size: 0.68rem;
  line-height: 1.4;
  letter-spacing: 0.26em;
  color: rgba(18, 63, 46, 0.6);
}

.primary-nav { display: flex; align-items: center; }

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  counter-reset: navitem;
}

.primary-nav__item { counter-increment: navitem; }

.primary-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.5rem 0.62rem;
  border-radius: var(--r-pill);
  color: var(--c-ink);
  font-size: var(--fs-14);
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.primary-nav__link::before {
  content: "0" counter(navitem);
  font-family: var(--f-mono);
  font-size: 0.62rem;
  font-weight: 400;
  color: var(--c-silver);
  transition: color 0.18s var(--ease);
}
.primary-nav__link:hover {
  color: var(--c-green-deep);
  background: rgba(31, 122, 77, 0.1);
}
.primary-nav__link:hover::before { color: var(--c-orange); }

.primary-nav__link[aria-current="page"] {
  color: #fff;
  background: linear-gradient(120deg, var(--c-green-deep), var(--c-green));
}
.primary-nav__link[aria-current="page"]::before { color: rgba(255, 255, 255, 0.62); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.85rem;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(18, 63, 46, 0.24);
  border-radius: var(--r-pill);
  color: var(--c-green-deep);
  font-size: var(--fs-14);
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.nav-toggle:hover { background: rgba(31, 122, 77, 0.12); border-color: var(--c-green); }

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 16px;
  height: 12px;
}
.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) 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(-5px) rotate(-45deg); }

.nav-toggle__text { line-height: 1; }

/* 联赛条带 */
.league-bar {
  position: relative;
  background: linear-gradient(100deg, #123F2E 0%, #17553C 46%, #12496B 100%);
  color: var(--c-rice);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.league-bar__inner {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding: 0.5rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.league-bar__label {
  flex: 0 0 auto;
  padding-right: 0.9rem;
  border-right: 1px solid rgba(220, 239, 247, 0.24);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  color: rgba(220, 239, 247, 0.7);
  white-space: nowrap;
}

.league-bar__scroll {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.15rem 0.1rem;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(220, 239, 247, 0.45) transparent;
}
.league-bar__scroll:focus-visible { outline: 2px solid var(--c-orange); outline-offset: 2px; }
.league-bar__scroll[data-drag="true"] { cursor: grabbing; scroll-snap-type: none; }
.league-bar__scroll::-webkit-scrollbar { height: 4px; }
.league-bar__scroll::-webkit-scrollbar-track { background: transparent; }
.league-bar__scroll::-webkit-scrollbar-thumb {
  background: rgba(220, 239, 247, 0.4);
  border-radius: var(--r-pill);
}

.league-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.34rem 0.82rem;
  border: 1px solid rgba(220, 239, 247, 0.28);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--c-rice);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  scroll-snap-align: start;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease),
              color 0.18s var(--ease);
}
.league-chip:hover {
  background: var(--c-sky);
  border-color: var(--c-sky);
  color: #fff;
}

.league-bar__aside {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-left: 0.9rem;
  border-left: 1px solid rgba(220, 239, 247, 0.24);
}

.league-quick {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.72rem;
  border: 1px solid rgba(247, 244, 234, 0.32);
  border-radius: var(--r-s);
  color: var(--c-rice);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease),
              color 0.18s var(--ease);
}
.league-quick:hover { background: rgba(247, 244, 234, 0.16); border-color: var(--c-rice); }

.league-quick--accent {
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: var(--c-ink);
}
.league-quick--accent:hover { background: #F08B47; border-color: #F08B47; color: var(--c-ink); }

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 2;
  height: 3px;
  background: linear-gradient(90deg, var(--c-orange), var(--c-sky) 52%, var(--c-green));
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
  transition: transform 0.1s linear;
  pointer-events: none;
}

/* ---------- 15. 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #17553C 0%, var(--c-green-deep) 48%, #0D3126 100%);
  color: rgba(247, 244, 234, 0.82);
}
.site-footer::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -55%;
  width: 60%;
  height: 360px;
  background: radial-gradient(closest-side, rgba(46, 143, 196, 0.35), transparent 72%);
  pointer-events: none;
}

.footer-top {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding: clamp(2.4rem, 5vw, 3.6rem) var(--gutter) clamp(1.8rem, 4vw, 2.6rem);
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, 0.85fr)) 1.25fr;
  gap: clamp(1.4rem, 3vw, 2.4rem);
}

.footer-brand { min-width: 0; }

.footer-brand__name {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--c-rice);
}

.footer-brand__desc {
  margin-top: 0.7rem;
  max-width: 26ch;
  font-size: 0.95rem;
  line-height: 1.72;
  color: rgba(247, 244, 234, 0.72);
}

.footer-brand__cta {
  display: inline-flex;
  align-items: center;
  margin-top: 1.2rem;
  padding: 0.5rem 1.05rem;
  border: 1px solid rgba(233, 118, 43, 0.8);
  border-radius: var(--r-pill);
  color: #FFD2B0;
  font-size: var(--fs-14);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease);
}
.footer-brand__cta:hover {
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: var(--c-ink);
}

.footer-nav { min-width: 0; }

.footer-nav__title {
  margin-bottom: 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed rgba(220, 239, 247, 0.26);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: rgba(220, 239, 247, 0.82);
}

.footer-nav__list li + li { margin-top: 0.55rem; }

.footer-nav__link {
  display: inline-block;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  color: rgba(247, 244, 234, 0.86);
  font-size: 0.93rem;
  text-decoration: none;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.footer-nav__link:hover { color: #fff; border-bottom-color: var(--c-orange); }

.footer-contact { min-width: 0; }

.footer-contact__list { display: grid; gap: 0.6rem; }

.footer-contact__item {
  display: grid;
  gap: 0.15rem;
  font-size: 0.9rem;
  line-height: 1.55;
}

.footer-contact__label {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: rgba(220, 239, 247, 0.62);
}

.footer-contact__value {
  color: rgba(247, 244, 234, 0.92);
  word-break: break-word;
}

.footer-contact__note {
  margin-top: 0.9rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(220, 239, 247, 0.18);
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(247, 244, 234, 0.62);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  background: var(--c-rice);
  border-top: 1px solid rgba(18, 63, 46, 0.14);
}

.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding: 1.1rem var(--gutter);
  font-size: 0.82rem;
  color: rgba(11, 31, 24, 0.7);
}

.footer-copy { margin: 0; }

.footer-legal { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; }

.footer-legal__link {
  color: var(--c-sky-deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.footer-legal__link:hover { color: var(--c-orange); border-bottom-color: currentColor; }

.footer-icp {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: rgba(11, 31, 24, 0.6);
}

/* ---------- 16. 入场动效 ---------- */
.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.has-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 17. 响应式 ---------- */
@media (max-width: 1120px) {
  .primary-nav__link { padding: 0.45rem 0.48rem; font-size: 0.82rem; }
  .primary-nav__link::before { font-size: 0.58rem; }
}

@media (max-width: 1080px) {
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  html { scroll-padding-top: 130px; }

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

  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: block;
    width: min(88vw, 340px);
    padding: 5.5rem 1.25rem 2rem;
    overflow-y: auto;
    background: var(--c-rice);
    border-left: 1px solid rgba(18, 63, 46, 0.16);
    box-shadow: -26px 0 60px -32px rgba(11, 31, 24, 0.65);
    transform: translateX(102%);
    transition: transform 0.3s var(--ease);
  }
  .primary-nav[data-open="true"] { transform: translateX(0); }

  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .primary-nav__link {
    width: 100%;
    justify-content: flex-start;
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid rgba(18, 63, 46, 0.12);
    border-radius: 0;
    font-size: var(--fs-16);
    white-space: normal;
  }
  .primary-nav__link[aria-current="page"] {
    background: linear-gradient(90deg, rgba(31, 122, 77, 0.18), transparent);
    box-shadow: inset 3px 0 0 var(--c-orange);
    color: var(--c-green-deep);
  }
  .primary-nav__link[aria-current="page"]::before { color: var(--c-orange); }
}

@media (max-width: 900px) {
  .grid--2,
  .grid--3,
  .grid--asym { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .league-bar__label { display: none; }
  .league-bar__inner { flex-wrap: wrap; gap: 0.5rem; padding-block: 0.55rem; }
  .league-bar__aside {
    order: 1;
    margin-left: auto;
    padding-left: 0;
    border-left: 0;
  }
  .league-bar__scroll { order: 2; flex: 1 1 100%; }
  .league-quick { font-size: 0.75rem; padding: 0.3rem 0.62rem; }
}

@media (max-width: 620px) {
  body { font-size: var(--fs-16); }
  .brand__note { display: none; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-bottom__inner { flex-direction: column; align-items: flex-start; }
  .divider-slant { clip-path: polygon(0 100%, 100% 22%, 100% 100%); }
}

/* ---------- 18. 可访问性 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .has-reveal [data-reveal] { opacity: 1 !important; transform: none !important; }
  .card:hover { transform: none; }
  .scroll-progress { transition: none; }
}
