/* =========================================================
   半岛体育 · 共享样式 /assets/site.css
   夜色球场指挥台 · 深海蓝黑底 + 荧光青 + 信号橙
   ========================================================= */

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

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

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

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

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

img { height: auto; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}

button { cursor: pointer; }

a { color: inherit; }

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

hr { border: 0; }

/* ---------- 2. Tokens ---------- */
:root {
  /* 底色面积 */
  --bg-deep: #050B14;
  --bg-panel: #0B1726;
  --bg-raised: #132537;

  /* 文字 */
  --text-primary: #E8F2F6;
  --text-body: #BDD0DB;
  --text-dim: #8FA6B5;

  /* 强调 */
  --accent-cyan: #2BE3D2;
  --accent-orange: #FF6A1A;

  /* 状态 */
  --state-green: #38C172;
  --state-purple: #7C5CFF;
  --state-yellow: #FFD166;

  /* 结构 */
  --line: #22384D;
  --line-soft: rgba(34, 56, 77, 0.55);

  /* 字体 */
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-numeric: "DIN Alternate", "Arial Narrow", "Roboto Condensed",
    "PingFang SC", system-ui, -apple-system, sans-serif;

  /* 尺寸 */
  --shell-max: 1280px;
  --gutter: clamp(1.25rem, 4.5vw, 3.5rem);
  --header-bar-h: 66px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. Base ---------- */
body {
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(120% 80% at 82% -10%, rgba(43, 227, 210, 0.09), transparent 58%),
    radial-gradient(90% 70% at 4% 8%, rgba(124, 92, 255, 0.08), transparent 60%);
  background-repeat: no-repeat;
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.005em;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); }
h3 { font-size: clamp(1.05rem, 1.7vw, 1.35rem); font-weight: 700; }

p { text-wrap: pretty; }

strong, b { color: var(--text-primary); font-weight: 700; }

::selection {
  background: var(--accent-cyan);
  color: #04161B;
}

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

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

/* ---------- 4. 跳过链接 ---------- */
.skip-link {
  position: fixed;
  top: 0.6rem;
  left: 0.8rem;
  z-index: 300;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--accent-cyan);
  color: #04161B;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.22s var(--ease);
}

.skip-link:focus { transform: translateY(0); }

/* ---------- 5. 布局工具 ---------- */
.container {
  width: min(var(--shell-max), 100% - var(--gutter));
  margin-inline: auto;
}

.section { padding-block: clamp(2.75rem, 7vw, 5.5rem); }
.section--tight { padding-block: clamp(1.75rem, 4vw, 3rem); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.9rem 1.5rem;
  margin-bottom: clamp(1.25rem, 3vw, 2.25rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.index-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

.numeric {
  font-family: var(--font-numeric);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  line-height: 0.95;
}

.grid {
  display: grid;
  gap: clamp(1rem, 2.4vw, 2rem);
}

.grid--split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.divider {
  height: 1px;
  width: 100%;
  background: var(--line);
}

.rule-accent {
  width: 48px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-cyan);
}

.prose { max-width: 62ch; }
.prose p { margin-bottom: 1.05em; color: var(--text-body); }
.prose p:last-child { margin-bottom: 0; }

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--accent-cyan);
  color: #04161B;
}
.btn--primary:hover { background: #63F0E4; }

.btn--alert {
  background: var(--accent-orange);
  color: #160800;
}
.btn--alert:hover { background: #FF8542; }

.btn--ghost {
  background: rgba(19, 37, 55, 0.6);
  border-color: var(--line);
  color: var(--text-primary);
}
.btn--ghost:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.btn--sm { padding: 0.5rem 0.9rem; font-size: 0.8rem; }

/* ---------- 7. 面包屑 ---------- */
.breadcrumb {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-dim);
}

.breadcrumb__item:not(:last-child)::after {
  content: "⁄";
  color: var(--line);
}

.breadcrumb__link {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.breadcrumb__link:hover { color: var(--accent-cyan); }

.breadcrumb__item[aria-current="page"] { color: var(--text-primary); }

/* ---------- 8. 状态点 / 标签 ---------- */
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-dim);
  flex: 0 0 auto;
}

.status-dot--live { background: var(--accent-orange); }
.status-dot--soon { background: var(--state-yellow); }
.status-dot--done { background: var(--state-green); }
.status-dot--info { background: var(--accent-cyan); }

