/* ============================================================
   博澳看台 · 共享样式 / assets/site.css
   看台墨 → 草皮深处 → 中场暗绿 的暗面层级
   荧光青 = 唯一强锚点；信号橙 = 现场状态
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 110px;
}

body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- 2. 变量 ---------- */
:root {
  /* 品牌色板 */
  --ink: #07110E;      /* 看台墨 */
  --turf: #0E1F19;     /* 草皮深处 */
  --mid: #16342A;      /* 中场暗绿 */
  --line: #2A4A3C;     /* 界线苔绿 */
  --paper: #F3EFE6;    /* 暖白纸 */
  --muted: #B9C4BC;    /* 看台灰绿 */
  --cyan: #2FF3D0;     /* 荧光青 */
  --orange: #FF6A2B;   /* 信号橙 */
  --char: #0B0B0A;     /* 炭黑压边 */
  --white: #FFFFFF;

  /* 骨架尺寸 */
  --rail-w: 240px;
  --shell-max: 1240px;
  --gutter: clamp(18px, 4vw, 48px);
  --shell: 1280px;

  /* 字体 */
  --font-display: "Archivo Black", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, "Noto Sans Mono CJK SC", monospace;

  /* 材质与动效 */
  --shadow-hard: 8px 8px 0 var(--char);
  --shadow-hard-sm: 4px 4px 0 var(--char);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur: 240ms;
}

/* ---------- 3. 基础排版 ---------- */
body {
  background-color: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.05vw, 18px);
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--paper);
}
h1 { font-size: clamp(40px, 7vw, 96px); }
h2 { font-size: clamp(28px, 4.2vw, 56px); }
h3 { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.16; }
h4 { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.3; letter-spacing: 0; }
h5 { font-size: 16px; line-height: 1.4; letter-spacing: 0; }

p { max-width: 70ch; }
strong { font-weight: 700; color: var(--white); }

::selection { background: var(--cyan); color: var(--char); }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--char);
}

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

.section { padding-block: clamp(40px, 6vw, 88px); }

.mono-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.section-num {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.18em;
  color: var(--cyan);
}
.section-num::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--line);
}

.grid { display: grid; gap: clamp(18px, 2.4vw, 32px); }
.grid--5-7 { grid-template-columns: 5fr 7fr; }
.grid--7-3 { grid-template-columns: 7fr 3fr; }
.grid--5-4 { grid-template-columns: 5fr 4fr; }

.panel {
  background: var(--mid);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-hard-sm);
  padding: clamp(18px, 2.4vw, 30px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  background: var(--turf);
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.badge--live { border-color: var(--orange); color: var(--orange); }
.badge--new { border-color: var(--cyan); color: var(--cyan); }

.status-dot {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(47, 243, 208, 0.18);
  animation: dot-pulse 2.6s var(--ease) infinite;
}
.status-dot--live {
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 43, 0.2);
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.32; }
}

/* 图片容器基础规则（页面阶段直接放入 <img>） */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--mid);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-hard);
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.12) contrast(1.05);
}
.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--banner { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame__cap {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 100%;
  padding: 8px 12px;
  background: rgba(7, 17, 14, 0.86);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* 面包屑 */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumb__item { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb__link { color: var(--muted); border-bottom: 1px solid transparent; transition: color 180ms var(--ease), border-color 180ms var(--ease); }
.breadcrumb__link:hover, .breadcrumb__link:focus-visible { color: var(--cyan); border-bottom-color: var(--cyan); }
.breadcrumb__sep { color: var(--line); }
.breadcrumb__current { color: var(--paper); }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 2px solid var(--line);
  background: transparent;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  box-shadow: var(--shadow-hard-sm);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease),
              background-color 180ms var(--ease), color 180ms var(--ease),
              border-color 180ms var(--ease);
}
.btn:hover, .btn:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--char);
}
.btn:active { transform: translate(0, 0); box-shadow: var(--shadow-hard-sm); }

.btn--primary {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--char);
  font-weight: 700;
}
.btn--primary:hover, .btn--primary:focus-visible { background: var(--white); border-color: var(--white); }

.btn--ghost { background: rgba(22, 52, 42, 0.5); }
.btn--ghost:hover, .btn--ghost:focus-visible { border-color: var(--cyan); color: var(--cyan); }

.btn--orange {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--char);
  font-weight: 700;
}

