/* ==========================================================================
   欧亿体育官方 · 共享样式表  /assets/site.css
   字体栈为系统回退，无远程资源；色彩令牌基于夜场球场绿矿物色体系。
   ========================================================================== */

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

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

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

ul, ol { padding: 0; }

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

img { display: block; }

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

button { background: none; border: 0; }

a { color: inherit; }

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

hr {
  border: 0;
  border-top: 1px solid rgba(167, 243, 228, .16);
  margin: 32px 0;
}

/* ---------- 2. 设计令牌 ---------- */
:root {
  /* 矿物色 */
  --scene-900: #06110F;
  --scene-800: #0B2B24;
  --scene-700: #0E342B;
  --moss: #2F5D4A;
  --stone: #6E7A76;
  --cyan: #35F0D0;
  --orange: #FF7A3D;
  --cream: #F2EBDC;
  --clay: #C4623F;
  --mist: #D9E6E1;
  --glass: #A7F3E4;

  /* 语义文字 */
  --ink: #F2EBDC;
  --ink-soft: #D9E6E1;
  --ink-dim: #9DB0A9;

  /* 线 */
  --line-soft: rgba(167, 243, 228, .12);
  --line: rgba(167, 243, 228, .18);

  /* 尺寸 */
  --bar-h: 56px;
  --rail-w: 72px;
  --rail-w-wide: 208px;
  --content-max: 1200px;

  /* 字体 */
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo,
    Consolas, "Noto Sans SC", "Microsoft YaHei", monospace;

  /* 动效 */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  padding-top: var(--bar-h);
  padding-left: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  background-color: var(--scene-800);
  background-image:
    radial-gradient(1100px 560px at 88% -6%, rgba(53, 240, 208, .10), transparent 62%),
    radial-gradient(860px 520px at -8% 34%, rgba(196, 98, 63, .09), transparent 64%),
    linear-gradient(180deg, #0B2B24 0%, #0A2620 55%, #0B2B24 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  line-height: 1.25;
  color: var(--cream);
  font-weight: 800;
  letter-spacing: .01em;
}

p { line-height: 1.75; }

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

a:hover { color: var(--glass); }

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

[id] { scroll-margin-top: calc(var(--bar-h) + 20px); }

/* ---------- 4. 焦点样式 ---------- */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 0;
}

.entry-chip:focus-visible,
.btn--solid:focus-visible,
.btn--warm:focus-visible,
.tag-cut:focus-visible,
.nav-toggle:focus-visible {
  outline-offset: -3px;
}

/* ---------- 5. 工具类 ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: 20px;
}

.wrap--wide { max-width: 1400px; }
.wrap--narrow { max-width: 820px; }

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

.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-12 { grid-column: span 6; }

/* ---------- 6. 章节与索引排版 ---------- */
.section { padding: 44px 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  margin-bottom: 22px;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--cyan);
}

.section-title {
  margin: 0;
  font-size: clamp(21px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--cream);
}

.index-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ---------- 7. 通用组件 ---------- */
.panel {
  position: relative;
  padding: 20px;
  background:
    linear-gradient(160deg, rgba(47, 93, 74, .58), rgba(11, 43, 36, .78));
  border: 1px solid var(--line-soft);
}

.panel--glass {
  background: rgba(11, 43, 36, .42);
  border-color: rgba(167, 243, 228, .22);
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
}

.card {
  position: relative;
  padding: 20px 20px 22px;
  background:
    linear-gradient(166deg, rgba(47, 93, 74, .50), rgba(6, 17, 15, .74));
  border: 1px solid var(--line-soft);
  transition: border-color var(--dur-base) var(--ease),
    transform var(--dur-base) var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 40px;
  background: var(--cyan);
  transition: height var(--dur-base) var(--ease), background var(--dur-base) var(--ease);
}

.card:hover { border-color: rgba(53, 240, 208, .34); }
.card:hover::before { height: 78px; }
.card--warm::before { background: var(--orange); }
.card--clay::before { background: var(--clay); }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease);
}

.btn--solid {
  background: var(--cyan);
  color: var(--scene-900);
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  padding-inline: 26px;
}

.btn--solid:hover { background: var(--glass); color: var(--scene-900); }

.btn--warm {
  background: var(--orange);
  color: var(--scene-900);
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  padding-inline: 26px;
}

.btn--warm:hover { background: #FF9463; color: var(--scene-900); }

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(242, 235, 220, .34);
}

.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* 斜切标签 */
.tag-cut {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--scene-900);
  background: var(--cyan);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.tag-cut--clay { background: var(--clay); color: var(--cream); }