.pulse-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  flex: 0 0 auto;
  animation: pulse-ring 2.6s var(--ease) infinite;
}

.pulse-dot--orange { background: var(--accent-orange); animation-name: pulse-ring-orange; }

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(43, 227, 210, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(43, 227, 210, 0); }
  100% { box-shadow: 0 0 0 0 rgba(43, 227, 210, 0); }
}

@keyframes pulse-ring-orange {
  0% { box-shadow: 0 0 0 0 rgba(255, 106, 26, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(255, 106, 26, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 106, 26, 0); }
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  white-space: nowrap;
}

.tag--cyan { color: var(--accent-cyan); border-color: rgba(43, 227, 210, 0.42); }
.tag--green { color: var(--state-green); border-color: rgba(56, 193, 114, 0.42); }
.tag--orange { color: var(--accent-orange); border-color: rgba(255, 106, 26, 0.42); }
.tag--purple { color: var(--state-purple); border-color: rgba(124, 92, 255, 0.42); }
.tag--yellow { color: var(--state-yellow); border-color: rgba(255, 209, 102, 0.42); }

/* ---------- 9. 筛选条 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.88rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-panel);
  color: var(--text-dim);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.filter-chip:hover {
  color: var(--text-primary);
  border-color: #33506B;
  transform: translateY(-1px);
}

.filter-chip[aria-pressed="true"] {
  background: var(--state-purple);
  border-color: var(--state-purple);
  color: #F5F3FF;
}

.filter-chip[aria-pressed="true"]:hover { transform: none; }

.filter-count {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.filter-count b {
  color: var(--accent-cyan);
  font-variant-numeric: tabular-nums;
}

[data-filter-item][hidden] { display: none !important; }

/* ---------- 10. 坐标索引清单 ---------- */
.index-list {
  border-top: 1px solid var(--line);
}

.index-list__item {
  display: grid;
  grid-template-columns: 3.6rem minmax(0, 1fr) auto;
  gap: 0.5rem 1rem;
  align-items: baseline;
  padding: 0.95rem 0.25rem;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.22s var(--ease), padding-left 0.22s var(--ease);
}

.index-list__item:hover {
  background: var(--bg-panel);
  padding-left: 0.7rem;
}

.index-list__code {
  font-family: var(--font-numeric);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-cyan);
}

.index-list__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.index-list__meta {
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* ---------- 11. 图片容器（响应式基础规则） ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 42px;
  background-image:
    radial-gradient(120% 90% at 16% 6%, rgba(43, 227, 210, 0.16), transparent 58%),
    radial-gradient(90% 70% at 94% 96%, rgba(124, 92, 255, 0.16), transparent 62%),
    linear-gradient(160deg, #0B1726 0%, #061020 100%);
}

.media-frame > img,
.media-frame > svg,
.media-frame > picture {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--band { aspect-ratio: 21 / 9; }
.media-frame--skew { border-radius: 6px 34px 6px 34px; }

.media-frame__glow {
  position: absolute;
  inset: auto -14% -42% 40%;
  height: 72%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 106, 26, 0.22), transparent 72%);
}

.media-frame__caption {
  position: absolute;
  left: 1rem;
  bottom: 0.9rem;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.figure-caption {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ---------- 12. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(5, 11, 20, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.28s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 18px 38px -26px rgba(0, 0, 0, 0.95);
}

.site-header__bar {
  width: min(var(--shell-max), 100% - var(--gutter));
  margin-inline: auto;
  min-height: var(--header-bar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text-primary);
  min-width: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 11px 11px 11px 19px;
  background: linear-gradient(135deg, var(--accent-cyan), #159AA6);
  color: #04161B;
}

.brand__mark svg { width: 19px; height: 19px; }

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}

.brand__name {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.005em;
  color: var(--text-primary);
}

.brand__sub {
  font-family: var(--font-numeric);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--text-dim);
}

.brand__pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.4rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(43, 227, 210, 0.3);
  background: rgba(43, 227, 210, 0.08);
  color: var(--accent-cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* 导航 */
.site-nav { position: static; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.35rem, 1.7vw, 1.5rem);
}

.site-nav__link {
  position: relative;
  display: block;
  padding: 0.6rem 0.15rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.22s var(--ease);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.32rem;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.26s var(--ease);
}

.site-nav__link:hover { color: var(--text-primary); }
.site-nav__link:hover::after { transform: scaleX(1); }

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

/* 菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.52rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-panel);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: border-color 0.22s var(--ease), color 0.22s var(--ease);
}

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

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: top 0.24s var(--ease), transform 0.24s var(--ease);
}

.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 8px; }

.nav-toggle[data-open] { border-color: var(--accent-cyan); color: var(--accent-cyan); }
.nav-toggle[data-open] .nav-toggle__bars::before { top: 4px; transform: rotate(45deg); }
.nav-toggle[data-open] .nav-toggle__bars::after { top: 4px; transform: rotate(-45deg); }

/* 比分带 */
.score-tape {
  border-top: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(43, 227, 210, 0.07) 0%, rgba(5, 11, 20, 0) 46%);
}

