/* ==========================================================================
   浩瀚体育赛场 · 共享站点样式 /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, 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;
}

/* 2. 变量
   ========================================================================== */
:root {
  --abyss-900: #07131F;
  --abyss-800: #0A1B2E;
  --panel-700: #102A44;
  --line-600: #1B3A57;
  --steel-500: #2D5C82;
  --cyan-400: #00E5D0;
  --cyan-200: #8CF6E9;
  --orange-500: #FF7A1A;
  --amber-300: #FFC46B;
  --text-100: #E8F3F8;
  --text-300: #9FB6C6;
  --grad-signal: linear-gradient(155deg, #0A1B2E 0%, #123A5C 58%, #0E4F5C 100%);

  --rail-w: 88px;
  --bar-h: 56px;
  --pad: clamp(16px, 3vw, 32px);
  --radius: 4px;
  --shadow-card: 0 2px 12px rgba(0, 0, 0, .35);
  --ease-out: cubic-bezier(.2, .7, .3, 1);

  --font-display: "Arial Narrow", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
}

/* 3. 基础排版与背景分区
   ========================================================================== */
html { background: var(--abyss-900); }

body {
  min-height: 100vh;
  padding-top: var(--bar-h);
  background: var(--abyss-900);
  color: var(--text-100);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.15;
  color: var(--text-100);
}

h1 { font-size: clamp(28px, 4.4vw, 56px); }
h2 { font-size: clamp(24px, 3.2vw, 44px); }
h3 { font-size: 24px; }
h4 { font-size: 18px; letter-spacing: -.01em; }

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

a {
  color: var(--cyan-400);
  text-decoration: none;
  text-underline-offset: 3px;
}

a:hover { color: var(--cyan-200); }

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

small { font-size: 14px; color: var(--text-300); }

hr {
  border: 0;
  border-top: 1px solid var(--line-600);
  margin: 32px 0;
}

::selection {
  background: rgba(0, 229, 208, .28);
  color: var(--text-100);
}

/* 4. 焦点与可访问工具类
   ========================================================================== */
:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: 3px;
  border-radius: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

.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;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 12px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--cyan-400);
  color: var(--abyss-900);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: var(--radius);
  transition: top .2s var(--ease-out);
}

.skip-link:focus {
  top: 12px;
  color: var(--abyss-900);
}

/* 5. 头部外壳
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
}

.header-bar {
  position: relative;
  height: var(--bar-h);
  padding: 0 var(--pad);
  background: rgba(10, 27, 46, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-600);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

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

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

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: 1px solid var(--cyan-400);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(0, 229, 208, .18), rgba(0, 229, 208, 0));
  color: var(--cyan-400);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.brand-tagline {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--text-300);
  white-space: nowrap;
}

/* 工具区 */
.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line-600);
  border-radius: 999px;
  background: rgba(16, 42, 68, .7);
  color: var(--text-300);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  white-space: nowrap;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange-500);
  animation: live-pulse 2.4s var(--ease-out) infinite;
}

@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 122, 26, .55); }
  70% { box-shadow: 0 0 0 7px rgba(255, 122, 26, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 122, 26, 0); }
}

.tool-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line-600);
  border-radius: var(--radius);
  color: var(--text-300);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  white-space: nowrap;
  text-decoration: none;
  transition: color .24s var(--ease-out), border-color .24s var(--ease-out), background .24s var(--ease-out);
}

.tool-link:hover {
  color: var(--cyan-200);
  border-color: var(--cyan-400);
}

.tool-link--accent {
  background: var(--cyan-400);
  border-color: var(--cyan-400);
  color: var(--abyss-900);
  font-weight: 700;
}

.tool-link--accent:hover {
  background: var(--cyan-200);
  border-color: var(--cyan-200);
  color: var(--abyss-900);
}

/* 阅读进度 */
.progress-track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(27, 58, 87, .85);
  overflow: hidden;
}

.progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan-400), var(--cyan-200));
  transition: transform .12s linear;
}

/* 6. 导航（手机：底部抽屉 / 平板：顶部横条 / 桌面：左侧编号轨道）
   ========================================================================== */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line-600);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-100);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  cursor: pointer;
}

.nav-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}

