/* ============================================================
   鸿博体育 · 共享站点样式 /assets/site.css
   夜场看台体系：墨底 + 荧光青数据线 + 信号橙实时
   ============================================================ */

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

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

body { margin: 0; }

h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd { margin: 0; }

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

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

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

a { color: inherit; text-decoration: none; }

table { border-collapse: collapse; }

/* ---------- 2. Tokens ---------- */
:root {
  --ink: #030B08;
  --panel: #071C15;
  --panel-2: #0A241B;
  --line: #0E3328;
  --cyan: #00E6B8;
  --mint: #8CFFE4;
  --orange: #FF7A1A;
  --ivory: #F4FFF9;
  --mist: #8FB3A7;

  --shell-w: 1320px;
  --gutter: 24px;

  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;

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

  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-deep: 0 30px 60px -30px rgba(0, 0, 0, .95);
  --hairline: 1px solid rgba(14, 51, 40, .9);
}

/* ---------- 3. Base & 中文排版 ---------- */
body {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: .01em;
  color: var(--ivory);
  background-color: var(--ink);
  background-image:
    radial-gradient(1100px 560px at 88% -8%, rgba(0, 230, 184, .13), transparent 62%),
    radial-gradient(820px 460px at -6% 4%, rgba(14, 51, 40, .85), transparent 68%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.012em;
  color: var(--ivory);
}
h1 { font-size: clamp(2.35rem, 5vw, 4rem); }
h2 { font-size: clamp(1.65rem, 3.1vw, 2.55rem); }
h3 { font-size: clamp(1.12rem, 1.7vw, 1.45rem); line-height: 1.32; }
h4 { font-size: 1.02rem; letter-spacing: 0; line-height: 1.45; }

p { margin: 0; }

a { color: var(--mint); transition: color .18s var(--ease), opacity .18s var(--ease); }
a:hover { color: var(--cyan); }

strong { font-weight: 700; }

#main-content { display: block; outline: none; }

/* ---------- 4. 焦点与可访问 ---------- */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 8px;
  z-index: 130;
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: var(--cyan);
  color: #02110C;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  transform: translateY(-180%);
  transition: transform .22s var(--ease);
}
.skip-link:focus { transform: translateY(0); color: #02110C; }

.is-hidden { display: none !important; }

/* ---------- 5. 布局原子 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding: clamp(44px, 6.4vw, 92px) 0; }
.section--tight { padding: clamp(30px, 4vw, 56px) 0; }

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

.stack { display: flex; flex-direction: column; gap: clamp(12px, 1.6vw, 20px); }

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

.divider {
  height: 1px;
  border: 0;
  margin: clamp(28px, 4vw, 52px) 0;
  background: linear-gradient(90deg, rgba(0, 230, 184, .5), rgba(14, 51, 40, .2) 60%, transparent);
}

/* ---------- 6. 文字组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(0, 230, 184, .7);
}

.lede {
  max-width: 62ch;
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.85;
  color: rgba(244, 255, 249, .8);
}

.muted { color: var(--mist); }

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

.display {
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: .92;
}

/* ---------- 7. 胶囊按钮 ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .02em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease),
    border-color .18s var(--ease), transform .18s var(--ease);
}
.pill--solid {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #02110C;
}
.pill--solid:hover {
  background: var(--mint);
  border-color: var(--mint);
  color: #02110C;
  transform: translateY(-1px);
}
.pill--ghost {
  background: rgba(0, 230, 184, .06);
  border-color: rgba(0, 230, 184, .4);
  color: var(--mint);
}
.pill--ghost:hover {
  background: rgba(0, 230, 184, .15);
  border-color: var(--cyan);
  color: var(--ivory);
  transform: translateY(-1px);
}
.pill--orange {
  background: var(--orange);
  border-color: var(--orange);
  color: #180800;
}
.pill--orange:hover {
  background: #FF9346;
  border-color: #FF9346;
  color: #180800;
}

/* ---------- 8. 卡片与标签 ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2.2vw, 28px);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(10, 36, 27, .92), rgba(4, 18, 13, .92));
  border: 1px solid rgba(14, 51, 40, .95);
  transition: border-color .2s var(--ease), transform .2s var(--ease),
    box-shadow .2s var(--ease);
}
.card:hover {
  border-color: rgba(0, 230, 184, .45);
  transform: translateY(-2px);
  box-shadow: var(--shadow-deep);
}
.card--accent {
  border-color: rgba(0, 230, 184, .5);
  background: linear-gradient(165deg, rgba(0, 230, 184, .12), rgba(4, 18, 13, .95) 62%);
}
.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card__title {
  margin: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.01em;
}
.card__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mist);
}
.card__body {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(244, 255, 249, .78);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 230, 184, .38);
  background: rgba(0, 230, 184, .08);
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag--live {
  border-color: rgba(255, 122, 26, .55);
  background: rgba(255, 122, 26, .12);
  color: #FFB27A;
}
.tag--live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  animation: livePulse 2s infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 122, 26, .6); }
  70% { box-shadow: 0 0 0 8px rgba(255, 122, 26, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 122, 26, 0); }
}

/* ---------- 9. 图片容器（无图也不塌陷） ---------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(14, 51, 40, .9);
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(0, 230, 184, .18), transparent 60%),
    linear-gradient(150deg, #0A241B, #04120D 62%, #030B08);
}
.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 4 / 5; }
.media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 10px 16px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--mist);
  background: linear-gradient(180deg, rgba(3, 11, 8, 0), rgba(3, 11, 8, .92));
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .45;
  background-image: repeating-linear-gradient(0deg, rgba(0, 230, 184, .05) 0 1px, transparent 1px 4px);
}

/* ---------- 10. 面包屑 ---------- */
.breadcrumb { padding: 18px 0 0; }
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--mist);
}
.breadcrumb__item { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: rgba(143, 179, 167, .5);
}
.breadcrumb__link { color: var(--mist); }
.breadcrumb__link:hover { color: var(--cyan); }

