/* ============================================================
   盈嘉体育赛场 · 共享样式 /assets/site.css
   夜场看台屏幕 + 蓝图网格 + 记分牌字体体系
   ============================================================ */

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

html {
  background: #06120E;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

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

ul, ol { padding: 0; }

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

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

button { background: none; border: 0; }

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

/* ---------- 2. Tokens ---------- */
:root {
  /* 色彩：深绿为骨，暖橙为锚，黄红仅作状态 */
  --ink:          #06120E;
  --surface:      #0E2A21;
  --line:         #2F6B54;
  --cream:        #F4F1EA;
  --orange:       #FF7A1A;
  --orange-deep:  #C2500C;
  --yellow:       #F2C230;
  --red:          #E0382F;
  --muted:        #8FA79B;
  --edge:         #FFD9B0;

  /* 承载色 */
  --ink-soft:     rgba(6, 18, 14, .82);
  --surface-soft: rgba(14, 42, 33, .86);
  --hairline:     rgba(47, 107, 84, .55);
  --hairline-dim: rgba(47, 107, 84, .28);

  /* 形状 */
  --r-pill: 999px;
  --r-card: 16px;
  --r-panel: 20px;
  --bw: 2px;
  --shadow-hard:    6px 6px 0 rgba(0, 0, 0, .55);
  --shadow-hard-sm: 3px 3px 0 rgba(0, 0, 0, .5);
  --shadow-lift:    0 14px 34px rgba(0, 0, 0, .5);

  /* 尺度 */
  --gutter: 16px;
  --maxw:   1240px;
  --gap:    24px;

  /* 字体栈 —— 全部系统字体，无远程加载 */
  --font-display: "Impact", "Haettenschweiler", "Arial Narrow", -apple-system,
                  BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
                  "Microsoft YaHei", sans-serif;
  --font-body:    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
                  "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --font-mono:    ui-monospace, SFMono-Regular, Menlo, Consolas,
                  "Liberation Mono", "Courier New", monospace;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

@media (min-width: 1200px) {
  :root { --gutter: 48px; --maxw: 1320px; }
}

/* ---------- 3. 夜场底板：网格 + 光晕 + 噪点 ---------- */
body {
  position: relative;
  min-height: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--cream);
  padding-top: 88px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(780px 540px at 84% -8%, rgba(255, 122, 26, .16), transparent 68%),
    radial-gradient(620px 480px at 2% 104%, rgba(255, 122, 26, .09), transparent 70%),
    linear-gradient(to right,  rgba(47, 107, 84, .16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(47, 107, 84, .16) 1px, transparent 1px),
    var(--ink);
  background-size: auto, auto, 96px 96px, 96px 96px, auto;
  background-repeat: no-repeat, no-repeat, repeat, repeat, no-repeat;
  animation: glow-breathe 16s ease-in-out infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(244, 241, 234, .017) 0 1px,
    transparent 1px 4px
  );
}

@keyframes glow-breathe {
  0%, 100% { opacity: .94; }
  50%      { opacity: 1; }
}

/* 让内容层浮在网格之上 */
#main-content,
.site-footer {
  position: relative;
  z-index: 1;
}

/* ---------- 4. 基础排版 ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.01em;
}

a { color: var(--edge); text-decoration: none; }
a:hover { color: var(--orange); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 800; color: var(--cream); }

::selection {
  background: var(--orange);
  color: #180A00;
}

/* 焦点环：深色底统一用高亮描边色 */
:focus-visible {
  outline: 3px solid var(--edge);
  outline-offset: 2px;
  border-radius: 6px;
}

/* 四级粗窄体阶梯 */
.display-xl,
.display-lg,
.display-md,
.display-sm {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--cream);
}

.display-xl { font-size: clamp(48px, 11vw, 96px); line-height: .94; }
.display-lg { font-size: clamp(36px, 7vw, 64px);  line-height: 1; }
.display-md { font-size: clamp(26px, 4.4vw, 40px); line-height: 1.08; }
.display-sm { font-size: clamp(20px, 3vw, 28px);  line-height: 1.16; }

.annotation {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.annotation-vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: .3em;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--line);
}

.lead {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(244, 241, 234, .8);
  max-width: 56ch;
}