/* ---------- 6. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 400;
  padding: 14px 22px;
  background: var(--cyan);
  color: var(--char);
  border: 2px solid var(--char);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 7. 页头：桌面竖向轨道 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 120;
  width: var(--rail-w);
  background: rgba(7, 17, 14, 0.42);
  border-right: 1px solid var(--line);
  transition: background-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.site-header[data-scrolled] {
  background: var(--turf);
  border-right-color: var(--line);
  box-shadow: 12px 0 30px rgba(0, 0, 0, 0.55);
}

.site-header__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  padding: 26px 18px 18px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

/* 品牌 */
.brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 3px solid var(--line);
}
.brand__mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--paper);
  transition: color 180ms var(--ease);
}
.brand__eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: 0.13em;
  color: var(--muted);
}
.brand:hover .brand__mark,
.brand:focus-visible .brand__mark { color: var(--cyan); }

/* 检索条（链接形态的检索入口） */
.rail-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  background: rgba(22, 52, 42, 0.62);
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--muted);
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease), color 180ms var(--ease);
}
.rail-search:hover, .rail-search:focus-visible {
  border-color: var(--cyan);
  background: var(--mid);
  color: var(--paper);
}
.rail-search__icon {
  position: relative;
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}
.rail-search__icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 7px;
  height: 1.5px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}
.rail-search__text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rail-search__hint {
  flex: 0 0 auto;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

/* 抽屉容器：桌面即普通纵向栏 */
.rail-drawer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1 1 auto;
  min-height: 0;
}

/* 导航 */
.site-nav { display: flex; flex-direction: column; gap: 10px; }
.site-nav__title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: 0.2em;
  color: var(--muted);
  padding-left: 9px;
  border-left: 3px solid var(--cyan);
}
.site-nav__list { display: flex; flex-direction: column; gap: 2px; }
.site-nav__item { display: block; }
.site-nav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 8px;
  border-left: 2px solid transparent;
  color: var(--paper);
  transition: background-color 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}
.site-nav__num {
  flex: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color 180ms var(--ease);
}
.site-nav__label {
  flex: 1 1 auto;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.site-nav__link:hover, .site-nav__link:focus-visible {
  background: var(--mid);
  border-left-color: var(--line);
  color: var(--cyan);
}
.site-nav__link[aria-current="page"] {
  background: var(--mid);
  border-left-color: var(--cyan);
  color: var(--white);
}
.site-nav__link[aria-current="page"] .site-nav__num { color: var(--cyan); }
.site-nav__link[aria-current="page"]::after {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  background: var(--cyan);
}

.rail-cta { width: 100%; margin-top: 2px; }

.rail-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.rail-status__text {
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: 0.07em;
  color: var(--muted);
}

/* 滚动进度 */
.rail-progress {
  flex: 0 0 3px;
  height: 3px;
  background: var(--line);
  overflow: hidden;
}
.rail-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--cyan);
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
  transition: transform 120ms linear;
}

/* 菜单按钮与遮罩：桌面隐藏 */
.nav-toggle { display: none; }
.nav-veil { display: none; }

/* ---------- 8. 页脚 ---------- */
.site-footer {
  background: var(--char);
  color: var(--paper);
  border-top: 3px solid var(--cyan);
}
.site-footer__inner {
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: clamp(36px, 5vw, 64px) var(--gutter) 26px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: clamp(22px, 3vw, 44px);
  padding-bottom: clamp(24px, 3.4vw, 40px);
  border-bottom: 1px solid var(--line);
}

.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand__mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.footer-brand__closing {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 30ch;
}
.footer-brand__meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: 0.13em;
  color: var(--line);
}

.footer-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.footer-col__title {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.2em;
  color: var(--cyan);
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}
.footer-col__list { display: flex; flex-direction: column; gap: 6px; }

.footer-link {
  display: inline-block;
  padding: 2px 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}
.footer-link:hover, .footer-link:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.footer-contact-line {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 0;
  border-left: 1px solid var(--line);
  padding-left: 10px;
}
.footer-contact-line__key {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.18em;
  color: var(--line);
}
.footer-contact-line__val {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
  word-break: break-word;
}

