/* ============================================================
   大江体育赛事 · 共享样式 /assets/site.css
   深海蓝底 · 竞技橙锚点 · 荧光青绿实时 · 暖沙金历史
   ============================================================ */

:root {
  --deep: #0B2239;
  --night: #123A5C;
  --orange: #FF6A1A;
  --orange-2: #FF8F43;
  --cyan: #24E0B0;
  --sand: #E3B25A;
  --paper: #F5F7FA;
  --graphite: #070B12;
  --gray: #9AA6B2;
  --glass: rgba(245, 247, 250, 0.10);
  --glass-strong: rgba(245, 247, 250, 0.16);
  --line: rgba(245, 247, 250, 0.16);
  --line-soft: rgba(245, 247, 250, 0.08);

  --font-head: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-num: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Roboto Mono", "Courier New", monospace;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --maxw: 1180px;
  --header-h: 88px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow: 0 22px 44px -28px rgba(0, 0, 0, 0.92);
  --focus: 0 0 0 2px var(--deep), 0 0 0 4px var(--orange);
}

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

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

body {
  margin: 0;
  padding-top: var(--header-h);
  min-height: 100vh;
  background-color: var(--deep);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1100px 620px at 88% -12%, rgba(36, 224, 176, 0.10), transparent 62%),
    radial-gradient(900px 520px at 4% 112%, rgba(227, 178, 90, 0.09), transparent 60%),
    repeating-linear-gradient(90deg, rgba(245, 247, 250, 0.035) 0 1px, transparent 1px 168px);
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--paper);
}

p { margin: 0 0 1em; }

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

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

button { font: inherit; color: inherit; }

ul, ol { margin: 0; padding: 0; }

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

::selection { background: var(--orange); color: #08111c; }

/* ---------- 通用排版容器 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
  position: relative;
  z-index: 1;
}

.section {
  position: relative;
  z-index: 1;
  padding: clamp(48px, 7vw, 88px) 0;
}

.section--tight { padding-top: clamp(24px, 3.5vw, 44px); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.section-title {
  font-size: clamp(24px, 3.4vw, 40px);
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--sand);
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--sand);
}

.lede {
  max-width: 62ch;
  margin: 0;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.7;
  color: rgba(245, 247, 250, 0.82);
}

.prose {
  max-width: 68ch;
  color: rgba(245, 247, 250, 0.86);
}

.prose h2, .prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; margin-bottom: 1.1em; list-style: disc; }
.prose li { margin-bottom: 0.4em; }

.rule {
  height: 1px;
  margin: 0;
  border: 0;
  background: linear-gradient(90deg, rgba(245, 247, 250, 0.28), transparent);
}

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

.text-live { color: var(--cyan); }
.text-history { color: var(--sand); }

/* ---------- 跳过链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 11px 18px;
  border-radius: var(--r-sm);
  background: var(--orange);
  color: #08111c;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 0.22s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
  color: #08111c;
}

#main-content:focus { outline: none; }

/* ---------- 页头：悬浮胶囊导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 14px clamp(12px, 3vw, 28px) 0;
  pointer-events: none;
}

.header-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, rgba(18, 58, 92, 0.80), rgba(11, 34, 57, 0.74));
  border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 24px 44px -30px rgba(0, 0, 0, 0.95);
  pointer-events: auto;
  transition: padding 0.28s var(--ease), border-radius 0.28s var(--ease), background 0.28s var(--ease);
}

.site-header[data-compact] .header-shell {
  padding: 6px 12px;
  background: linear-gradient(180deg, rgba(18, 58, 92, 0.92), rgba(7, 11, 18, 0.88));
}

/* 品牌小岛 */
.brand-island {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 4px 10px 4px 4px;
  border-radius: var(--r-pill);
  color: var(--paper);
}

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

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: conic-gradient(from 210deg, var(--orange), var(--orange-2) 38%, var(--night) 72%, var(--orange));
  box-shadow: inset 0 0 0 1px rgba(245, 247, 250, 0.18);
  display: grid;
  place-items: center;
}

