/* ============================================================
   LOVE体育 · 共享外壳样式 /assets/site.css
   夜间球场指挥中心 · 左侧联赛索引轨道 + 悬浮胶囊导航
   ============================================================ */

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

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

body, h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg, video { display: block; max-width: 100%; }
table { border-collapse: collapse; width: 100%; }

/* ---------- tokens ---------- */
:root {
  --ink: #05130F;
  --field: #0A2119;
  --stand: #0E3327;
  --lime: #12F5A0;
  --mint: #7CFFC8;
  --red: #FF4D2E;
  --amber: #FFC53D;
  --paper: #E8FFF6;
  --mute: #8FB3A6;
  --line: #2A5C4A;

  --rail-w: 96px;
  --header-h: 72px;

  --hard: 6px 6px 0 #02100C;
  --hard-sm: 3px 3px 0 #02100C;
  --r-sm: 2px;
  --r-md: 4px;
  --r-lg: 10px;
  --r-pill: 999px;

  --font-title: "Barlow Condensed", "Oswald", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-body: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(.2, .7, .3, 1);
  --maxw: 1200px;
}

/* ---------- base ---------- */
body {
  min-height: 100vh;
  padding-left: var(--rail-w);
  padding-top: calc(var(--header-h) + 42px);
  background:
    radial-gradient(900px 480px at 88% -8%, rgba(18, 245, 160, .12), transparent 62%),
    radial-gradient(700px 420px at 14% 6%, rgba(255, 77, 46, .07), transparent 60%),
    var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#main-content { display: block; min-height: 60vh; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-title);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: .02em;
  color: var(--paper);
}

h1 { font-size: clamp(34px, 5vw, 64px); }
h2 { font-size: clamp(26px, 3.2vw, 40px); }
h3 { font-size: clamp(19px, 2vw, 26px); line-height: 1.2; }
h4 { font-size: 17px; line-height: 1.3; letter-spacing: .06em; }

p { font-size: inherit; }

strong { font-weight: 700; color: var(--paper); }

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

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ---------- skip link ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 300;
  padding: 11px 20px;
  transform: translate(-50%, -180%);
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .12em;
  border-radius: var(--r-sm);
  box-shadow: var(--hard-sm);
  transition: transform .22s var(--ease);
}

.skip-link:focus-visible {
  transform: translate(-50%, 0);
  outline-offset: 2px;
}

/* ============================================================
   左侧联赛索引轨道
   ============================================================ */
.brand-rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail-w);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 8px 18px;
  background: linear-gradient(180deg, var(--stand) 0%, var(--field) 46%, var(--ink) 100%);
  border-right: 2px solid var(--line);
  overflow: hidden;
}

.brand-rail::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(180deg, rgba(42, 92, 74, .55) 0 1px, transparent 1px 46px);
  opacity: .45;
}

.brand-rail__top {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  width: 100%;
}

.brand-rail__mark {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1;
  color: var(--lime);
  letter-spacing: .1em;
}

.brand-rail__label {
  writing-mode: vertical-rl;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--mute);
}

.brand-rail__list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  margin-top: 4px;
  overflow-y: auto;
  scrollbar-width: none;
}

.brand-rail__list::-webkit-scrollbar { width: 0; height: 0; }

.brand-rail__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 64px;
  padding: 8px 0;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  color: var(--mute);
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.brand-rail__item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 7px;
  bottom: 7px;
  width: 3px;
  border-radius: 2px;
  background: var(--lime);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform .2s var(--ease);
}

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

.brand-rail__item[aria-pressed="true"] {
  color: var(--lime);
  border-color: rgba(18, 245, 160, .55);
  background: rgba(18, 245, 160, .08);
}

.brand-rail__item[aria-pressed="true"]::before { transform: scaleY(1); }

.brand-rail__code {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
}

.brand-rail__note {
  font-size: 9px;
  line-height: 1;
  letter-spacing: .08em;
  opacity: .85;
}

.brand-rail__foot {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  width: 100%;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--mute);
}

.brand-rail__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(18, 245, 160, .16);
}

/* ============================================================
   悬浮胶囊头部
   ============================================================ */
.site-header {
  position: fixed;
  top: 14px;
  left: calc(var(--rail-w) + 16px);
  right: 16px;
  z-index: 130;
  transition: top .28s var(--ease);
}