/* ---------- 5. 容器 / 网格 / 分节 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}

.section { padding: 40px 0; }

@media (min-width: 768px) {
  .section { padding: 56px 0; }
}

.section-head { margin-bottom: 28px; }

.section-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 4.4vw, 40px);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--cream);
}

.section-lead {
  margin-top: 12px;
  max-width: 56ch;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(244, 241, 234, .78);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}

.rule {
  height: 1px;
  border: 0;
  margin: 28px 0;
  background: linear-gradient(90deg, var(--hairline), transparent);
}

/* ---------- 6. 正文栏 ---------- */
.prose { max-width: 62ch; }

.prose h2 {
  font-size: clamp(22px, 3.2vw, 28px);
  line-height: 1.3;
  margin: 2.2em 0 .6em;
}

.prose h3 {
  font-size: 18px;
  margin: 1.8em 0 .5em;
}

.prose p,
.prose li {
  color: rgba(244, 241, 234, .86);
}

.prose ul,
.prose ol {
  padding-left: 1.25em;
  margin: 0 0 1.2em;
}

.prose li { margin-bottom: .5em; }

/* ---------- 7. 卡片 / 状态 / 面板 ---------- */
.card {
  position: relative;
  padding: 20px;
  border: var(--bw) solid var(--line);
  border-radius: var(--r-card);
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(255, 122, 26, .1), transparent 60%),
    linear-gradient(180deg, var(--surface-soft), var(--ink-soft));
  box-shadow: var(--shadow-hard-sm);
}

.card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.card-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.card-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .06em;
  white-space: nowrap;
}

.card-body {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(244, 241, 234, .8);
}

.panel {
  border: var(--bw) solid var(--line);
  border-radius: var(--r-panel);
  background: rgba(6, 18, 14, .6);
  padding: 18px 20px;
}

/* 比分条 */
.score {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--orange);
  line-height: .95;
}

.score-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-variant-numeric: tabular-nums;
}

/* 状态点 */
.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--muted);
  box-shadow: 0 0 0 4px rgba(143, 167, 155, .16);
  flex: 0 0 auto;
}

.status-dot[data-state="live"]  { background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 122, 26, .2); }
.status-dot[data-state="warn"]  { background: var(--yellow); box-shadow: 0 0 0 4px rgba(242, 194, 48, .18); }
.status-dot[data-state="block"] { background: var(--red);    box-shadow: 0 0 0 4px rgba(224, 56, 47, .2); }
.status-dot[data-state="muted"] { background: var(--muted);  box-shadow: 0 0 0 4px rgba(143, 167, 155, .14); }

/* 状态胶囊 */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid currentColor;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
  color: var(--muted);
  background: rgba(143, 167, 155, .08);
}

.status-pill[data-state="live"]  { color: var(--orange); background: rgba(255, 122, 26, .12); }
.status-pill[data-state="warn"]  { color: var(--yellow); background: rgba(242, 194, 48, .1); }
.status-pill[data-state="block"] { color: var(--red);    background: rgba(224, 56, 47, .12); }
.status-pill[data-state="muted"] { color: var(--muted);  background: rgba(143, 167, 155, .08); }

/* 标签 */
.tag,
.chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--edge);
  background: rgba(47, 107, 84, .18);
}

.chip[data-active] {
  border-color: var(--orange);
  color: #180A00;
  background: var(--orange);
}

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: var(--bw) solid #180A00;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .55);
  transition: transform .15s ease, box-shadow .15s ease,
              background-color .2s ease, color .2s ease, border-color .2s ease;
}

.btn-sm { padding: 9px 16px; font-size: 13px; }

.btn-primary {
  background: var(--orange);
  color: #180A00;
}

.btn-primary:hover {
  background: var(--edge);
  color: #180A00;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, .55);
}

.btn-primary:active {
  background: var(--orange-deep);
  color: var(--cream);
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 rgba(0, 0, 0, .55);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--line);
  box-shadow: 4px 4px 0 rgba(47, 107, 84, .35);
}

.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(47, 107, 84, .4);
}

.btn-ghost:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 rgba(47, 107, 84, .4);
}

/* ---------- 9. 面包屑 ---------- */
.breadcrumbs { margin: 0 0 24px; }

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
}

.breadcrumb-list li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line);
}

