/* =========================================================
   米兰赛事 · /assets/site.css
   轨道—窗口—刻度 · 未来体育数据终端
   ========================================================= */

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

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

body,
h1, h2, h3, h4, h5, p,
ul, ol, li, figure, blockquote {
  margin: 0;
}

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

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

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

a { color: inherit; }

:root {
  /* 色板 */
  --ink: #08090B;
  --panel: #15171D;
  --panel-soft: #0E1015;
  --navy: #1E2A3A;
  --red: #C8102E;
  --red-bright: #E1152F;
  --blue: #3D7BFF;
  --lime: #C8FF3D;
  --amber: #FFB020;
  --paper: #F5F4EF;
  --text: #C9CBD3;
  --steel: #A6A9B3;
  --dim: #5C6070;

  /* 线条与阴影 */
  --line: #252932;
  --line-soft: rgba(245, 244, 239, 0.08);
  --shadow-hard: 6px 6px 0 rgba(0, 0, 0, 0.62);
  --shadow-soft: 4px 4px 0 rgba(0, 0, 0, 0.5);

  /* 版面刻度 */
  --rail: 252px;
  --bar: 38px;

  /* 字体 */
  --font-display: "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  /* 动效 */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --sp: 0;
}

/* ---------- 基础排版 ---------- */

body {
  min-height: 100vh;
  padding-left: var(--rail);
  padding-top: var(--bar);
  background-color: var(--ink);
  background-image:
    repeating-linear-gradient(0deg, rgba(245, 244, 239, 0.035) 0 1px, transparent 1px 52px),
    repeating-linear-gradient(90deg, rgba(245, 244, 239, 0.035) 0 1px, transparent 1px 52px);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(680px 420px at 84% -6%, rgba(61, 123, 255, 0.16), transparent 72%),
    radial-gradient(560px 460px at 2% 106%, rgba(200, 16, 46, 0.18), transparent 70%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(245, 244, 239, 0.022) 0 1px, transparent 1px 3px);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.005em;
  color: var(--paper);
}

h1 { font-size: clamp(34px, 4.6vw, 60px); }
h2 { font-size: clamp(26px, 3vw, 40px); }
h3 { font-size: clamp(19px, 2vw, 26px); }
h4 { font-size: 18px; }

p { color: var(--text); }

a { text-decoration: none; color: var(--blue); }

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

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

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

#main-content {
  display: block;
  scroll-margin-top: calc(var(--bar) + 24px);
}

/* ---------- 工具类 ---------- */

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 40px);
}

.section {
  padding-block: clamp(36px, 5vw, 72px);
  border-bottom: 1px solid var(--line-soft);
}

.section__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.section__title {
  font-size: clamp(26px, 3vw, 38px);
}

.section__desc {
  max-width: 42em;
  font-size: 15px;
  color: var(--steel);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--red);
}

.prose {
  max-width: 40em;
  font-size: 16px;
  line-height: 1.78;
  color: var(--text);
}

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

.prose ul {
  list-style: none;
  margin-top: 1em;
  display: grid;
  gap: 8px;
}

.prose ul li {
  position: relative;
  padding-left: 20px;
  color: var(--text);
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 2px;
  background: var(--red);
}

/* ---------- 网格 ---------- */

.grid {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
}

.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: 7fr 5fr; }

/* ---------- 标签 ---------- */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  line-height: 1.4;
}

.tag--red { border-color: rgba(200, 16, 46, 0.55); background: rgba(200, 16, 46, 0.14); color: #FF8A99; }
.tag--blue { border-color: rgba(61, 123, 255, 0.5); background: rgba(61, 123, 255, 0.14); color: #9DBBFF; }
.tag--lime { border-color: rgba(200, 255, 61, 0.45); background: rgba(200, 255, 61, 0.1); color: var(--lime); }

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 2px solid transparent;
  background: var(--panel);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.1;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease),
              background-color 0.16s var(--ease), border-color 0.16s var(--ease), color 0.16s var(--ease);
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hard);
}

.btn:active { transform: translate(0, 0); box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.55); }

.btn--red { background: var(--red); color: var(--paper); }
.btn--red:hover { background: var(--red-bright); }

.btn--blue { background: var(--blue); color: #FFFFFF; }
.btn--blue:hover { background: #5B90FF; }

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--paper);
  box-shadow: none;
}
.btn--ghost:hover { border-color: var(--blue); color: #9DBBFF; box-shadow: var(--shadow-soft); }

/* ---------- 磁贴面板 ---------- */

.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(16px, 2vw, 24px);
  background: var(--panel);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.panel:hover {
  transform: translateY(-4px);
  border-color: var(--red);
  box-shadow: var(--shadow-hard);
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel__title {
  font-size: clamp(19px, 1.6vw, 23px);
  font-weight: 800;
}

/* ---------- 数据块 ---------- */

.stat {
  padding-left: 14px;
  border-left: 3px solid var(--red);
}

.stat__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--blue);
  letter-spacing: 0.02em;
}