.site-header.is-stuck { top: 8px; }

.header-progress {
  position: fixed;
  top: 0;
  left: var(--rail-w);
  right: 0;
  height: 3px;
  z-index: 140;
  background: rgba(42, 92, 74, .55);
  pointer-events: none;
}

.header-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--lime), var(--mint) 62%, var(--amber));
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
  padding: 10px 14px 10px 16px;
  background: linear-gradient(118deg, rgba(14, 51, 39, .97), rgba(10, 33, 25, .97));
  border: 2px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--hard);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow .28s var(--ease), border-color .28s var(--ease);
}

.site-header.is-stuck .site-header__inner {
  box-shadow: var(--hard-sm);
  border-color: rgba(18, 245, 160, .38);
}

/* ---------- brand ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
  box-shadow: var(--hard-sm);
  transform: rotate(-3deg);
  transition: transform .24s var(--ease);
}

.brand:hover .brand__mark { transform: rotate(0deg); }

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}

.brand__name {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--paper);
}

.brand__line {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ---------- nav ---------- */
.primary-nav {
  display: block;
  margin-left: auto;
}

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

.primary-nav__link {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .06em;
  color: var(--mute);
  white-space: nowrap;
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}

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

.primary-nav__link[aria-current="page"] {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(18, 245, 160, .16);
}

/* ---------- actions / buttons ---------- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 2px solid var(--line);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .08em;
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

.btn:hover { transform: translate(-1px, -1px); }
.btn:active { transform: translate(1px, 1px); box-shadow: none; }

.btn--solid {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  box-shadow: var(--hard-sm);
}

.btn--solid:hover {
  background: var(--mint);
  border-color: var(--mint);
}

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

.btn--ghost:hover {
  color: var(--mint);
  border-color: var(--mint);
  background: rgba(124, 255, 200, .08);
}

.btn--sm {
  padding: 9px 15px;
  font-size: 12px;
  letter-spacing: .06em;
}

/* ---------- mobile toggle ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  flex: none;
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  background: var(--field);
  transition: border-color .2s var(--ease);
}

.nav-toggle:hover { border-color: var(--lime); }

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
  transition: transform .24s var(--ease), opacity .24s var(--ease);
}

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

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: 96px;
  padding: 0 0 40px;
  background: linear-gradient(180deg, var(--field) 0%, var(--ink) 62%);
  border-top: 2px solid var(--line);
  color: var(--paper);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background-image: repeating-linear-gradient(90deg, var(--lime) 0 26px, transparent 26px 42px);
  opacity: .85;
}

.footer-shell {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 24px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.footer-brand__mark {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  border-radius: var(--r-md);
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .02em;
  box-shadow: var(--hard-sm);
  transform: rotate(-3deg);
  transition: transform .24s var(--ease);
}

.footer-brand__mark:hover { transform: rotate(0deg); }

.footer-brand__name {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .06em;
  color: var(--paper);
}

.footer-brand__line {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--mute);
}

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

.footer-col__heading {
  padding-bottom: 9px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mute);
}

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

.footer-col__link {
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  color: rgba(232, 255, 246, .86);
  transition: color .18s var(--ease), transform .18s var(--ease);
}

.footer-col__link:hover {
  color: var(--lime);
  transform: translateX(3px);
}

.footer-meta {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0 0;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--mute);
}

.footer-contact p {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.footer-contact__key {
  flex: none;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mute);
}

.footer-contact__val {
  color: var(--paper);
  word-break: break-word;
}

.footer-note {
  font-size: 12px;
  line-height: 1.8;
  color: var(--mute);
  padding-left: 16px;
  border-left: 2px solid var(--line);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--mute);
}

/* ---------- back to top ---------- */
.back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 115;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  box-shadow: var(--hard-sm);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .24s var(--ease), transform .24s var(--ease), background .2s var(--ease);
}

