/* ==========================================================================
   CN星空体育 · 共享站点样式 /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, fieldset {
  margin: 0;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}

main { display: block; }

/* ---------- 2. Tokens ---------- */
:root {
  --ink-0: #070B14;
  --ink-1: #0E1726;
  --ink-2: #13203A;
  --line: #1B2A42;
  --line-soft: rgba(27, 42, 66, 0.62);

  --white: #E8EEF7;
  --mist: #C7D3E6;
  --silver: #8FA3BF;

  --cyan: #2DE2E6;
  --orange: #FF7A1A;
  --violet: #9A6BFF;
  --gold: #F4C95D;

  --radius: 3px;
  --shell: 1320px;
  --gutter: clamp(16px, 4vw, 48px);

  --font-head: "Archivo Narrow", "Arial Narrow", "Helvetica Neue",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    system-ui, sans-serif;
  --font-body: "Inter", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular,
    "SF Mono", Menlo, Consolas, monospace;

  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 160ms;
  --dur-mid: 280ms;
}

/* ---------- 3. Base / 中文排版 ---------- */
body {
  min-height: 100vh;
  background:
    radial-gradient(1100px 560px at 80% -12%, rgba(45, 226, 230, 0.09), transparent 62%),
    radial-gradient(900px 520px at 6% -4%, rgba(154, 107, 255, 0.09), transparent 64%),
    var(--ink-0);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(27, 42, 66, 0.55) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27, 42, 66, 0.55) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 74%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 74%);
  opacity: 0.45;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--white);
}

h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(24px, 3.3vw, 38px); }
h3 { font-size: clamp(19px, 2.1vw, 25px); letter-spacing: -0.01em; }
h4 { font-size: clamp(16px, 1.6vw, 18px); letter-spacing: 0; }
h5 { font-size: 15px; letter-spacing: 0.01em; }

p { text-wrap: pretty; }

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

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

code, kbd, samp {
  font-family: var(--font-mono);
  font-size: 0.92em;
  color: var(--cyan);
}

::selection {
  background: rgba(45, 226, 230, 0.28);
  color: #FFFFFF;
}

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

#main-content { scroll-margin-top: 104px; }

/* ---------- 4. 工具类 ---------- */
.container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  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;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 200;
  display: inline-block;
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #04121A;
  background: var(--cyan);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px -12px rgba(45, 226, 230, 0.9);
  transition: top var(--dur-fast) var(--ease-out);
}

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

.grid { display: grid; gap: clamp(16px, 2.4vw, 32px); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
}

.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--line), rgba(27, 42, 66, 0.15));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--gold);
  border: 1px solid rgba(244, 201, 93, 0.34);
  border-radius: 999px;
  background: rgba(244, 201, 93, 0.07);
}

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    color var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

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

.btn-primary {
  color: #0A0F18;
  background: linear-gradient(118deg, var(--orange) 8%, #FFA354 96%);
  border-color: transparent;
  box-shadow: 0 10px 24px -14px rgba(255, 122, 26, 0.95);
}

.btn-primary:hover {
  box-shadow:
    0 12px 28px -12px rgba(255, 122, 26, 0.95),
    0 0 0 3px rgba(255, 122, 26, 0.16);
}

.btn-ghost {
  color: var(--mist);
  border-color: var(--line);
  background: rgba(19, 32, 58, 0.35);
}

.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(45, 226, 230, 0.6);
  box-shadow: 0 0 0 3px rgba(45, 226, 230, 0.1);
}

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

