/* =========================================================
   NG体育入口 · 共享样式 /assets/site.css
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h, 132px) + 12px);
}

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

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

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

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

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

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

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #0B0D0C;
  --paper: #F7F5F0;
  --red: #D7261E;
  --red-deep: #A81B14;
  --deep: #0F2E25;
  --gold: #C99A3B;
  --gold-ink: #8A6416;
  --cool: #E6E8EA;
  --graphite: #2A2F33;
  --mist: #8B938F;
  --yellow: #F2C230;
  --safe: #2F7D5D;

  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --shell: 1220px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 26px;
  --hairline: 1px solid rgba(11, 13, 12, 0.1);
  --hairline-light: 1px solid rgba(247, 245, 240, 0.14);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 132px;
}

/* ---------- 3. 中文排版基底 ---------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1.06; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.5rem); line-height: 1.15; }
h3 { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.35; letter-spacing: -0.01em; }

p { overflow-wrap: break-word; }

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

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

.site-footer :focus-visible,
.livebar :focus-visible,
.card--ink :focus-visible,
.card--deep :focus-visible,
.card--accent :focus-visible { outline-color: var(--gold); }

/* ---------- 4. 文字与布局工具类 ---------- */
.h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 2.8vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--mist);
  text-transform: uppercase;
}
.numeric {
  font-family: var(--font-mono);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.muted { color: var(--mist); }
.lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.7;
  color: var(--graphite);
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(40px, 6vw, 84px); }
.section--tight { padding-block: clamp(26px, 4vw, 48px); }
.page-head { padding-block: clamp(24px, 4vw, 52px); }
.stack > * + * { margin-top: 1rem; }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.2;
  padding: 0.72em 1.3em;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.18s var(--ease),
    background-color 0.18s var(--ease),
    color 0.18s var(--ease),
    border-color 0.18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-deep); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--graphite); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(11, 13, 12, 0.26);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(11, 13, 12, 0.05); }
.btn--sm { padding: 0.5em 1em; font-size: 0.8125rem; }

/* ---------- 6. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(11, 13, 12, 0.08);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 0.65em 1.1em;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  font-size: 0.875rem;
  transform: translateY(-200%);
  transition: transform 0.18s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 3;
  pointer-events: none;
}
.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--red);
  transition: width 0.12s linear;
}

/* 6.1 比分条 */
.livebar {
  background: var(--ink);
  color: var(--paper);
}
.livebar__inner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 28px);
  padding-block: 6px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.livebar__inner::-webkit-scrollbar { display: none; }
.livebar__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  flex: none;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(247, 245, 240, 0.85);
}
.livebar__dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(215, 38, 30, 0.25);
}
.livebar__list {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.6vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.livebar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  white-space: nowrap;
  font-size: 0.8125rem;
}
.livebar__item + .livebar__item {
  padding-left: clamp(12px, 2.6vw, 30px);
  border-left: 1px solid rgba(247, 245, 240, 0.16);
}
.livebar__teams { color: rgba(247, 245, 240, 0.72); }
.livebar__score {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: -0.02em;
  color: #fff;
}
.livebar__meta {
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--mist);
}

/* 6.2 品牌说明条 */
.site-topline {
  background: var(--deep);
  color: rgba(247, 245, 240, 0.8);
}
.site-topline__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 7px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}
.site-topline__brand { font-weight: 500; color: rgba(247, 245, 240, 0.92); }
.site-topline__dot { color: var(--gold); padding-inline: 0.35em; }
.site-topline__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  color: rgba(247, 245, 240, 0.6);
}
.site-topline__sep { color: rgba(247, 245, 240, 0.24); }

/* 6.3 主导航行 */
.site-masthead {
  background: var(--paper);
  border-bottom: var(--hairline);
}
.site-masthead__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 36px);
  padding-block: 10px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.05rem, 2vw, 1.375rem);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand__mark {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 10px 3px 10px 3px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}
.brand__name { display: inline-block; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5em;
  padding: 0.5em 0.85em;
  border: 1px solid rgba(11, 13, 12, 0.22);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink);
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.nav-toggle:hover { border-color: var(--ink); background: rgba(11, 13, 12, 0.04); }
.nav-toggle__bars {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 10px;
  flex: none;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease), top 0.2s var(--ease);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 8px; }
.site-header[data-nav-open] .nav-toggle__bars::before { top: 4px; transform: rotate(45deg); }
.site-header[data-nav-open] .nav-toggle__bars::after { top: 4px; transform: rotate(-45deg); }
.nav-toggle__text { display: inline-block; }