.breadcrumb-list a {
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.breadcrumb-list a:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.breadcrumb-list [aria-current="page"] { color: var(--cream); }

/* ---------- 10. 图片容器（页面阶段使用） ---------- */
.image-frame {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: var(--bw) solid var(--line);
  border-radius: var(--r-card);
  background:
    radial-gradient(120% 95% at 72% 0%, rgba(255, 122, 26, .22), transparent 62%),
    linear-gradient(180deg, #0E2A21, #06120E);
}

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

.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(244, 241, 234, .035) 0 1px,
    transparent 1px 3px
  );
}

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

.image-frame-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
}

/* ---------- 11. 显现与返回顶部 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s ease, transform .5s ease;
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.to-top {
  position: fixed;
  right: var(--gutter);
  bottom: var(--gutter);
  z-index: 70;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: var(--bw) solid var(--orange);
  border-radius: 14px;
  background: rgba(6, 18, 14, .92);
  color: var(--orange);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease,
              background-color .2s ease, color .2s ease;
}

.to-top[data-visible] {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--orange);
  color: #180A00;
}

/* ============================================================
   12. 悬浮胶囊页头
   ============================================================ */
.skip-link {
  position: absolute;
  left: 50%;
  top: 10px;
  z-index: 120;
  transform: translate(-50%, -200%);
  padding: 10px 18px;
  border: var(--bw) solid #180A00;
  border-radius: var(--r-pill);
  background: var(--orange);
  color: #180A00;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  pointer-events: auto;
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
  color: #180A00;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 14px var(--gutter) 0;
  pointer-events: none;
}

.header-shell {
  position: relative;
  pointer-events: auto;
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 12px 9px 14px;
  border: var(--bw) solid var(--line);
  border-radius: var(--r-pill);
  background:
    radial-gradient(120% 200% at 92% 0%, rgba(255, 122, 26, .16), transparent 62%),
    linear-gradient(180deg, rgba(14, 42, 33, .97), rgba(6, 18, 14, .94));
  box-shadow: var(--shadow-lift), inset 0 1px 0 rgba(255, 217, 176, .1);
  transition: padding .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.header-shell[data-condensed] {
  padding-top: 5px;
  padding-bottom: 5px;
  border-color: var(--hairline);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 217, 176, .08);
}

.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--cream);
  text-decoration: none;
  padding: 2px 0;
}

.header-brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--orange);
  color: #180A00;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .02em;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .55);
}

.header-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
  min-width: 0;
}

.header-brand-text {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .01em;
  white-space: nowrap;
}

.header-brand-line {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  color: var(--muted);
  white-space: nowrap;
  transition: opacity .25s ease;
}

.header-shell[data-condensed] .header-brand-line { opacity: .45; }

.header-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.header-nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.header-nav-list::-webkit-scrollbar { display: none; }

.header-nav-link {
  display: inline-block;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.header-nav-link:hover {
  color: var(--cream);
  border-color: var(--line);
}

.header-nav-link[aria-current="page"] {
  color: #180A00;
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 122, 26, .18);
}

.header-nav-link[aria-current="page"]:hover { color: #180A00; }

.header-utility {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.header-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--muted);
  white-space: nowrap;
}

.header-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(224, 56, 47, .22);
  animation: live-pulse 2.4s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .45; }
}

.header-utility-link {
  padding: 6px 9px;
  border-radius: var(--r-pill);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}

.header-utility-link:hover {
  color: var(--cream);
  background: rgba(47, 107, 84, .3);
}

.header-cta {
  display: inline-block;
  padding: 9px 16px;
  border: var(--bw) solid #180A00;
  border-radius: var(--r-pill);
  background: var(--orange);
  color: #180A00;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .6);
  transition: transform .15s ease, box-shadow .15s ease,
              background-color .2s ease, color .2s ease;
}

.header-cta:hover {
  background: var(--edge);
  color: #180A00;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .6);
}

.header-cta:active {
  background: var(--orange-deep);
  color: var(--cream);
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 rgba(0, 0, 0, .6);
}

.header-cta-ghost {
  display: inline-block;
  padding: 8px 14px;
  border: var(--bw) solid var(--line);
  border-radius: var(--r-pill);
  color: var(--edge);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.header-cta-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(255, 122, 26, .08);
}

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  padding: 0;
  border: var(--bw) solid var(--line);
  border-radius: 12px;
  background: rgba(6, 18, 14, .72);
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}

