/* ==========================================================================
   赢德体育 — 共享样式表 /assets/site.css
   侧边导览式布局 · 悬浮胶囊导航 · 红黑战术板
   ========================================================================== */

:root {
  --wd-red: #E01B2F;
  --wd-red-soft: #F0263B;
  --wd-red-deep: #A80E1E;
  --wd-black: #0B0C0E;
  --wd-gray-900: #17191D;
  --wd-gray-600: #4A4F57;
  --wd-gray-200: #D7DAE0;
  --wd-green: #39FF88;
  --wd-blue: #2F9BFF;
  --wd-amber: #FFB020;
  --wd-pink: #FFE9EC;
  --wd-white: #FFFFFF;

  --rail-w: 88px;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --r-pill: 999px;

  --line-dark: rgba(215, 218, 224, 0.12);
  --line-strong: rgba(215, 218, 224, 0.28);
  --text-dim: rgba(215, 218, 224, 0.62);
  --text-mid: rgba(215, 218, 224, 0.82);

  --shadow-glass: 0 18px 44px rgba(0, 0, 0, 0.46);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", "JetBrains Mono", "Roboto Mono", Consolas, "Liberation Mono",
    Menlo, "Courier New", monospace;
}

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

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

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

ol, ul { list-style: none; }

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

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

button { background: none; border: 0; cursor: pointer; }

a { color: inherit; }

/* ---------- 中文排版基座 ---------- */
body {
  background-color: var(--wd-black);
  color: var(--wd-gray-200);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.01em; }

h1, .display-1 {
  font-size: clamp(2.75rem, 8vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  font-weight: 900;
  color: var(--wd-white);
}

h2 { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 800; color: var(--wd-white); }

h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; color: var(--wd-white); }

p { max-width: 68ch; }

code, kbd, samp, .mono { font-family: var(--font-mono); }

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

/* ---------- 焦点可见 ---------- */
:focus-visible {
  outline: 2px solid var(--wd-blue);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- 布局容器 ---------- */
.shell {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}

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

.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

.divider {
  height: 1px;
  border: 0;
  background: var(--line-dark);
  margin: clamp(32px, 6vw, 72px) 0;
}

/* ---------- 章节 ---------- */
.section { padding: clamp(48px, 7vw, 96px) 0; }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.section__index {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wd-red);
}

.section__title {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  font-weight: 800;
  color: var(--wd-white);
}

/* ---------- 组件：按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
    border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.btn--primary {
  background-color: var(--wd-red);
  color: var(--wd-white);
}

.btn--primary:hover { background-color: var(--wd-red-soft); transform: translateY(-2px); }

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--wd-gray-200);
}

.btn--ghost:hover { border-color: var(--wd-blue); color: var(--wd-white); transform: translateY(-2px); }

/* ---------- 组件：标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-mid);
}

.tag--red { background-color: var(--wd-red); border-color: var(--wd-red); color: var(--wd-white); }
.tag--green { background-color: rgba(57, 255, 136, 0.14); border-color: rgba(57, 255, 136, 0.5); color: var(--wd-green); }
.tag--blue { background-color: rgba(47, 155, 255, 0.14); border-color: rgba(47, 155, 255, 0.5); color: var(--wd-blue); }
.tag--amber { background-color: rgba(255, 176, 32, 0.16); border-color: rgba(255, 176, 32, 0.5); color: var(--wd-amber); }

/* ---------- 组件：数据 ---------- */
.stat { display: flex; flex-direction: column; gap: 6px; }

.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--wd-white);
}

.stat__unit {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--wd-green);
}

.stat__label { font-size: 13px; letter-spacing: 0.06em; color: var(--text-dim); }

/* ---------- 组件：卡片 ---------- */
.card {
  position: relative;
  padding: clamp(20px, 2.4vw, 28px);
  background-color: var(--wd-gray-900);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.card:hover { transform: translateY(-4px); border-color: var(--wd-blue); }
.card:focus-within { border-color: var(--wd-blue); }

.card--data { border-left: 3px solid var(--wd-red); }
.card--media { padding: 0; overflow: hidden; }
.card--list { padding: 10px clamp(16px, 2vw, 24px); }

/* ---------- 组件：图片容器 ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-md);
  background-color: var(--wd-gray-900);
  background-image:
    linear-gradient(to right, rgba(215, 218, 224, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(215, 218, 224, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

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

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

.media-frame--tilt {
  clip-path: polygon(0 2.5%, 100% 0, 100% 97.5%, 0 100%);
  border-radius: var(--r-lg);
}

.media-frame__overlay {
  position: absolute;
  inset: auto 16px 16px 16px;
  padding: 14px 16px;
  background-color: rgba(11, 12, 14, 0.74);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-sm);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  color: var(--wd-white);
}

/* ---------- 组件：面包屑 ---------- */
.breadcrumb { font-size: 13px; }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
}