/* ---------- 11. 正文 ---------- */
.prose {
  max-width: 70ch;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(244, 255, 249, .86);
}
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 1.9em; font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 0; }
.prose ul > li { position: relative; padding-left: 20px; }
.prose ul > li + li { margin-top: .55em; }
.prose ul > li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .78em;
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
}
.prose strong { color: var(--mint); font-weight: 700; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0, 230, 184, .45); }
.prose blockquote {
  margin: 1.6em 0;
  padding: 16px 20px;
  border-left: 2px solid var(--cyan);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(7, 28, 21, .8);
  color: rgba(244, 255, 249, .8);
}

/* ---------- 12. 筛选 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(10, 36, 27, .7);
  color: var(--mist);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease),
    border-color .18s var(--ease);
}
.filter-chip:hover {
  border-color: rgba(0, 230, 184, .45);
  color: var(--mint);
}
.filter-chip[aria-pressed="true"] {
  background: var(--mint);
  border-color: var(--mint);
  color: #02110C;
  font-weight: 700;
}

/* ---------- 13. 时间线 / 统计 ---------- */
.timeline {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  padding-left: 22px;
}
.timeline__item { position: relative; padding-bottom: 26px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 12px rgba(0, 230, 184, .6);
}
.timeline__time {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--cyan);
}
.timeline__body {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(244, 255, 249, .8);
}

.stat { display: flex; flex-direction: column; gap: 6px; }
.stat__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--mint);
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mist);
}