.score-tape__inner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-block: 0.42rem;
}

.score-tape__label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-orange);
}

.score-tape__track {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}

.score-tape__track::-webkit-scrollbar { display: none; }

.score-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 auto;
  padding: 0.32rem 0.72rem;
  border-radius: 8px 8px 8px 16px;
  border: 1px solid var(--line);
  background: var(--bg-panel);
  font-size: 12px;
  white-space: nowrap;
}

.score-chip__league {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

.score-chip__pair {
  color: var(--text-primary);
  font-weight: 600;
}

.score-chip__score {
  font-family: var(--font-numeric);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--accent-cyan);
}

.score-chip__state {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

.score-chip--live {
  border-color: rgba(255, 106, 26, 0.42);
  background: linear-gradient(180deg, rgba(255, 106, 26, 0.1), var(--bg-panel));
}
.score-chip--live .score-chip__score { color: var(--accent-orange); }
.score-chip--live .score-chip__state { color: var(--accent-orange); }

.score-chip--soon .score-chip__state { color: var(--state-yellow); }

.score-chip--done { opacity: 0.66; }
.score-chip--done .score-chip__score { color: var(--state-green); }

/* ---------- 13. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(3rem, 8vw, 6rem);
  padding-top: clamp(2.5rem, 6vw, 4rem);
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-cyan), rgba(43, 227, 210, 0) 58%);
  opacity: 0.75;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}

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

.footer-col--brand .brand { margin-bottom: 0.9rem; }

.footer-col__title {
  margin-bottom: 0.95rem;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.footer-list {
  display: grid;
  gap: 0.55rem;
}

.footer-list--contact { gap: 0.85rem; }

.footer-link {
  display: inline-block;
  color: var(--text-body);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-link:hover {
  color: var(--accent-cyan);
  transform: translateX(3px);
}

.footer-contact-item {
  font-size: 0.9rem;
  color: var(--text-primary);
  word-break: break-word;
}

.footer-contact-item span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.1rem;
}

.footer-meta {
  max-width: 32ch;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-dim);
}

.footer-icp {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

.footer-note {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-block: 1.1rem 1.7rem;
  border-top: 1px solid var(--line);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.82rem;
}

.footer-legal a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer-legal a:hover { color: var(--accent-cyan); }

/* ---------- 14. 显现动效 ---------- */
[data-reveal] {
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}

.js-ready [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(12px);
}

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

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col--contact { grid-column: 1 / -1; }
}

@media (max-width: 959px) {
  :root { --header-bar-h: 60px; }

  .brand__pulse { display: none; }

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

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 95;
    padding: 0.5rem var(--gutter) 1.1rem;
    background: var(--bg-panel);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 46px -28px rgba(0, 0, 0, 0.95);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.24s var(--ease), transform 0.24s var(--ease),
      visibility 0.24s linear;
  }

  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__link {
    padding: 0.9rem 0.15rem;
    font-size: 0.98rem;
    border-bottom: 1px solid var(--line);
  }

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

  .site-nav__list li:last-child .site-nav__link { border-bottom: 0; }

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

  .index-list__item { grid-template-columns: 3.2rem minmax(0, 1fr); }
  .index-list__meta { grid-column: 2 / -1; }
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col--contact { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .score-tape__inner { gap: 0.6rem; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__name { font-size: 0.96rem; }
  .section { padding-block: 2.25rem; }
  .btn { padding: 0.65rem 1rem; font-size: 0.82rem; }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }

  .js-ready [data-reveal]:not(.is-visible),
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .pulse-dot { animation: none; }
  .footer-link:hover { transform: none; }
  .index-list__item:hover { padding-left: 0.25rem; }
}