/* ---------- 6. 页头框架 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(7, 11, 20, 0.94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.header-announce {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px var(--gutter);
  background:
    linear-gradient(90deg, rgba(45, 226, 230, 0.09), rgba(255, 122, 26, 0.06) 58%, transparent 96%),
    var(--ink-1);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.5;
  color: var(--silver);
}

.announce-dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(45, 226, 230, 0.16);
  animation: beacon 2.8s var(--ease-out) infinite;
}

.announce-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.announce-meta {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 1px 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--gold);
  border: 1px solid rgba(244, 201, 93, 0.32);
  border-radius: 2px;
}

.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px clamp(14px, 2.6vw, 32px);
  max-width: var(--shell);
  margin-inline: auto;
  padding: 13px var(--gutter);
  background: linear-gradient(180deg, rgba(14, 23, 38, 0.6), rgba(7, 11, 20, 0));
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
  border-radius: 2px;
  transition: opacity var(--dur-fast) var(--ease-out);
}

.brand:hover { opacity: 0.88; }

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background:
    linear-gradient(150deg, rgba(45, 226, 230, 0.2), rgba(154, 107, 255, 0.14) 62%, transparent);
  box-shadow: inset 0 0 18px rgba(45, 226, 230, 0.12);
}

.brand-mark span {
  position: absolute;
  background: var(--cyan);
  opacity: 0.85;
}

.brand-mark span:nth-child(1) {
  width: 16px;
  height: 1px;
}

.brand-mark span:nth-child(2) {
  width: 1px;
  height: 16px;
}

.brand-mark span:nth-child(3) {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px rgba(255, 122, 26, 0.9);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.brand-line {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--white);
  white-space: nowrap;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 1.4;
  color: var(--silver);
  white-space: nowrap;
}

/* 导航 */
.site-nav {
  margin-left: auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 1vw, 16px);
}

.nav-item { display: block; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 4px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--mist);
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition:
    color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out);
}

.nav-idx {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--silver);
  opacity: 0.62;
  transition: color var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}

.nav-link:hover {
  color: var(--white);
  border-bottom-color: rgba(45, 226, 230, 0.75);
}

.nav-link:hover .nav-idx {
  color: var(--cyan);
  opacity: 1;
}

.nav-link[aria-current="page"] {
  color: var(--white);
  border-bottom-color: transparent;
}

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

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: clamp(8px, 1.6vw, 24px);
}

/* 移动端切换按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 13px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--mist);
  background: rgba(27, 42, 66, 0.55);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition:
    color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out);
}

.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] {
  color: var(--white);
  border-color: rgba(45, 226, 230, 0.55);
  background: rgba(19, 32, 58, 0.9);
}

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

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--dur-fast) var(--ease-out), top var(--dur-fast) var(--ease-out);
}

.nav-toggle-icon::before { top: 1px; }
.nav-toggle-icon::after { top: 7px; }

.site-header[data-open="true"] .nav-toggle-icon::before {
  top: 4px;
  transform: rotate(45deg);
}

.site-header[data-open="true"] .nav-toggle-icon::after {
  top: 4px;
  transform: rotate(-45deg);
}

/* 滚动进度 */
.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
  z-index: 2;
}

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

@keyframes beacon {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 3px rgba(45, 226, 230, 0.16); }
  50% { opacity: 0.55; box-shadow: 0 0 0 6px rgba(45, 226, 230, 0.05); }
}

/* ---------- 7. 页脚地面站 ---------- */
.site-footer {
  position: relative;
  z-index: 5;
  margin-top: clamp(48px, 7vw, 96px);
  color: var(--silver);
  background:
    radial-gradient(760px 320px at 82% 0%, rgba(154, 107, 255, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(14, 23, 38, 0.62), var(--ink-0) 34%);
  border-top: 1px solid var(--line);
}

.footer-top {
  padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 4vw, 48px);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.7fr) repeat(3, minmax(120px, 1fr));
  gap: clamp(24px, 4vw, 56px);
}

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

.footer-brandline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 2px;
}

.footer-brandname {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--white);
}

.footer-summary {
  max-width: 36ch;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--silver);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.footer-badge {
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--mist);
  background: rgba(27, 42, 66, 0.42);
  border: 1px solid var(--line);
  border-radius: 999px;
}

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

.footer-col-title {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

.footer-links {
  display: grid;
  gap: 11px;
}

.footer-link {
  display: inline-block;
  width: fit-content;
  padding-bottom: 2px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--mist);
  border-bottom: 1px solid transparent;
  transition:
    color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out);
}

.footer-link:hover {
  color: var(--white);
  border-bottom-color: var(--cyan);
}

.footer-bottom {
  padding: 22px 0 26px;
  background: rgba(7, 11, 20, 0.66);
  border-top: 1px solid var(--line);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 13px;
  color: var(--mist);
}