.stat__label {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
}

/* ---------- 图片容器（页面阶段放占位图） ---------- */

.img-frame {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  border: 2px solid var(--line);
}

.img-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(8, 9, 11, 0.28) 0 1px, transparent 1px 4px),
    linear-gradient(200deg, rgba(200, 16, 46, 0.18), transparent 46%);
}

.img-frame--wide { aspect-ratio: 16 / 9; }
.img-frame--square { aspect-ratio: 1 / 1; }
.img-frame--panorama { aspect-ratio: 21 / 9; }

.img-frame__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 8px;
  background: var(--ink);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
}

/* ---------- 面包屑 ---------- */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-block: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  border-bottom: 1px solid var(--line-soft);
}

.breadcrumb__item { display: inline-flex; align-items: center; gap: 10px; color: var(--steel); }
.breadcrumb__item + .breadcrumb__item::before { content: "/"; color: var(--line); }
.breadcrumb__item a { color: var(--steel); transition: color 0.16s var(--ease); }
.breadcrumb__item a:hover { color: var(--blue); }
.breadcrumb__item[aria-current="page"] { color: var(--paper); }

/* ---------- 显现 ---------- */

.reveal-ready {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.52s var(--ease), transform 0.52s var(--ease);
}

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

/* =========================================================
   头部 · 品牌轨道 + 数据条
   ========================================================= */

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 11px 18px;
  background: var(--blue);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transform: translateY(-180%);
  transition: transform 0.18s var(--ease);
}

.skip-link:focus { transform: none; outline: 2px solid var(--paper); outline-offset: 3px; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 60;
  width: var(--rail);
  display: flex;
  flex-direction: column;
  padding-top: 14px;
  overflow-y: auto;
  overflow-x: hidden;
  background: linear-gradient(180deg, #0C0E13 0%, #08090B 62%);
  border-top: 3px solid var(--red);
  border-right: 2px solid var(--line);
}

/* --- 顶部数据条 --- */

.topbar {
  position: fixed;
  top: 0;
  left: var(--rail);
  right: 0;
  height: var(--bar);
  z-index: 55;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-inline: 20px;
  background: linear-gradient(90deg, #101218 0%, #0A0C10 70%);
  border-bottom: 2px solid var(--line);
}

.topbar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--red);
}

.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: calc(var(--sp) * 100%);
  background: linear-gradient(90deg, var(--blue), var(--lime));
  transition: width 0.12s linear;
}

.topbar__stream {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--steel);
  line-height: 1;
}

.topbar__dot {
  width: 7px;
  height: 7px;
  background: var(--lime);
  animation: pulse 2.6s var(--ease) infinite;
}

.topbar__meta {
  flex: 0 0 auto;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--dim);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.22; }
}

/* --- 品牌 --- */

.rail__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px 18px;
  border-bottom: 2px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--paper);
}

.brand__mark {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% 66%, 66% 100%, 0 100%);
}

.brand__text { display: block; min-width: 0; }

.brand__name {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--paper);
}

.brand__tag {
  display: block;
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--steel);
  line-height: 1.4;
}

/* --- 汉堡按钮 --- */

.nav-toggle {
  display: none;
  position: relative;
  flex: 0 0 auto;
  width: 46px;
  height: 40px;
  background: #141720;
  border: 2px solid var(--line);
  cursor: pointer;
  padding: 0;
  transition: border-color 0.16s var(--ease), background-color 0.16s var(--ease);
}

.nav-toggle:hover { border-color: var(--red); background: #191D27; }

.nav-toggle__bar {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--paper);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle__bar:nth-child(1) { top: 13px; }
.nav-toggle__bar:nth-child(2) { top: 19px; }
.nav-toggle__bar:nth-child(3) { top: 25px; }

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

/* --- 导航 --- */

.rail__nav {
  display: flex;
  flex-direction: column;
  padding-block: 10px 0;
}

.nav-list {
  display: flex;
  flex-direction: column;
}

.nav-list a {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  color: var(--steel);
  border-left: 3px solid transparent;
  border-bottom: 1px solid var(--line-soft);
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease),
              border-color 0.16s var(--ease);
}

.nav-list a:hover {
  color: var(--paper);
  background: #14161C;
  border-left-color: var(--blue);
}

.nav-list__idx {
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--dim);
  transition: color 0.16s var(--ease);
}

.nav-list a:hover .nav-list__idx { color: var(--blue); }

.nav-list__label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.nav-list a[aria-current="page"] {
  color: var(--paper);
  background: linear-gradient(90deg, rgba(200, 16, 46, 0.24), rgba(200, 16, 46, 0) 76%);
  border-left-color: var(--red);
}

.nav-list a[aria-current="page"] .nav-list__idx { color: var(--red); }

/* --- 版本磁贴 --- */

.rail__chip {
  margin-top: 10px;
  padding: 16px;
  border-top: 1px dashed rgba(245, 244, 239, 0.14);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid rgba(200, 255, 61, 0.45);
  background: rgba(200, 255, 61, 0.08);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.3;
  color: var(--lime);
}