.tag-cut--cream { background: var(--cream); color: var(--scene-900); }
.tag-cut--orange { background: var(--orange); color: var(--scene-900); }
.tag-cut--outline {
  background: transparent;
  color: var(--cyan);
  box-shadow: inset 0 0 0 1px var(--cyan);
}

/* 比分与状态 */
.score {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--cream);
}

.score--live { color: var(--orange); }

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  vertical-align: middle;
  background: var(--stone);
}

.status-dot--live {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 61, .18);
}

.status-dot--done { background: var(--stone); }
.status-dot--next { background: var(--cyan); }

/* 日期节点 */
.date-node {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink-soft);
  background: rgba(242, 235, 220, .06);
  border: 1px solid var(--line-soft);
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease);
}

.date-node:hover { border-color: rgba(53, 240, 208, .5); color: var(--cream); }

.date-node[aria-current="true"],
.date-node.is-active {
  background: var(--cream);
  color: var(--scene-900);
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px var(--cyan);
}

/* 图片容器 */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #2F5D4A 0%, #06110F 100%);
  border: 1px solid var(--line-soft);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(217, 230, 225, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 230, 225, .07) 1px, transparent 1px);
  background-size: 28px 28px;
}

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

.media-frame--16x9 { aspect-ratio: 16 / 9; }
.media-frame--4x3 { aspect-ratio: 4 / 3; }
.media-frame--1x1 { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 3 / 4; }

.media-frame--cut {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
}

.media-frame--right { margin-left: auto; }
.media-frame--left { margin-right: auto; }

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--ink-dim);
}

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

.breadcrumb li + li::before {
  content: "/";
  color: var(--stone);
}

.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--cyan); }

/* 长文正文 */
.prose {
  max-width: 74ch;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.prose > * + * { margin-top: 1.05em; }

.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(20px, 2.2vw, 25px);
  font-weight: 800;
  color: var(--cream);
}

.prose h3 {
  margin-top: 1.8em;
  font-size: 18px;
  font-weight: 700;
  color: var(--cream);
}

.prose ul, .prose ol { padding-left: 1.35em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--cream); font-weight: 700; }

.prose code {
  font-family: var(--font-mono);
  font-size: .9em;
  padding: .15em .4em;
  color: var(--glass);
  background: rgba(47, 93, 74, .5);
}

.prose blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--cyan);
  color: var(--cream);
}

/* ---------- 8. 头部（框架式导航） ---------- */
.skip-link {
  position: absolute;
  top: -72px;
  left: 14px;
  z-index: 200;
  padding: 11px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--scene-900);
  background: var(--cyan);
  text-decoration: none;
  transition: top var(--dur-fast) var(--ease);
}

.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  height: var(--bar-h);
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--bar-h);
  padding: 0 14px 0 14px;
  background: linear-gradient(180deg, rgba(6, 17, 15, .93), rgba(6, 17, 15, .80));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

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

.brand:hover { color: var(--cream); }

.brand-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--scene-900);
  background: var(--cyan);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
}

.brand-copy { display: block; min-width: 0; line-height: 1.15; }

.brand-name {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--cream);
  white-space: nowrap;
}

.brand-tag {
  display: none;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--ink-dim);
  white-space: nowrap;
}

/* 顶栏说明行 */
.header-meta {
  display: none;
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--ink-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 顶栏操作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex: 0 0 auto;
}

.entry-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px 8px 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--scene-900);
  background: var(--cyan);
  text-decoration: none;
  white-space: nowrap;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  transition: background var(--dur-fast) var(--ease);
}

.entry-chip:hover { background: var(--glass); color: var(--scene-900); }

.entry-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--scene-900);
  opacity: .55;
}

/* 移动导航按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--cream);
  background: rgba(167, 243, 228, .08);
  border: 1px solid rgba(167, 243, 228, .28);
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.nav-toggle:hover {
  background: rgba(53, 240, 208, .14);
  border-color: rgba(53, 240, 208, .5);
}

.nav-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 14px;
}

.nav-toggle-bars i {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform var(--dur-base) var(--ease), opacity var(--dur-base) var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nav-toggle-text { white-space: nowrap; }

/* 阅读进度条 */
.read-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(167, 243, 228, .12);
  pointer-events: none;
}

.read-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--glass) 55%, var(--orange) 100%);
  transition: width 100ms linear;
}