.footer-note {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 76ch;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.7;
  letter-spacing: 0.07em;
  color: var(--muted);
}
.footer-legal__links { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.footer-legal__links .footer-link { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.07em; }
.footer-legal__copy { margin-left: auto; }
.footer-legal__icp { color: var(--line); }

/* ---------- 9. 标签页组件 ---------- */
.tabs {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--turf);
  box-shadow: var(--shadow-hard-sm);
}
.tabs__list {
  display: flex;
  flex-wrap: wrap;
  background: var(--ink);
  border-bottom: 3px solid var(--line);
}
.tabs__tab {
  padding: 13px 18px;
  border-right: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.12em;
  color: var(--muted);
  transition: color 180ms var(--ease), background-color 180ms var(--ease);
}
.tabs__tab:hover { color: var(--paper); background: var(--mid); }
.tabs__tab[aria-selected="true"] {
  background: var(--cyan);
  color: var(--char);
  font-weight: 700;
}
.tabs__panel {
  padding: clamp(18px, 2.6vw, 32px);
  animation: tab-in 180ms var(--ease) both;
}
.tabs__panel[hidden] { display: none; }
@keyframes tab-in {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ---------- 10. 滚动显现 ---------- */
.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js-ready [data-reveal][data-revealed] {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 11. 平板与手机 ---------- */
@media (max-width: 1079px) {
  html { scroll-padding-top: 118px; }

  .site-header {
    position: sticky;
    top: 0;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 17, 14, 0.88);
  }
  .site-header[data-scrolled] {
    background: var(--turf);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6);
  }

  .site-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand toggle"
      "search search"
      "progress progress";
    gap: 10px 12px;
    height: auto;
    padding: 12px var(--gutter) 0;
    overflow: visible;
  }

  .brand {
    grid-area: brand;
    flex-direction: column;
    gap: 3px;
    padding-bottom: 0;
    border-bottom: 0;
    min-width: 0;
  }
  .brand__mark { font-size: 22px; }
  .brand__eyebrow { font-size: 9px; letter-spacing: 0.1em; }

  .nav-toggle {
    grid-area: toggle;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    background: var(--mid);
    color: var(--paper);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    transition: color 180ms var(--ease), border-color 180ms var(--ease), background-color 180ms var(--ease);
  }
  .nav-toggle:hover, .nav-toggle:focus-visible {
    border-color: var(--cyan);
    color: var(--cyan);
  }
  .nav-toggle__bars {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 16px;
    height: 12px;
  }
  .nav-toggle__bars span {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: opacity 180ms var(--ease);
  }
  .site-header[data-open] .nav-toggle { border-color: var(--cyan); color: var(--cyan); }
  .site-header[data-open] .nav-toggle__bars span:nth-child(2) { opacity: 0; }

  .rail-search {
    grid-area: search;
    position: relative;
    z-index: 4;
  }

  .rail-progress {
    grid-area: progress;
    position: relative;
    z-index: 4;
    margin-inline: calc(var(--gutter) * -1);
  }

  /* 底部抽屉 */
  .rail-drawer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 0 0 auto;
    min-height: 0;
    max-height: 80vh;
    overflow-y: auto;
    padding: 20px var(--gutter) calc(22px + env(safe-area-inset-bottom, 0px));
    background: var(--turf);
    border-top: 3px solid var(--cyan);
    box-shadow: 0 -14px 34px rgba(0, 0, 0, 0.6);
    transform: translateY(105%);
    transition: transform 260ms var(--ease);
    visibility: hidden;
  }
  .site-header[data-open] .rail-drawer {
    transform: translateY(0);
    visibility: visible;
  }

  .site-nav__title { padding-left: 8px; }
  .site-nav__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .site-nav__link {
    border-left: 0;
    border-bottom: 2px solid var(--line);
    background: var(--mid);
    padding: 12px 10px;
  }
  .site-nav__link:hover, .site-nav__link:focus-visible {
    border-left: 0;
    border-bottom-color: var(--cyan);
  }
  .site-nav__link[aria-current="page"] {
    border-left: 0;
    border-bottom-color: var(--cyan);
  }
  .site-nav__link[aria-current="page"]::after { display: none; }

  .rail-cta { width: 100%; }

  .rail-status {
    margin-top: 0;
    padding-top: 14px;
  }

  /* 顶部条内容需高于遮罩 */
  .brand, .nav-toggle { position: relative; z-index: 4; }

  .site-header[data-open] .nav-veil {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 2;
    background: rgba(7, 17, 14, 0.74);
  }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-legal__copy { margin-left: 0; }
}

@media (max-width: 720px) {
  .grid--5-7, .grid--7-3, .grid--5-4 { grid-template-columns: 1fr; }
  .media-frame { box-shadow: var(--shadow-hard-sm); }
  .tabs__tab { flex: 1 1 50%; padding: 12px 12px; font-size: 11.5px; text-align: left; }
  .tabs__tab:last-child { border-right: 0; }
}

@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .site-nav__list { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
}

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

/* ---------- 12. 降低动效 ---------- */
@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;
  }
  .js-ready [data-reveal] { opacity: 1; transform: none; }
  .rail-progress__bar { transition: none; }
}