.nav-toggle:hover { border-color: var(--orange); }

.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--cream);
  transform: translateX(-50%);
  transition: transform .22s ease, opacity .18s ease, top .22s ease;
}

.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 27px; }

[data-nav-toggle][aria-expanded="true"] span:nth-child(1) {
  top: 20px;
  transform: translateX(-50%) rotate(45deg);
}
[data-nav-toggle][aria-expanded="true"] span:nth-child(2) { opacity: 0; }
[data-nav-toggle][aria-expanded="true"] span:nth-child(3) {
  top: 20px;
  transform: translateX(-50%) rotate(-45deg);
}

/* 滚动进度条 */
.header-progress {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .12s linear;
  pointer-events: none;
}

/* 中屏收窄：隐藏工具文字 */
@media (max-width: 1180px) {
  .header-live,
  .header-utility-link { display: none; }
}

/* 移动端：胶囊展开为下拉面板 */
@media (max-width: 900px) {
  body { padding-top: 78px; }

  .site-header { padding: 12px var(--gutter) 0; }

  .header-shell {
    flex-wrap: wrap;
    row-gap: 0;
    padding: 9px 11px;
    border-radius: var(--r-panel);
  }

  .header-shell[data-condensed] { padding-top: 9px; padding-bottom: 9px; }

  .header-brand-line { display: none; }

  .nav-toggle {
    display: block;
    margin-left: auto;
    order: 3;
  }

  .header-nav {
    order: 4;
    flex: 1 1 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height .32s ease, padding .32s ease;
  }

  .header-utility {
    order: 5;
    flex: 1 1 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .32s ease, padding .32s ease;
  }

  .header-shell[data-open] .header-nav {
    max-height: 480px;
    padding-top: 10px;
  }

  .header-shell[data-open] .header-utility {
    max-height: 300px;
    padding: 10px 0 6px;
  }

  .header-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    overflow: visible;
  }

  .header-nav-link {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 15px;
    border-color: var(--hairline-dim);
  }

  .header-live,
  .header-utility-link { display: inline-flex; }

  .header-utility-link {
    padding: 10px 14px;
    border: 1px solid var(--hairline-dim);
    border-radius: 12px;
    font-size: 13px;
  }

  .header-live {
    padding: 8px 14px;
    border-radius: 12px;
    justify-content: flex-start;
  }

  .header-cta,
  .header-cta-ghost {
    display: block;
    text-align: center;
    padding: 12px 16px;
    font-size: 14px;
  }

  .header-progress { display: none; }
}

/* ============================================================
   13. 页脚
   ============================================================ */
.site-footer {
  margin-top: 72px;
  border-top: var(--bw) solid var(--line);
  background:
    radial-gradient(90% 140% at 90% 0%, rgba(255, 122, 26, .1), transparent 62%),
    linear-gradient(180deg, rgba(14, 42, 33, .62), rgba(6, 18, 14, .97));
}

.footer-shell {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px var(--gutter) 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 860px) {
  .footer-top {
    grid-template-columns: minmax(220px, 1fr) 2fr;
    gap: 40px;
  }
}

.footer-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--orange);
  color: #180A00;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .55);
}

.footer-brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 8px;
}

.footer-brand-desc {
  max-width: 32ch;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

@media (min-width: 560px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.footer-col-title {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--orange);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(244, 241, 234, .86);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease, padding-left .2s ease;
}

.footer-links a:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
  padding-left: 3px;
}

.footer-contact {
  margin-top: 38px;
  padding: 18px 20px;
  border: var(--bw) solid var(--line);
  border-radius: var(--r-card);
  background: rgba(6, 18, 14, .6);
  box-shadow: var(--shadow-hard-sm);
}

.footer-contact-line {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.8;
  letter-spacing: .03em;
  color: var(--muted);
}

.footer-strong {
  color: var(--cream);
  font-weight: 600;
}

.footer-note {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--hairline-dim);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 74ch;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--muted);
}

.footer-legal,
.footer-year { margin: 0; }

/* ============================================================
   14. 降低动效偏好
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  body::before { animation: none; opacity: 1; }

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

  .to-top {
    transform: none;
  }
}