.nav-toggle-bars i {
  display: block;
  width: 14px;
  height: 1px;
  background: currentColor;
}

.nav-rail {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  z-index: 90;
  width: auto;
  max-height: 78vh;
  overflow-y: auto;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  background: var(--abyss-900);
  border-top: 1px solid var(--line-600);
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, .6);
  transform: translateY(102%);
  visibility: hidden;
  transition: transform .24s var(--ease-out), visibility .24s var(--ease-out);
}

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

.nav-list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item { min-width: 0; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line-600);
  color: var(--text-300);
  text-decoration: none;
  transition: color .24s var(--ease-out), background .24s var(--ease-out);
}

.nav-item:last-child .nav-link { border-bottom: 0; }

.nav-link:hover {
  color: var(--cyan-200);
  background: var(--panel-700);
}

.nav-link[aria-current="page"] {
  color: var(--cyan-400);
  background: rgba(0, 229, 208, .08);
}

.nav-index {
  flex: 0 0 auto;
  min-width: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--steel-500);
  transition: color .24s var(--ease-out);
}

.nav-link:hover .nav-index,
.nav-link[aria-current="page"] .nav-index {
  color: var(--cyan-400);
}

.nav-label {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

/* 7. 容器与章节
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: clamp(48px, 7vw, 96px) 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-600);
}

.section-index {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--cyan-400);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 44px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.15;
}

/* 8. 网格
   ========================================================================== */
.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}

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

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

.stack {
  display: grid;
  gap: 16px;
  align-content: start;
}

/* 9. 卡片与折叠面板
   ========================================================================== */
.card {
  padding: 20px;
  background: var(--panel-700);
  border: 1px solid var(--line-600);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.panel {
  background: var(--panel-700);
  border: 1px solid var(--line-600);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.panel + .panel { margin-top: 12px; }

.panel > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--text-100);
  transition: color .24s var(--ease-out), background .24s var(--ease-out);
}

.panel > summary::-webkit-details-marker { display: none; }

.panel > summary:hover {
  color: var(--cyan-200);
  background: rgba(0, 229, 208, .06);
}

.panel > summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--orange-500);
}

.panel[open] > summary::after { content: "–"; }

.panel-body {
  padding: 0 18px 18px;
  color: var(--text-300);
  font-size: 16px;
}

/* 10. 按钮
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--line-600);
  border-radius: var(--radius);
  background: var(--panel-700);
  color: var(--text-100);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .24s var(--ease-out), color .24s var(--ease-out), border-color .24s var(--ease-out), transform .24s var(--ease-out);
}

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

.btn--primary {
  background: var(--cyan-400);
  border-color: var(--cyan-400);
  color: var(--abyss-900);
}

.btn--primary:hover {
  background: var(--cyan-200);
  border-color: var(--cyan-200);
  color: var(--abyss-900);
}

.btn--ghost {
  background: transparent;
  color: var(--text-100);
}

.btn--ghost:hover {
  background: rgba(0, 229, 208, .08);
  color: var(--cyan-200);
}

/* 11. 面包屑
   ========================================================================== */
.breadcrumb {
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--text-300);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

.breadcrumb a {
  color: var(--text-300);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--cyan-200); }

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

/* 12. 文本工具类
   ========================================================================== */
.mono {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--cyan-400);
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-300);
}

.label::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--cyan-400);
}

.label--warn::after { background: var(--orange-500); }
.label--muted::after { background: var(--steel-500); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(0, 229, 208, .35);
  border-radius: 999px;
  background: rgba(0, 229, 208, .1);
  color: var(--cyan-200);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
}

.prose {
  max-width: 68ch;
  color: var(--text-100);
}

.prose p { margin-bottom: 1.2em; }
.prose h2, .prose h3 { margin-top: 1.6em; margin-bottom: .6em; }

.prose ul, .prose ol {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
  color: var(--text-300);
}

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

.prose a {
  color: var(--cyan-400);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose code {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--orange-500);
}

/* 13. 图片容器（页面阶段放入 <img>）
   ========================================================================== */
.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-600);
  border-radius: var(--radius);
  background: var(--grad-signal);
  aspect-ratio: 16 / 9;
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 19, 31, 0) 45%, rgba(7, 19, 31, .58) 100%);
}

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

