/* ============================================================
   B体育赛事 — 共享站点样式 /assets/site.css
   ============================================================ */

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

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

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

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

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

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

a { color: inherit; }

table { border-collapse: collapse; width: 100%; }

/* ---------- 变量 ---------- */
:root {
  --night: #0B1D33;
  --night-deep: #06111F;
  --night-raise: #122A47;
  --cream: #F3E9DA;
  --mint: #27C99A;
  --teal: #137A62;
  --orange: #FF7A45;
  --yellow: #F7D35C;
  --grey: #A9B6C4;
  --fog: #F7FAFC;
  --red: #E05A4F;
  --ink: #1E1712;

  --line: rgba(169, 182, 196, 0.20);
  --line-strong: rgba(169, 182, 196, 0.40);
  --paper-line: rgba(30, 23, 18, 0.16);

  --font-display: "Barlow Condensed", "Oswald", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 3px;
  --dur: 180ms;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

/* ---------- 基础排版 ---------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--fog);
  background-color: var(--night);
  background-image:
    radial-gradient(1100px 560px at 10% -12%, rgba(39, 201, 154, 0.13), transparent 62%),
    radial-gradient(860px 480px at 94% 2%, rgba(255, 122, 69, 0.11), transparent 64%),
    repeating-linear-gradient(90deg, rgba(169, 182, 196, 0.045) 0 1px, transparent 1px 96px);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--fog);
}

h1 { font-size: clamp(2.4rem, 5vw, 5rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); }
h4 { font-size: 1.05rem; }

p { line-height: 1.7; }

small { font-size: 12.5px; color: var(--grey); }

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

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

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

/* ---------- 容器 ---------- */
.wrap,
.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(32px, 5vw, 64px); }
.section--tight { padding-block: clamp(20px, 3vw, 36px); }

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  transform: translateY(-180%);
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform var(--dur) var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: none;
  outline: 2px solid var(--fog);
  outline-offset: 2px;
}

/* ---------- 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--night-deep);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}

.site-header.is-stuck {
  box-shadow: 0 16px 38px rgba(3, 10, 20, 0.62);
  border-bottom-color: var(--line-strong);
}

.header-top {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(39, 201, 154, 0.12), transparent 46%, rgba(255, 122, 69, 0.12));
}

.header-top__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  padding-block: 9px;
  flex-wrap: wrap;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--fog);
  text-decoration: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 2px;
  background: var(--mint);
  color: var(--night);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  box-shadow: 0 0 0 1px rgba(39, 201, 154, 0.55), 0 0 16px rgba(39, 201, 154, 0.30);
  transition: box-shadow var(--dur) var(--ease);
}

.brand:hover .brand__mark {
  box-shadow: 0 0 0 1px rgba(39, 201, 154, 0.85), 0 0 24px rgba(39, 201, 154, 0.55);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--fog);
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.09em;
  color: var(--grey);
}

/* 三步提示 */
.header-top__flow {
  display: none;
  align-items: center;
  gap: 6px;
  margin-inline: auto;
}

.flow-chip {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--grey);
  white-space: nowrap;
}

.flow-chip:first-child {
  color: var(--mint);
  border-color: rgba(39, 201, 154, 0.45);
  background: rgba(39, 201, 154, 0.08);
}

.flow-chip:last-child {
  color: var(--orange);
  border-color: rgba(255, 122, 69, 0.45);
  background: rgba(255, 122, 69, 0.08);
}

.flow-arrow {
  font-size: 12px;
  line-height: 1;
  color: var(--grey);
  opacity: 0.65;
}

/* 更新状态 */
.header-top__meta {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--grey);
  white-space: nowrap;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(39, 201, 154, 0.18);
  animation: dotPulse 2.6s ease-in-out infinite;
}

@keyframes dotPulse {
  50% { box-shadow: 0 0 0 7px rgba(39, 201, 154, 0); }
}

/* 主导航行 */
.header-main { position: relative; }

.header-main__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
}

.header-main__label {
  flex: 0 0 auto;
  padding-right: 16px;
  border-right: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--grey);
  white-space: nowrap;
}

.site-nav { flex: 0 1 auto; }

.site-nav__list {
  display: flex;
  align-items: stretch;
  gap: 2px;
  flex-wrap: wrap;
}

.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 16px 14px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--fog);
  text-decoration: none;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 2px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 200ms var(--ease);
}

.site-nav__link:hover {
  color: var(--mint);
  background: rgba(39, 201, 154, 0.07);
}

.site-nav__link:hover::after { transform: scaleX(1); }