.back-top[data-visible] {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.back-top:hover { background: var(--mint); }
.back-top:active { transform: translate(1px, 1px); box-shadow: none; }

.back-top__icon {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}

/* ============================================================
   通用内容组件
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 56px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--lime);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--lime);
}

.rule {
  height: 1px;
  border: 0;
  background: var(--line);
}

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

.card {
  min-width: 0;
  padding: 22px;
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  background: var(--field);
  box-shadow: var(--hard);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}

.card:hover {
  border-color: rgba(18, 245, 160, .42);
  transform: translateY(-2px);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mute);
}

.tag--lime { color: var(--lime); border-color: rgba(18, 245, 160, .5); }
.tag--red { color: var(--red); border-color: rgba(255, 77, 46, .5); }
.tag--amber { color: var(--amber); border-color: rgba(255, 197, 61, .5); }

.data-figure {
  font-family: var(--font-mono);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.02em;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mute);
}

.breadcrumbs a {
  color: var(--mute);
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.breadcrumbs a:hover {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

.breadcrumbs__sep { color: var(--line); }

.prose {
  max-width: 72ch;
  font-size: 17px;
  line-height: 1.8;
  color: var(--paper);
}

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

.prose a {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.prose ul,
.prose ol {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.prose li {
  position: relative;
  padding-left: 18px;
}

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: var(--lime);
}

/* ---------- 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  background:
    radial-gradient(120% 100% at 18% 0%, rgba(18, 245, 160, .18), transparent 56%),
    linear-gradient(158deg, var(--stand), var(--ink));
  box-shadow: var(--hard);
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(124, 255, 200, .22);
  border-radius: 2px;
  pointer-events: none;
}

.media-frame::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 9%;
  bottom: 9%;
  width: 1px;
  background: rgba(124, 255, 200, .14);
  pointer-events: none;
}

.media-frame img {
  position: relative;
  z-index: 1;
  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;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .1em;
  color: var(--mint);
  background: linear-gradient(180deg, transparent, rgba(5, 19, 15, .92));
}

/* ---------- 滚动显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .32s var(--ease), transform .32s var(--ease);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1180px) {
  .primary-nav__link { padding: 8px 9px; font-size: 12px; }
  .brand__line { display: none; }
  .header-actions .btn--ghost { display: none; }
}

@media (max-width: 1100px) and (min-width: 901px) {
  :root { --rail-w: 78px; }
  .brand-rail__item { width: 56px; }
  .brand-rail__label { letter-spacing: .2em; }
}

@media (max-width: 900px) {
  :root {
    --rail-w: 0px;
    --header-h: 62px;
  }

  body {
    padding-left: 0;
    padding-top: calc(var(--header-h) + 34px);
  }

  .brand-rail { display: none; }

  .header-progress { left: 0; }

  .site-header {
    top: 10px;
    left: 10px;
    right: 10px;
  }

  .site-header.is-stuck { top: 6px; }

  .site-header__inner {
    gap: 10px;
    padding: 8px 10px 8px 12px;
    box-shadow: var(--hard-sm);
  }

  .brand__mark { width: 38px; height: 38px; font-size: 12px; }

  .nav-toggle { display: flex; }

  .header-actions { margin-left: auto; gap: 6px; }

  .primary-nav {
    position: fixed;
    top: calc(var(--header-h) + 22px);
    left: 10px;
    right: 10px;
    z-index: 129;
    display: none;
    margin: 0;
    padding: 10px;
    max-height: calc(100vh - var(--header-h) - 48px);
    overflow-y: auto;
    background: linear-gradient(158deg, var(--stand), var(--field));
    border: 2px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--hard);
  }

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

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

  .primary-nav__link {
    display: block;
    padding: 13px 14px;
    border-radius: var(--r-lg);
    font-size: 15px;
    letter-spacing: .04em;
  }

  .primary-nav__link[aria-current="page"] { box-shadow: none; }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .footer-meta { grid-template-columns: minmax(0, 1fr); }
  .footer-note { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 14px; }

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

@media (max-width: 620px) {
  .container { padding: 0 18px; }
  .section { padding: 40px 0; }

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

  .card { padding: 16px; box-shadow: var(--hard-sm); }
  .media-frame { box-shadow: var(--hard-sm); }

  .brand__name { font-size: 15px; }
  .brand__mark { width: 34px; height: 34px; font-size: 11px; }

  .header-actions .btn--sm { padding: 8px 11px; font-size: 11px; letter-spacing: .02em; }

  .footer-shell { padding: 40px 18px 0; }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .site-footer { margin-top: 64px; }
}

@media (max-width: 400px) {
  .brand__text { display: none; }
}

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .back-top {
    opacity: 1;
    transform: none;
  }
}