.site-nav { margin-left: auto; }
.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.6vw, 8px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav__item { position: relative; }
.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 0.5em 0.75em;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0.75em;
  right: 0.75em;
  bottom: 0.22em;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s var(--ease);
}
.site-nav__link:hover,
.site-nav__link:focus-visible { color: var(--red); }
.site-nav__link:hover::after,
.site-nav__link:focus-visible::after { transform: scaleX(1); }
.site-nav__link[aria-current="page"] { color: var(--red); font-weight: 700; }
.site-nav__link[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { flex: none; }

/* 6.4 滚动压缩状态 */
.site-header[data-scrolled] .livebar__inner { padding-block: 3px; }
.site-header[data-scrolled] .livebar__meta { display: none; }

/* ---------- 7. 通用承载组件 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em;
  padding-block: clamp(14px, 2vw, 22px);
  font-size: 0.8125rem;
  color: var(--mist);
}
.breadcrumb a { color: var(--graphite); transition: color 0.18s var(--ease); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb__sep { color: rgba(11, 13, 12, 0.24); }

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
.bento > * { grid-column: span 12; }

.card {
  background: #fff;
  border: var(--hairline);
  border-radius: var(--radius);
  padding: clamp(16px, 2.4vw, 26px);
}
.card--soft { background: var(--cool); border-color: transparent; }
.card--ink { background: var(--ink); color: var(--paper); border-color: transparent; }
.card--deep { background: var(--deep); color: var(--paper); border-color: transparent; }
.card--accent { background: var(--red); color: #fff; border-color: transparent; }
.card--organic { border-radius: var(--radius-lg) var(--radius-sm) var(--radius-lg) var(--radius-sm); }

.media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cool);
}
.media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--wide { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }
.media--banner { aspect-ratio: 21 / 9; }
.media--organic { border-radius: var(--radius-lg) var(--radius-sm) var(--radius-lg) var(--radius-sm); }
.media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 16px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(to top, rgba(11, 13, 12, 0.78), rgba(11, 13, 12, 0));
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.28em 0.72em;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--cool);
  color: var(--graphite);
}
.chip--red { background: var(--red); color: #fff; }
.chip--gold { background: rgba(201, 154, 59, 0.18); color: var(--gold-ink); }
.chip--yellow { background: var(--yellow); color: #3A2C00; }
.chip--safe { background: rgba(47, 125, 93, 0.14); color: var(--safe); }
.chip--outline { background: transparent; border: 1px solid currentColor; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: #fff;
  border: var(--hairline);
  border-radius: 999px;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.4em 0.95em;
  border: 1px solid rgba(11, 13, 12, 0.16);
  border-radius: 999px;
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--graphite);
  cursor: pointer;
  transition:
    background-color 0.12s var(--ease),
    color 0.12s var(--ease),
    border-color 0.12s var(--ease);
}
.filter-chip:hover { border-color: var(--ink); }
.filter-chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  font-weight: 700;
}

.timeline {
  position: relative;
  display: grid;
  gap: clamp(14px, 2vw, 22px);
  margin: 0;
  padding: 0 0 0 28px;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--red), rgba(215, 38, 30, 0.12));
}
.timeline__item { position: relative; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 0.45em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--red);
}
.timeline__time {
  display: block;
  margin-bottom: 0.15em;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--red);
}

.stat { display: grid; gap: 4px; }
.stat__value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.stat__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.star-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.35em 0.8em;
  border: 1px solid rgba(11, 13, 12, 0.18);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--graphite);
  cursor: pointer;
  transition:
    border-color 0.18s var(--ease),
    color 0.18s var(--ease),
    background-color 0.18s var(--ease);
}
.star-toggle:hover { border-color: var(--gold); color: var(--gold-ink); }
.star-toggle[aria-pressed="true"] {
  background: rgba(201, 154, 59, 0.16);
  border-color: var(--gold);
  color: var(--gold-ink);
}
.star-toggle__icon { color: var(--gold); font-size: 0.875rem; line-height: 1; }

.prose {
  max-width: 68ch;
  font-size: 1.0625rem;
  line-height: 1.78;
}
.prose > * + * { margin-top: 1.05em; }
.prose h2 {
  margin-top: 1.8em;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}
.prose h3 {
  margin-top: 1.4em;
  font-size: 1.125rem;
}
.prose ul,
.prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.4em; }
.prose a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--red-deep); }

.tone-paper { background: var(--paper); }
.tone-cool { background: var(--cool); }
.tone-ink { background: var(--ink); color: var(--paper); }
.tone-deep { background: var(--deep); color: var(--paper); }

/* ---------- 8. 页脚 ---------- */
.site-footer {
  background: var(--deep);
  color: rgba(247, 245, 240, 0.8);
  border-top: 3px solid var(--red);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  padding-block: clamp(36px, 5.5vw, 68px);
}
.footer-brand { grid-column: span 5; min-width: 0; }
.footer-col { min-width: 0; }
.footer-col--browse { grid-column: span 2; }
.footer-col--support { grid-column: span 2; }
.footer-contact { grid-column: span 3; min-width: 0; }

.footer-brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}
.footer-brand__line {
  margin-top: 0.6em;
  max-width: 30ch;
  font-size: 0.9375rem;
  color: rgba(247, 245, 240, 0.66);
}
.footer-brand__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 1.2em;
  padding: 0.42em 0.9em;
  border-radius: 999px;
  background: rgba(201, 154, 59, 0.14);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.footer-brand__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.footer-col__title {
  margin-bottom: 0.9em;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.footer-col__list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-col__link {
  display: inline-block;
  padding: 0.22em 0;
  font-size: 0.9375rem;
  color: rgba(247, 245, 240, 0.76);
  transition: color 0.18s var(--ease), transform 0.18s var(--ease);
}
.footer-col__link:hover,
.footer-col__link:focus-visible {
  color: #fff;
  transform: translateX(3px);
}

.footer-contact__item {
  margin-bottom: 0.75em;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(247, 245, 240, 0.78);
}
.footer-contact__item:last-child { margin-bottom: 0; }
.footer-contact__key {
  display: block;
  margin-bottom: 0.15em;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(247, 245, 240, 0.4);
}
.footer-contact__phone {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 18px;
  border-top: var(--hairline-light);
  font-size: 0.8125rem;
  color: rgba(247, 245, 240, 0.5);
}
.footer-bottom__legal {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.footer-bottom__copy { letter-spacing: 0.04em; }
.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom__link {
  color: rgba(247, 245, 240, 0.66);
  transition: color 0.18s var(--ease);
}
.footer-bottom__link:hover,
.footer-bottom__link:focus-visible { color: #fff; }

/* ---------- 9. 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: clamp(12px, 3vw, 28px);
  bottom: clamp(12px, 3vw, 28px);
  z-index: 110;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(247, 245, 240, 0.18);
  background: var(--ink);
  color: var(--paper);
  font-size: 1.05rem;
  line-height: 1;
  box-shadow: 0 12px 26px -14px rgba(11, 13, 12, 0.85);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.2s var(--ease),
    transform 0.2s var(--ease),
    visibility 0.2s var(--ease),
    background-color 0.18s var(--ease);
}
.to-top[data-visible] {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover { background: var(--red); }

/* ---------- 10. 响应式 ---------- */
@media (min-width: 760px) {
  .span-4 { grid-column: span 4; }
  .span-5 { grid-column: span 5; }
  .span-6 { grid-column: span 6; }
  .span-7 { grid-column: span 7; }
  .span-8 { grid-column: span 8; }
  .span-12 { grid-column: span 12; }
  .bento__main { grid-column: span 7; }
  .bento__side { grid-column: span 5; }
}

@media (max-width: 1080px) {
  .site-masthead__inner {
    flex-wrap: wrap;
    row-gap: 10px;
    padding-block: 10px;
  }
  .brand { order: 1; margin-right: auto; }
  .header-cta { order: 2; }
  .nav-toggle { order: 3; display: inline-flex; }
  .site-nav {
    order: 4;
    flex: 1 0 100%;
    width: 100%;
    margin-left: 0;
    display: none;
    padding-top: 6px;
    border-top: var(--hairline);
  }
  .site-header[data-nav-open] .site-nav { display: block; }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav__item + .site-nav__item { border-top: 1px solid rgba(11, 13, 12, 0.07); }
  .site-nav__link {
    display: block;
    padding: 0.72em 0.6em;
    border-radius: var(--radius-sm);
  }
  .site-nav__link::after { display: none; }
  .site-nav__link[aria-current="page"] { background: rgba(215, 38, 30, 0.08); }
  .site-topline__meta { display: none; }
  .site-header[data-scrolled] .site-topline { display: none; }
}

@media (max-width: 960px) {
  .footer-brand { grid-column: 1 / -1; }
  .footer-col--browse,
  .footer-col--support { grid-column: span 6; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .header-cta { font-size: 0.75rem; padding: 0.5em 0.85em; }
  .site-topline__inner { font-size: 0.6875rem; }
  .livebar__meta { display: none; }
  .footer-grid { gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .filter-bar { border-radius: var(--radius); }
}

/* ---------- 11. 动效降级 ---------- */
@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;
  }
  .btn:hover,
  .footer-col__link:hover { transform: none; }
  .to-top { transform: none; }
}