/* 导航：移动端默认（顶部下拉面板） */
.site-nav {
  position: fixed;
  top: var(--bar-h);
  left: 0;
  right: 0;
  z-index: 80;
  max-height: calc(100vh - var(--bar-h));
  overflow-y: auto;
  padding: 14px 16px 22px;
  background: rgba(6, 17, 15, .97);
  border-bottom: 1px solid var(--line);
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform var(--dur-base) var(--ease),
    opacity var(--dur-base) var(--ease),
    visibility var(--dur-base) linear;
}

.site-nav[data-open] {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-kicker {
  display: none;
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--stone);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease);
}

.nav-link:hover {
  color: var(--cream);
  background: rgba(53, 240, 208, .08);
  border-left-color: rgba(53, 240, 208, .42);
}

.nav-link[aria-current="page"] {
  color: var(--cyan);
  background: linear-gradient(90deg, rgba(53, 240, 208, .18), rgba(53, 240, 208, 0));
  border-left-color: var(--cyan);
}

.nav-link[aria-current="page"] .nav-num { color: var(--orange); }

.nav-num {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--stone);
  font-variant-numeric: tabular-nums;
}

.nav-text { display: inline; white-space: nowrap; }

.nav-foot {
  display: none;
  margin: 22px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: .04em;
  color: var(--ink-dim);
}

/* ---------- 9. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: 64px;
  padding: 52px 20px 26px;
  background: linear-gradient(180deg, rgba(6, 17, 15, .55) 0%, #06110F 62%);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .4;
  background-image:
    linear-gradient(rgba(167, 243, 228, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 243, 228, .06) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
  margin-inline: auto;
}

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

.footer-mark {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--cream);
}

.footer-tag {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--cyan);
}

.footer-note {
  margin-top: 14px;
  max-width: 34ch;
  line-height: 1.8;
  color: var(--ink-dim);
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-col h3 {
  margin-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--stone);
}

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

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.footer-contact {
  margin-top: 38px;
  padding-top: 22px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  border-top: 1px dashed rgba(167, 243, 228, .2);
}

.contact-line {
  line-height: 1.85;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

.footer-service {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.75;
  color: var(--ink-dim);
}

.footer-base {
  margin-top: 26px;
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-dim);
}

.footer-base p { margin: 0; }

/* ---------- 10. 显现动效协议 ---------- */
.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 280ms var(--ease), transform 280ms var(--ease);
}

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

/* ---------- 11. 响应式：平板 ---------- */
@media (min-width: 640px) {
  .wrap { padding-inline: 26px; }
  .brand-tag { display: block; }
  .site-footer { padding: 56px 26px 28px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-template-columns: 1fr auto; align-items: start; }
  .footer-service { text-align: right; }
}

@media (min-width: 768px) {
  .grid-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
  .col-2 { grid-column: span 2; }
  .col-3 { grid-column: span 3; }
  .col-4 { grid-template-columns: span 4; grid-column: span 4; }
  .col-5 { grid-column: span 5; }
  .col-6 { grid-column: span 6; }
  .col-7 { grid-column: span 7; }
  .col-8 { grid-column: span 8; }
  .col-9 { grid-column: span 9; }
  .col-10 { grid-column: span 10; }
  .col-12 { grid-column: span 12; }
  .section { padding: 56px 0; }
}

@media (max-width: 767px) {
  .grid-12 { grid-template-columns: minmax(0, 1fr); }
  .grid-12 > * { grid-column: 1 / -1; }
}

/* ---------- 12. 响应式：桌面（框架式导航） ---------- */
@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }

  .header-meta { display: block; }
  .nav-toggle { display: none; }

  .site-nav {
    position: fixed;
    top: var(--bar-h);
    left: 0;
    bottom: 0;
    right: auto;
    width: var(--rail-w);
    max-height: none;
    overflow-y: auto;
    padding: 24px 8px 20px;
    background: linear-gradient(180deg, rgba(6, 17, 15, .94), rgba(11, 43, 36, .88));
    border-bottom: 0;
    border-right: 1px solid var(--line);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: none;
  }

  .nav-list { gap: 4px; align-items: stretch; }
  .nav-link { justify-content: center; padding: 11px 4px; }
  .nav-text { display: none; }
  .nav-num { font-size: 12px; }

  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
}

@media (min-width: 1280px) {
  body { padding-left: var(--rail-w-wide); }

  .site-nav { width: var(--rail-w-wide); padding: 26px 18px 22px; }
  .nav-kicker { display: block; }
  .nav-foot { display: block; margin-top: auto; }
  .nav-list { flex: 0 0 auto; }
  .nav-link { justify-content: flex-start; padding: 11px 10px; }
  .nav-text { display: inline; }
}

/* ---------- 13. 降低动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .js-ready [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .read-progress-fill { transition: none; }
}