.rail__note {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--steel);
}

/* --- 轨道底部 --- */

.rail__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-top: 2px solid var(--line);
}

.rail__foot .btn { width: 100%; }

.scroll-meter {
  display: flex;
  align-items: center;
  gap: 10px;
}

.scroll-meter__bar {
  flex: 1 1 auto;
  position: relative;
  height: 5px;
  background: #1B1E26;
  overflow: hidden;
}

.scroll-meter__bar i {
  display: block;
  width: calc(var(--sp) * 100%);
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--lime));
  transition: width 0.12s linear;
}

.scroll-meter__num {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--steel);
}

/* =========================================================
   页脚 · 数据铭牌
   ========================================================= */

.site-footer {
  position: relative;
  z-index: 1;
  background-color: #0A0B0F;
  background-image: repeating-linear-gradient(90deg, rgba(245, 244, 239, 0.045) 0 1px, transparent 1px 64px);
  border-top: 2px solid var(--line);
  color: var(--paper);
}

.site-footer::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg,
    var(--red) 0 22%,
    var(--blue) 22% 34%,
    var(--line) 34% 100%);
}

.footer__rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px clamp(16px, 3vw, 40px);
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 1.55fr 0.9fr;
  gap: clamp(20px, 3vw, 44px);
  padding: clamp(28px, 4vw, 52px) clamp(16px, 3vw, 40px);
  max-width: 1280px;
}

.footer__plate {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.footer__plate--brand {
  padding-left: 16px;
  border-left: 3px solid var(--red);
}

.footer__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  line-height: 1;
}

.footer__label::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--red);
}

.footer__brand {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.1;
  color: var(--paper);
}

.footer__text {
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
}

.footer__text--dim { color: var(--steel); }

.footer__list {
  display: flex;
  flex-direction: column;
}

.footer__list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text);
  border-bottom: 1px dashed rgba(245, 244, 239, 0.08);
}

.footer__k {
  flex: 0 0 auto;
  width: 38px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--blue);
}

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

.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--paper);
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.footer__links a::before {
  content: "→";
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--red);
  transition: transform 0.16s var(--ease);
}

.footer__links a:hover { color: var(--blue); border-bottom-color: var(--blue); }
.footer__links a:hover::before { transform: translateX(3px); }

.footer__cta { margin-top: 10px; align-self: flex-start; }

.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 16px clamp(16px, 3vw, 40px) 22px;
  border-top: 1px solid var(--line-soft);
}

.footer__icp,
.footer__copy,
.footer__ver {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--dim);
  line-height: 1.6;
}

.footer__copy { color: var(--steel); }

/* =========================================================
   响应式
   ========================================================= */

@media (max-width: 1023px) {
  body {
    padding-left: 0;
    padding-top: 0;
  }

  .site-header {
    position: sticky;
    top: 0;
    bottom: auto;
    width: 100%;
    height: auto;
    overflow: visible;
    padding-top: 0;
    border-right: 0;
    border-bottom: 2px solid var(--line);
    background: linear-gradient(180deg, #0C0E13 0%, #08090B 100%);
    z-index: 70;
  }

  .topbar {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    height: auto;
    padding: 9px 14px;
    gap: 12px;
    border-bottom: 1px solid var(--line-soft);
  }

  .topbar__stream { gap: 16px; }

  .topbar__item:nth-child(3) { display: none; }

  .topbar__meta { display: none; }

  .rail__brand { padding: 12px 14px; }

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

  .rail__nav {
    display: none;
    padding-block: 0;
  }

  [data-header][data-open="true"] .rail__nav { display: block; }

  .nav-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border-top: 1px solid var(--line);
  }

  .nav-list li { background: var(--panel-soft); }

  .nav-list a {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 14px 12px;
    border-left: 0;
    border-bottom: 0;
    border-top: 3px solid transparent;
    min-height: 62px;
    align-content: center;
  }

  .nav-list a:hover {
    background: #171A21;
    border-left-color: transparent;
    border-top-color: var(--blue);
  }

  .nav-list a[aria-current="page"] {
    background: #171A21;
    border-left-color: transparent;
    border-top-color: var(--red);
  }

  .rail__chip { padding: 14px; }

  .rail__foot { display: none; }

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

  .footer__plate--index { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  body { font-size: 15px; line-height: 1.72; }

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

  .footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .footer__plate--index { grid-column: auto; }

  .footer__plate--brand { padding-left: 14px; }

  .footer__base {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .footer__cta { align-self: stretch; }

  .breadcrumb { font-size: 10px; gap: 8px; }
}

@media (max-width: 420px) {
  .nav-list { grid-template-columns: minmax(0, 1fr); }
  .topbar__item:nth-child(2) { display: none; }
}

/* =========================================================
   降低动效
   ========================================================= */

@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;
    transition-delay: 0ms !important;
  }

  .topbar__dot { animation: none; opacity: 1; }

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

  .panel:hover,
  .btn:hover { transform: none; }
}