.brand-mark__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--deep);
  box-shadow: 0 0 0 3px rgba(11, 34, 57, 0.6);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.brand-sub {
  font-family: var(--font-num);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gray);
  max-height: 16px;
  overflow: hidden;
  transition: opacity 0.24s var(--ease), max-height 0.24s var(--ease);
}

.site-header[data-compact] .brand-sub {
  opacity: 0;
  max-height: 0;
}

/* 导航胶囊 */
.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 3px;
  list-style: none;
}

.nav-item { display: block; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: rgba(245, 247, 250, 0.76);
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.nav-link::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray);
  opacity: 0.4;
  transition: background 0.2s var(--ease), opacity 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.nav-link:hover {
  color: var(--paper);
  background: var(--glass);
}

.nav-link[aria-current="page"] {
  color: var(--paper);
  background: rgba(255, 106, 26, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 106, 26, 0.42);
}

.nav-link[aria-current="page"]::before {
  background: var(--orange);
  opacity: 1;
  box-shadow: 0 0 0 3px rgba(255, 106, 26, 0.22);
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 10px;
  margin-left: 2px;
  border-left: 1px solid var(--line);
}

.nav-tool {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: rgba(245, 247, 250, 0.78);
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

.nav-tool:hover {
  color: var(--paper);
  background: var(--glass-strong);
  transform: translateY(-2px);
}

.nav-tool--primary {
  color: #08111c;
  background: var(--orange);
  box-shadow: inset 0 0 0 1px rgba(255, 143, 67, 0.6);
}

.nav-tool--primary:hover {
  color: #08111c;
  background: var(--orange-2);
}

/* 滚动进度轨 */
.header-progress {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: -1px;
  height: 3px;
  border-radius: var(--r-pill);
  background: rgba(245, 247, 250, 0.10);
  overflow: hidden;
}

.header-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
}

/* 移动端按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--glass);
  color: var(--paper);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.nav-toggle__bars {
  position: relative;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--paper);
  transition: background 0.2s var(--ease);
}

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

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

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

/* ---------- 页脚：深海底色分区 ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(56px, 8vw, 104px);
  background: linear-gradient(180deg, var(--deep) 0%, var(--night) 42%, var(--graphite) 100%);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), rgba(255, 106, 26, 0) 42%, var(--sand) 100%);
  opacity: 0.55;
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 60px) clamp(16px, 4vw, 32px) 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 0.9fr 1.35fr;
  gap: clamp(24px, 3vw, 40px);
}

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

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--paper);
}

.footer-logo:hover { color: var(--paper); }

.footer-logo__mark {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: conic-gradient(from 210deg, var(--orange), var(--sand) 55%, var(--night) 90%, var(--orange));
  box-shadow: inset 0 0 0 1px rgba(245, 247, 250, 0.16);
}

.footer-logo__name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.footer-tag {
  max-width: 34ch;
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245, 247, 250, 0.7);
}

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

.footer-col__title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gray);
  text-transform: uppercase;
}

.footer-col__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list--numbered {
  counter-reset: footer-col;
}

.footer-list--numbered > li { counter-increment: footer-col; }

.footer-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 0;
  font-size: 14px;
  color: rgba(245, 247, 250, 0.74);
  border-bottom: 1px solid var(--line-soft);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-list--numbered .footer-link::before {
  content: "0" counter(footer-col);
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 700;
  color: var(--sand);
  letter-spacing: 0.04em;
}

.footer-link:hover {
  color: var(--paper);
  padding-left: 4px;
  border-color: rgba(255, 106, 26, 0.4);
}

.footer-meta {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.footer-meta__item {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
}

.footer-meta__label {
  flex: 0 0 5.5em;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gray);
}

.footer-meta__value {
  flex: 1 1 12ch;
  min-width: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(245, 247, 250, 0.86);
  word-break: break-word;
}

.footer-col--contact .footer-meta__value { font-family: var(--font-num); font-size: 13px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.footer-bottom__text {
  margin: 0;
  font-family: var(--font-num);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: rgba(245, 247, 250, 0.7);
}

.footer-bottom__text--muted { color: rgba(154, 166, 178, 0.8); }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--orange);
  color: #08111c;
}

.btn--primary:hover { background: var(--orange-2); color: #08111c; }

.btn--ghost {
  background: var(--glass);
  border-color: var(--line);
  color: var(--paper);
}

.btn--ghost:hover {
  background: var(--glass-strong);
  border-color: rgba(245, 247, 250, 0.42);
  color: var(--paper);
}

.btn--sm {
  padding: 10px 17px;
  font-size: 13px;
}

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: var(--gray);
  white-space: nowrap;
}

.tag--brand { background: var(--orange); border-color: transparent; color: #08111c; }
.tag--live { background: var(--cyan); border-color: transparent; color: #08111c; }
.tag--history { background: rgba(227, 178, 90, 0.12); border-color: rgba(227, 178, 90, 0.46); color: var(--sand); }

/* ---------- 内容层 ---------- */
.card {
  position: relative;
  border-radius: var(--r-lg);
  padding: clamp(18px, 2.2vw, 26px);
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 247, 250, 0.34);
  box-shadow: var(--shadow);
}