/* ---------- 14. 站点头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(3, 11, 8, .92);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: var(--hairline);
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(3, 11, 8, .985);
  box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 1);
}

.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--mint) 55%, var(--orange));
  pointer-events: none;
}

.header-top { padding: 13px 0 11px; }
.header-top__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--ivory);
}
.brand:hover { color: var(--ivory); }

.brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: linear-gradient(160deg, var(--panel-2), var(--ink));
  border: 1px solid rgba(0, 230, 184, .28);
  box-shadow: inset 0 0 18px rgba(0, 230, 184, .12);
}
.brand__mark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transform: translate(-50%, -50%);
  box-shadow: 0 -6px 0 var(--mint), 0 6px 0 var(--orange);
}

.brand__text { display: flex; flex-direction: column; gap: 2px; }
.brand__name {
  font-size: 1.06rem;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1.15;
}
.brand__line {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  line-height: 1.4;
  color: var(--mist);
}

.header-top__note {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding-left: clamp(12px, 2vw, 26px);
  border-left: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: .03em;
  color: var(--mist);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex: 0 0 auto;
}

.header-bar {
  position: relative;
  border-top: 1px solid rgba(14, 51, 40, .75);
}
.header-bar__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 54px;
}

.nav { flex: 1 1 auto; min-width: 0; }
.nav__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
}
.nav__item { display: block; }
.nav__link {
  position: relative;
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  color: rgba(244, 255, 249, .82);
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav__link:hover {
  color: var(--mint);
  background: rgba(0, 230, 184, .09);
}
.nav__link[aria-current="page"] {
  color: #02110C;
  background: var(--mint);
  font-weight: 700;
}
.nav__link[aria-current="page"]:hover {
  background: var(--cyan);
  color: #02110C;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 8px 16px 8px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 230, 184, .4);
  background: rgba(0, 230, 184, .08);
  color: var(--mint);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease);
}
.nav-toggle:hover {
  background: rgba(0, 230, 184, .16);
  border-color: var(--cyan);
}
.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
  height: 14px;
  flex: 0 0 auto;
}
.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) 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(-6px) rotate(-45deg); }
.nav-toggle__label { line-height: 1; }

/* ---------- 15. 站点页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 110px);
  padding: clamp(44px, 5vw, 76px) 0 26px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel) 0%, #04120D 58%, var(--ink) 100%);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), rgba(0, 230, 184, .15) 45%, rgba(255, 122, 26, .5) 88%, transparent);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(30px, 4vw, 68px);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 44ch;
}

.footer__tagline {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.7;
  color: var(--ivory);
}
.footer__tagline::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 18px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.footer__contact {
  margin: 0;
  font-size: 13px;
  line-height: 1.95;
  color: var(--mist);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 36px);
}
.footer__col { min-width: 0; }

.footer__col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mint);
}
.footer__col-title::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px rgba(255, 122, 26, .8);
}

.footer__list { display: flex; flex-direction: column; gap: 10px; }

.footer__link {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: rgba(244, 255, 249, .78);
  transition: color .18s var(--ease), transform .18s var(--ease);
}
.footer__link:hover {
  color: var(--cyan);
  transform: translateX(3px);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: clamp(30px, 4vw, 52px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.footer__legal {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--mist);
}
.footer__note {
  flex: 1 1 280px;
  min-width: 0;
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1024px) {
  .header-top__note { display: none; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 1000px) {
  :root { --gutter: 18px; }

  .header-top { padding: 10px 0 9px; }
  .header-actions .pill { padding: 8px 13px; font-size: 12.5px; }

  .header-bar__inner { min-height: 50px; }

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

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 75;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    padding: 0 var(--gutter);
    background: linear-gradient(180deg, #08211A 0%, #04120D 78%, var(--ink) 100%);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-deep);
    transition: max-height .3s var(--ease), visibility .3s var(--ease), padding .3s var(--ease);
  }
  .nav[data-open="true"] {
    max-height: min(72vh, 560px);
    overflow-y: auto;
    visibility: visible;
    padding: 14px var(--gutter) 22px;
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__item { width: 100%; }
  .nav__link {
    display: block;
    width: 100%;
    padding: 13px 16px;
    border-radius: 14px;
    font-size: 15px;
  }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { font-size: 15.5px; line-height: 1.85; }

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

  .section__head { align-items: flex-start; }

  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .brand__mark { width: 34px; height: 34px; border-radius: 11px; }
  .brand__mark::before { width: 17px; }
  .brand__name { font-size: .98rem; }
  .brand__line { font-size: 9.5px; letter-spacing: .12em; }
  .header-actions .pill { padding: 7px 12px; font-size: 12px; }
  .header-actions .pill--ghost { display: none; }
  .footer__cols { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 17. 降低动效 ---------- */
@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;
  }
  .card:hover,
  .pill:hover,
  .footer__link:hover { transform: none; }
  .tag--live::before { animation: none; }
}