.breadcrumb__item::after { content: "/"; color: var(--wd-gray-600); }
.breadcrumb__item:last-child::after { content: none; }

.breadcrumb__link { color: var(--text-mid); text-decoration: none; }
.breadcrumb__link:hover { color: var(--wd-green); }

/* ---------- 组件：显现 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   头部：左侧品牌轨道 + 悬浮胶囊导航
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  justify-content: center;
  padding: 16px clamp(14px, 3vw, 44px);
  pointer-events: none;
}

.site-header > * { pointer-events: auto; }

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background-color: var(--wd-blue);
  color: var(--wd-white);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 0.18s var(--ease);
}

.skip-link:focus-visible { transform: translateY(0); outline-offset: 3px; }

/* 左侧品牌轨道 */
.brand-rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: var(--rail-w);
  padding: 22px 0 26px;
  background-color: var(--wd-red);
  background-image:
    linear-gradient(180deg, rgba(11, 12, 14, 0.22) 0%, rgba(11, 12, 14, 0) 32%, rgba(11, 12, 14, 0.3) 100%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 44px);
  pointer-events: auto;
}

.brand-rail__mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-rail__mark-cn {
  writing-mode: vertical-rl;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: var(--wd-white);
}

.brand-rail__mark-en {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.34em;
  color: rgba(255, 255, 255, 0.72);
}

.rail-nav__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.rail-nav__link {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 32px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}

.rail-nav__num { line-height: 1; }

.rail-nav__link:hover { background-color: rgba(11, 12, 14, 0.3); color: var(--wd-white); }

.rail-nav__link[aria-current="page"] {
  background-color: var(--wd-black);
  color: var(--wd-white);
}

.rail-nav__link::after {
  content: attr(data-label);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translate(-6px, -50%);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background-color: var(--wd-black);
  color: var(--wd-white);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s var(--ease), transform 0.16s var(--ease);
}

.rail-nav__link:hover::after,
.rail-nav__link:focus-visible::after { opacity: 1; transform: translate(0, -50%); }

.rail-meter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.rail-meter__label {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.66);
}

.rail-meter__track {
  position: relative;
  display: block;
  width: 4px;
  height: 118px;
  border-radius: var(--r-pill);
  background-color: rgba(11, 12, 14, 0.38);
  overflow: hidden;
}

.rail-meter__fill {
  position: absolute;
  inset: 0 0 auto 0;
  display: block;
  height: 0%;
  border-radius: var(--r-pill);
  background-color: var(--wd-green);
  transition: height 0.16s linear;
}

/* 悬浮胶囊导航条 */
.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  padding: 8px;
  background-color: rgba(11, 12, 14, 0.86);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 12px;
  border: 1px solid rgba(224, 27, 47, 0.5);
  border-radius: var(--r-pill);
  background-image: linear-gradient(115deg, rgba(224, 27, 47, 0.34), rgba(224, 27, 47, 0.06));
  text-decoration: none;
  white-space: nowrap;
}

.brand-pill__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--wd-red);
  box-shadow: 0 0 0 4px rgba(224, 27, 47, 0.22);
}

.brand-pill__name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--wd-white);
}

.brand-pill__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wd-green);
}

.nav-pill { display: flex; }

.nav-pill__list { display: flex; align-items: center; gap: 2px; }

.nav-pill__link {
  display: inline-block;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-mid);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}

.nav-pill__link:hover { background-color: rgba(224, 27, 47, 0.18); color: var(--wd-white); }

.nav-pill__link[aria-current="page"] {
  background-color: var(--wd-red);
  color: var(--wd-white);
}

/* 图标按钮（移动导航 / 检索） */
.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  color: var(--wd-gray-200);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.icon-btn:hover { border-color: var(--wd-blue); color: var(--wd-white); background-color: rgba(47, 155, 255, 0.12); }

.icon-btn__text { line-height: 1; }

.icon-btn__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 16px;
  height: 12px;
}

.icon-btn__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background-color: currentColor;
}

.nav-toggle { display: none; margin-left: auto; }

/* 站内检索 */
.search-dock { position: relative; }

.search-dock__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  display: none;
  width: min(420px, calc(100vw - 48px));
  padding: 16px;
  background-color: rgba(23, 25, 29, 0.98);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-glass);
}