.media-caption {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-300);
}

/* 14. 显现动效（需 html.js）
   ========================================================================== */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}

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

/* 15. 页脚
   ========================================================================== */
.site-footer {
  position: relative;
  padding: clamp(40px, 6vw, 72px) 0 32px;
  background: var(--abyss-900);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan-400) 0%, rgba(0, 229, 208, .18) 40%, transparent 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(20px, 3vw, 40px);
}

.footer-brand {
  display: grid;
  gap: 10px;
  align-content: start;
  justify-items: start;
}

.footer-brand-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.15;
  color: var(--text-100);
}

.footer-brand-line {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--cyan-400);
}

.footer-heading {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-300);
}

.footer-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-link {
  color: var(--text-100);
  font-size: 15px;
  text-decoration: none;
  transition: color .24s var(--ease-out);
}

.footer-link:hover {
  color: var(--cyan-200);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-contact {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .02em;
  line-height: 1.6;
  color: var(--text-300);
  word-break: break-word;
}

.footer-contact b {
  color: var(--text-100);
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: 20px;
  border-top: 1px solid var(--line-600);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-300);
}

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

.footer-legal { color: var(--steel-500); }

.footer-note {
  max-width: 70ch;
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-300);
}

.footer-brand .footer-note { margin: 0; }

/* 16. 响应式
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1199px) {
  body { padding-top: calc(var(--bar-h) + 44px); padding-left: 0; }

  .nav-rail {
    top: var(--bar-h);
    bottom: auto;
    left: 0;
    right: 0;
    width: auto;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0;
    background: rgba(7, 19, 31, .97);
    border-top: 0;
    border-bottom: 1px solid var(--line-600);
    border-radius: 0;
    box-shadow: none;
    transform: none;
    visibility: visible;
  }

  .nav-list {
    display: flex;
    flex-direction: row;
    gap: 0;
  }

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

  .nav-link {
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 8px;
    border-bottom: 0;
    border-right: 1px solid var(--line-600);
  }

  .nav-item:last-child .nav-link { border-right: 0; }

  .nav-link[aria-current="page"] {
    box-shadow: inset 0 -2px 0 var(--cyan-400);
  }

  .nav-index { min-width: 0; font-size: 11px; }
  .nav-label { font-size: 14px; font-weight: 700; white-space: nowrap; }
}

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

  .nav-rail {
    top: var(--bar-h);
    bottom: 0;
    left: 0;
    right: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: var(--rail-w);
    max-height: none;
    overflow: visible;
    padding: 0;
    border-top: 0;
    border-right: 1px solid var(--line-600);
    border-radius: 0;
    box-shadow: none;
    transform: none;
    visibility: visible;
    background: linear-gradient(180deg, rgba(16, 42, 68, .6) 0%, rgba(7, 19, 31, 1) 100%);
  }

  .nav-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
  }

  .nav-item { width: 100%; }

  .nav-link {
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    padding: 16px 4px;
    border-bottom: 0;
  }

  .nav-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: transparent;
    transition: background .24s var(--ease-out), box-shadow .24s var(--ease-out);
  }

  .nav-link:hover { background: rgba(0, 229, 208, .05); }
  .nav-link[aria-current="page"] { background: rgba(0, 229, 208, .08); }

  .nav-link[aria-current="page"]::before {
    background: var(--cyan-400);
    box-shadow: 0 0 12px rgba(0, 229, 208, .7);
  }

  .nav-index { min-width: 0; font-size: 11px; }

  .nav-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
  }
}

@media (max-width: 899px) {
  .grid--split,
  .grid--2 { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  body { padding-top: var(--bar-h); padding-left: 0; }

  body[data-nav-open] { overflow: hidden; }

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

  .nav-toggle[aria-expanded="true"] {
    border-color: var(--cyan-400);
    color: var(--cyan-400);
  }

  .live-pill { display: none; }

  .header-tools { gap: 8px; }

  .tool-link { padding: 7px 10px; }
}

@media (max-width: 639px) {
  .header-tools .tool-link { display: none; }

  .brand-tagline { display: none; }
}

@media (max-width: 559px) {
  .footer-grid { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

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

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

  .nav-rail {
    transform: none;
  }

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