.site-nav__link[aria-current="page"] {
  color: var(--mint);
  background: linear-gradient(180deg, rgba(39, 201, 154, 0.14), rgba(39, 201, 154, 0));
}

.site-nav__link[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { margin-left: auto; flex: 0 0 auto; }

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  color: var(--fog);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.nav-toggle:hover {
  color: var(--mint);
  border-color: rgba(39, 201, 154, 0.55);
}

.nav-toggle__bars {
  display: grid;
  gap: 3px;
  width: 16px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 200ms var(--ease), opacity 160ms var(--ease);
}

.nav-toggle[aria-expanded="true"] {
  color: var(--mint);
  border-color: rgba(39, 201, 154, 0.6);
  background: rgba(39, 201, 154, 0.12);
}

.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); }

/* ---------- 按钮 ---------- */
.btn {
  --btn-bg: var(--orange);
  --btn-fg: #1A0E06;
  --btn-line: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--btn-line);
  border-radius: 2px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.38);
}

.btn:active { transform: none; }

.btn--sm { padding: 8px 14px; font-size: 14px; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--mint);
  --btn-line: rgba(39, 201, 154, 0.5);
}

.btn--ghost:hover {
  --btn-bg: rgba(39, 201, 154, 0.14);
  --btn-fg: #CFF7EA;
}

.btn--paper {
  --btn-bg: var(--cream);
  --btn-fg: var(--ink);
  --btn-line: rgba(30, 23, 18, 0.2);
}

/* ---------- 通用文本工具 ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mint);
}

.muted { color: var(--grey); }
.mono { font-family: var(--font-mono); }

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

.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.65;
  color: var(--fog);
}

.mark {
  padding: 1px 4px;
  border-radius: 2px;
  background: rgba(247, 211, 92, 0.18);
  border-bottom: 2px solid var(--yellow);
  color: var(--fog);
}

/* ---------- 章节标题组 ---------- */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 20px;
  margin-bottom: clamp(16px, 2.5vw, 28px);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.section-head > h2,
.section-head > h3 { margin-right: auto; }

/* ---------- 面包屑 ---------- */
.crumbs {
  padding-block: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--grey);
}

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

.crumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.crumbs li + li::before {
  content: "/";
  color: rgba(169, 182, 196, 0.5);
}

.crumbs a {
  color: var(--grey);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.crumbs a:hover { color: var(--mint); }

.crumbs [aria-current="page"] { color: var(--fog); }

/* ---------- 网格 ---------- */
.grid { display: grid; gap: clamp(14px, 2vw, 22px); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }

/* ---------- 面板 ---------- */
.panel {
  padding: clamp(16px, 2.2vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 42, 71, 0.55);
  box-shadow: inset 0 1px 0 rgba(247, 250, 252, 0.045), 0 10px 26px rgba(3, 10, 20, 0.35);
}

.panel--paper {
  background: var(--cream);
  border-color: var(--paper-line);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(3, 10, 20, 0.42);
}

.panel--paper h1,
.panel--paper h2,
.panel--paper h3,
.panel--paper h4,
.panel--paper strong { color: var(--ink); }

.panel--paper .eyebrow { color: var(--teal); }
.panel--paper .muted { color: rgba(30, 23, 18, 0.66); }

.panel--paper a {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--grey);
}

.tag--mint {
  background: var(--mint);
  border-color: transparent;
  color: var(--night);
  font-weight: 700;
}

.tag--orange {
  background: var(--orange);
  border-color: transparent;
  color: #1A0E06;
  font-weight: 700;
}

.tag--yellow {
  background: var(--yellow);
  border-color: transparent;
  color: var(--ink);
  font-weight: 700;
}

/* ---------- 图片容器（页面阶段放置图片） ---------- */
.img-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(142deg, rgba(19, 122, 98, 0.42), rgba(6, 17, 31, 0.92) 56%, rgba(255, 122, 69, 0.26));
}

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

.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(45deg, rgba(247, 250, 252, 0.055) 0 1px, transparent 1px 14px);
}

.img-frame--wide { aspect-ratio: 21 / 9; }
.img-frame--tall { aspect-ratio: 3 / 4; }
.img-frame--square { aspect-ratio: 1 / 1; }

.img-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--fog);
  background: linear-gradient(180deg, transparent, rgba(6, 17, 31, 0.92));
}