.search-dock__panel[data-open] { display: block; }

.search-dock__label,
.footer-search__label {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.search-dock__input,
.footer-search__input {
  width: 100%;
  padding: 12px 14px;
  background-color: rgba(11, 12, 14, 0.9);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  color: var(--wd-white);
  font-size: 15px;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.search-dock__input::placeholder,
.footer-search__input::placeholder { color: var(--wd-gray-600); }

.search-dock__input:focus,
.footer-search__input:focus {
  outline: none;
  border-color: var(--wd-blue);
  box-shadow: 0 0 0 3px rgba(47, 155, 255, 0.24);
}

.search-dock__results,
.footer-search__results {
  margin-top: 12px;
  max-height: 320px;
  overflow-y: auto;
}

.footer-search__results { flex-basis: 100%; }

.search-group + .search-group { margin-top: 12px; }

.search-group__label {
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wd-blue);
}

.search-hit {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border-bottom: 1px solid var(--line-dark);
  color: var(--text-mid);
  text-decoration: none;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease);
}

.search-hit:hover { background-color: rgba(47, 155, 255, 0.12); color: var(--wd-white); }

.search-hit__type {
  flex: none;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--wd-green);
}

.search-hit__name { font-size: 15px; font-weight: 600; }

.search-hit__meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--wd-gray-600);
}

.search-hint,
.search-empty {
  padding: 10px 4px;
  font-size: 14px;
  color: var(--text-dim);
}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  margin-top: clamp(56px, 9vw, 120px);
  padding: clamp(48px, 6vw, 72px) 0 clamp(24px, 3vw, 36px);
  background-color: var(--wd-gray-900);
  background-image:
    linear-gradient(to right, rgba(215, 218, 224, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(215, 218, 224, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  border-top: 4px solid var(--wd-red);
  color: var(--wd-gray-200);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(28px, 4vw, 48px);
}

.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

.footer-col--brand { gap: 16px; }

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: var(--wd-white);
  line-height: 1.1;
}

.footer-brand__en {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--wd-red);
}

.footer-note {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dim);
}

.footer-title {
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wd-green);
}

.footer-list {
  display: grid;
  gap: 12px;
  font-size: 14px;
  color: var(--text-dim);
}

.footer-list a {
  color: var(--text-mid);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.footer-list a:hover { color: var(--wd-white); border-bottom-color: var(--wd-red); }

.footer-list--meta { font-family: var(--font-mono); font-size: 13px; line-height: 1.7; }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(32px, 5vw, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}

.footer-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  flex: 1 1 340px;
}

.footer-search .footer-search__label { margin-bottom: 0; flex: none; }

.footer-search__input { flex: 1 1 220px; width: auto; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-legal a { color: var(--text-mid); text-decoration: none; }
.footer-legal a:hover { color: var(--wd-green); }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }
}

@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col:nth-child(4) { grid-column: span 3; }
}

@media (max-width: 1023px) {
  .brand-rail { display: none; }

  .site-header { padding: 10px clamp(12px, 3vw, 24px); }

  .header-bar {
    width: 100%;
    justify-content: flex-start;
    padding: 7px 8px;
    border-radius: var(--r-md);
  }

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

  .nav-pill {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    padding: 10px;
    background-color: rgba(23, 25, 29, 0.98);
    border: 1px solid var(--line-dark);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-glass);
  }

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

  .nav-pill__list { flex-direction: column; align-items: stretch; gap: 4px; }

  .nav-pill__link { display: block; padding: 14px 16px; border-radius: var(--r-sm); }

  .brand-pill__tag { display: none; }

  .search-dock { margin-left: 0; }

  .search-dock__panel {
    position: fixed;
    left: clamp(12px, 4vw, 24px);
    right: clamp(12px, 4vw, 24px);
    bottom: 16px;
    top: auto;
    width: auto;
    max-height: 70vh;
    overflow-y: auto;
  }

  .grid-12 > [class^="col-"] { grid-column: span 12; }
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col:nth-child(4) { grid-column: span 2; }
}

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

  .footer-grid { grid-template-columns: 1fr; }
  .footer-col:nth-child(4) { grid-column: span 1; }

  .footer-base { flex-direction: column; align-items: flex-start; }

  .brand-pill { padding: 8px 14px 8px 10px; }
  .brand-pill__name { font-size: 15px; }
  .icon-btn { padding: 10px 14px; }
}

/* ==========================================================================
   动效偏好
   ========================================================================== */
@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;
  }

  .reveal { opacity: 1; transform: none; }
  .card:hover, .btn:hover { transform: none; }
}