.contact-item {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.contact-label {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.contact-value {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.01em;
  color: var(--mist);
  word-break: break-word;
}

.footer-note {
  margin-top: 12px;
  max-width: 78ch;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--silver);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 18px;
  padding-top: 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--silver);
  border-top: 1px dashed var(--line-soft);
}

.footer-copy { color: var(--silver); }
.footer-icp { color: var(--mist); }

/* 返回顶部 */
.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 30px);
  bottom: clamp(14px, 3vw, 30px);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--cyan);
  background: rgba(14, 23, 38, 0.92);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.9);
  transition:
    opacity var(--dur-mid) var(--ease-out),
    transform var(--dur-mid) var(--ease-out),
    visibility var(--dur-mid) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}

.to-top[data-visible="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  border-color: rgba(45, 226, 230, 0.7);
  box-shadow:
    0 0 0 4px rgba(45, 226, 230, 0.12),
    0 14px 30px -18px rgba(0, 0, 0, 0.9);
}

.to-top::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(-45deg) translate(1px, 1px);
}

/* ---------- 8. 通用内容组件 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: clamp(16px, 2.4vw, 26px) 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--silver);
}

.breadcrumb-link {
  color: var(--silver);
  border-bottom: 1px solid transparent;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}

.breadcrumb-link:hover {
  color: var(--cyan);
  border-bottom-color: currentColor;
}

.breadcrumb-sep {
  color: var(--line);
  opacity: 0.9;
}

.breadcrumb-current {
  color: var(--white);
}

.prose {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.85;
  color: var(--mist);
}

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

.prose h2,
.prose h3 {
  margin-top: 2em;
  color: var(--white);
}

.prose a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(45, 226, 230, 0.45);
}

.prose a:hover { border-bottom-color: var(--cyan); }

.prose ul,
.prose ol {
  padding-left: 1.3em;
  list-style: disc;
}

.prose ol { list-style: decimal; }

.prose li + li { margin-top: 0.5em; }

.prose blockquote {
  padding: 4px 0 4px 18px;
  border-left: 2px solid var(--cyan);
  color: var(--mist);
}

.prose code {
  padding: 2px 6px;
  background: rgba(27, 42, 66, 0.6);
  border-radius: 2px;
}

/* 图片容器基础规则（页面阶段放入 <img> 占位） */
.media-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(150deg, var(--ink-2), var(--ink-0) 70%),
    var(--ink-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.media-frame img,
.media-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05) brightness(0.94);
}

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

.media-frame--shade::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 11, 20, 0) 42%, rgba(7, 11, 20, 0.72));
}

/* ---------- 9. 平板 ---------- */
@media (max-width: 1100px) {
  .nav-list { gap: 2px; }
  .nav-link { font-size: 13.5px; padding: 8px 3px; }
  .nav-idx { display: none; }

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

  .footer-brand { grid-column: 1 / -1; }

  .footer-summary { max-width: 60ch; }
}

/* ---------- 10. 手机 / 折叠导航 ---------- */
@media (max-width: 900px) {
  .header-bar {
    padding: 11px var(--gutter);
    gap: 10px;
  }

  .brand-sub { display: none; }

  .header-actions { display: none; }

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

  .site-nav {
    order: 5;
    flex: 1 0 100%;
    width: 100%;
    margin-left: 0;
    display: none;
    padding-top: 6px;
    border-top: 1px solid var(--line);
  }

  .site-header[data-open="true"] .site-nav { display: block; }

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

  .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 4px;
    font-size: 15px;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav-idx { display: inline; font-size: 11px; opacity: 0.7; }

  .nav-link[aria-current="page"]::after {
    bottom: 0;
    height: 2px;
  }

  .footer-grid { gap: 26px 20px; }

  .footer-legal {
    justify-content: flex-start;
    line-height: 1.9;
  }

  .to-top {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }

  .header-announce { font-size: 11.5px; padding: 6px var(--gutter); }

  .announce-meta { display: none; }

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

  .footer-brand { grid-column: 1 / -1; }

  .footer-contact { flex-direction: column; gap: 6px; }

  .contact-item { display: flex; }
}

/* ---------- 11. 无障碍：减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .announce-dot { animation: none; }
  .btn:hover { transform: none; }
  .to-top { transform: none; }
}