/* ---------- 横向标签条 ---------- */
.chipbar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-block: 10px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.chipbar__item {
  flex: 0 0 auto;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(18, 42, 71, 0.6);
  color: var(--grey);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.chipbar__item:hover { color: var(--fog); border-color: var(--line-strong); }

.chipbar__item[aria-current="page"],
.chipbar__item[aria-selected="true"] {
  background: var(--mint);
  border-color: transparent;
  color: var(--night);
  font-weight: 700;
}

/* ---------- 滚动进度 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--mint), var(--yellow) 55%, var(--orange));
  box-shadow: 0 0 10px rgba(39, 201, 154, 0.55);
}

/* ---------- 显现 ---------- */
html.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}

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

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 88px);
  background: var(--night-deep);
  border-top: 1px solid var(--line);
  color: var(--grey);
  font-size: 14px;
}

.site-footer::before {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--mint), var(--teal) 32%, transparent 62%, var(--orange));
  opacity: 0.75;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 46px);
  padding-block: clamp(34px, 5vw, 60px);
}

.footer-brand__note {
  max-width: 34ch;
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--grey);
}

.brand--footer .brand__mark { width: 34px; height: 34px; font-size: 17px; }

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

.footer-col__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mint);
  white-space: nowrap;
}

.footer-col__title::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--line);
}

.footer-col__note {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(169, 182, 196, 0.85);
}

.footer-list { display: grid; gap: 9px; }

.footer-list a {
  display: inline-block;
  color: var(--grey);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.footer-list a:hover {
  color: var(--fog);
  border-bottom-color: var(--mint);
}

.footer-steps__list { display: grid; gap: 8px; }

.footer-step a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(39, 201, 154, 0.09), transparent 70%);
  color: var(--fog);
  text-decoration: none;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.footer-step a:hover {
  border-color: var(--mint);
  transform: translateX(2px);
  background: linear-gradient(90deg, rgba(39, 201, 154, 0.2), transparent 78%);
}

.footer-step__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--orange);
}

.footer-step__label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-contact {
  display: grid;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.65;
}

.footer-contact__row {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.footer-contact__key {
  flex: 0 0 34px;
  color: rgba(169, 182, 196, 0.72);
  letter-spacing: 0.08em;
}

.footer-contact__value {
  color: var(--fog);
  word-break: break-word;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 18px 22px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--grey);
}

.footer-legal__copy { color: rgba(169, 182, 196, 0.85); }

.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal__links a {
  color: var(--grey);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.footer-legal__links a:hover {
  color: var(--mint);
  border-bottom-color: var(--mint);
}

/* ---------- 响应式 ---------- */
@media (min-width: 680px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 780px) {
  .header-top__flow { display: flex; }
}

@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1.35fr 1fr 1fr 1.25fr; gap: clamp(24px, 3vw, 44px); }
  .header-top__meta { display: flex; }
}

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

  .header-main__inner {
    padding-block: 10px;
    min-height: 54px;
  }

  .header-main__label {
    flex: 1 1 auto;
    padding-right: 0;
    border-right: 0;
    letter-spacing: 0.2em;
    font-size: 10.5px;
  }

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

  .header-cta { display: none; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 5;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    background: var(--night-deep);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.5);
    transition: max-height 260ms var(--ease), opacity 180ms var(--ease),
                transform 220ms var(--ease), visibility 0s linear 260ms;
  }

  .site-nav[data-open] {
    max-height: min(72vh, 520px);
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }

  .site-nav__list {
    flex-direction: column;
    padding: 6px var(--gutter) 16px;
  }

  .site-nav__link {
    display: block;
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }

  .site-nav__link::after { display: none; }

  .site-nav__link:hover { background: rgba(39, 201, 154, 0.08); }

  .site-nav__link[aria-current="page"] {
    padding-left: 12px;
    border-left: 3px solid var(--mint);
    background: rgba(39, 201, 154, 0.12);
  }

  .header-top__inner { gap: 12px; }
}

@media (max-width: 540px) {
  .brand__sub { display: none; }
  .brand__name { font-size: 17px; }
  .footer-legal { font-size: 11px; }
}

/* ---------- 减少动态 ---------- */
@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;
  }

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

  .btn:hover,
  .footer-step a:hover { transform: none; }

  .scroll-progress { transition: none; display: none; }
}

/* ---------- 打印 ---------- */
@media print {
  .site-header,
  .site-footer,
  .scroll-progress,
  .skip-link,
  .nav-toggle { display: none !important; }

  body {
    background: #fff !important;
    color: #1E1712 !important;
  }

  .panel {
    background: #fff !important;
    border-color: #999 !important;
    box-shadow: none !important;
  }
}