.card--glass { background: var(--glass); }

.card--paper {
  background: var(--paper);
  border-color: rgba(7, 11, 18, 0.1);
  color: #17202b;
}

.card--paper .card__title { color: var(--graphite); }
.card--paper .card__meta { color: rgba(7, 11, 18, 0.6); }
.card--paper a { color: #0B4E86; }

.card__title {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.card__meta {
  margin: 0;
  font-family: var(--font-num);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--gray);
}

/* ---------- 网格 ---------- */
.grid {
  display: grid;
  gap: clamp(14px, 1.8vw, 20px);
}

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

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

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  font-family: var(--font-num);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--gray);
}

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

.breadcrumb__item::after {
  content: "/";
  color: rgba(154, 166, 178, 0.45);
}

.breadcrumb__item:last-child::after { content: ""; }

.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--paper); }

.breadcrumb__current { color: var(--paper); }

/* ---------- 图片容器基础规则（页面阶段填入占位或图片） ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background:
    linear-gradient(140deg, var(--night) 0%, var(--deep) 58%, rgba(7, 11, 18, 0.9) 100%);
  isolation: isolate;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(245, 247, 250, 0.05) 0 1px, transparent 1px 64px),
    linear-gradient(180deg, rgba(7, 11, 18, 0) 45%, rgba(7, 11, 18, 0.55) 100%);
}

.media-frame__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 0;
}

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

.media-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 10px 14px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(245, 247, 250, 0.84);
}

/* ---------- 显现动画（需 JS 添加 has-js 才生效，JS 失效时内容正常可见） ---------- */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.42s var(--ease), transform 0.42s var(--ease);
}

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

/* ---------- 响应式 ---------- */
@media (max-width: 1120px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-col--contact { grid-column: 1 / -1; }
  .footer-col--contact .footer-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
}

@media (max-width: 980px) {
  :root { --header-h: 76px; }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-left: 0;
    padding: 14px;
    border-radius: var(--r-lg);
    background: linear-gradient(180deg, rgba(18, 58, 92, 0.96), rgba(7, 11, 18, 0.94));
    border: 1px solid var(--line);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s var(--ease);
  }

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

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-link {
    padding: 12px 14px;
    font-size: 15px;
    border-radius: var(--r-md);
  }

  .nav-tools {
    flex-wrap: wrap;
    padding: 12px 0 0;
    margin: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .nav-tool { flex: 1 1 auto; justify-content: center; }

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

@media (max-width: 720px) {
  .brand-sub { display: none; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }

  .footer-col--contact .footer-meta { grid-template-columns: minmax(0, 1fr); }

  .footer-meta__label { flex-basis: 100%; }

  .footer-bottom { flex-direction: column; }

  .grid--bento > * { grid-column: 1 / -1 !important; }
}

@media (max-width: 420px) {
  .header-shell { padding: 8px 10px; }
  .brand-name { font-size: 14px; }
  .nav-toggle__label { display: none; }
}

/* ---------- 可访问性：减少动效 ---------- */
@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;
    scroll-behavior: auto !important;
  }

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

  .card:hover,
  .btn:hover,
  .nav-tool:hover {
    transform: none;
  }
}
