/* ============================================================
   midnight-ak.com.cn — 共享样式表 /assets/site.css
   午夜竞技场 · 非对称编辑部版式 · 侧边轨道导航
   ============================================================ */

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

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

body,
h1, h2, h3, h4, h5,
p, ul, ol, figure, blockquote, dl, dd { margin: 0; }

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

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

button { font: inherit; color: inherit; }

table { border-collapse: collapse; }

/* ---------- 变量 ---------- */
:root {
  --ink: #080B1A;
  --carbon: #121420;
  --edge: #1E2233;
  --white: #E8ECF4;
  --ash: #8A93A8;
  --neon: #3DFFA2;
  --violet: #7B5CFF;
  --amber: #FFC24B;
  --green-ink: #0C2A20;
  --violet-ink: #1A1433;

  --rail-w: 88px;
  --rail-h-mobile: 64px;
  --maxw: 1440px;
  --gut: 24px;

  --sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 基础排版 ---------- */
body {
  min-height: 100vh;
  padding-left: var(--rail-w);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--white);
  background-color: var(--ink);
  background-image:
    radial-gradient(1100px 620px at 6% -10%, rgba(123, 92, 255, .18), transparent 60%),
    radial-gradient(880px 520px at 98% 0%, rgba(61, 255, 162, .10), transparent 58%);
  background-repeat: no-repeat;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.012em;
}

h1 { font-size: clamp(34px, 5.4vw, 56px); }
h2 { font-size: clamp(26px, 3.6vw, 40px); }
h3 { font-size: clamp(20px, 2.4vw, 28px); }

p { overflow-wrap: break-word; }

a { color: var(--neon); }

strong { font-weight: 700; }

code, kbd, samp { font-family: var(--mono); font-size: .92em; }

main { display: block; }

:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}

/* ---------- skip link ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: calc(var(--rail-w) + 12px);
  z-index: 300;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #04200F;
  background: var(--neon);
  border-radius: 2px;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform .22s var(--ease);
}

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

/* ============================================================
   侧边轨道 / 头部
   ============================================================ */
.site-rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 60;
  width: var(--rail-w);
  display: flex;
  background: linear-gradient(180deg, #0B0F20 0%, #080B1A 62%, #070A16 100%);
  border-right: 1px solid var(--edge);
}

.rail-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 22px 10px 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

/* 品牌 */
.rail-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.rail-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--edge);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--neon);
  background:
    radial-gradient(circle at 30% 24%, rgba(61, 255, 162, .26), transparent 66%),
    var(--carbon);
  box-shadow: 0 0 0 1px rgba(61, 255, 162, .07), 0 10px 26px rgba(0, 0, 0, .55);
  transition: border-color .24s var(--ease), box-shadow .24s var(--ease);
}

.rail-brand:hover .rail-mark {
  border-color: rgba(61, 255, 162, .55);
  box-shadow: 0 0 0 1px rgba(61, 255, 162, .18), 0 12px 30px rgba(0, 0, 0, .6);
}

.rail-wordmark {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--ash);
  white-space: nowrap;
}

.rail-tagline {
  display: none;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--ash);
}

/* 移动端按钮（桌面隐藏） */
.rail-toggle { display: none; }

/* 导航 */
.rail-nav {
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  align-items: center;
}

.rail-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.rail-item { width: 100%; }

.rail-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 4px;
  font-size: 11.5px;
  letter-spacing: .14em;
  line-height: 1;
  color: var(--ash);
  text-decoration: none;
  border-radius: 2px;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}

.rail-num { display: none; }

.rail-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.rail-link:hover {
  color: var(--white);
  background: rgba(232, 236, 244, .045);
}

.rail-link[aria-current="page"] {
  color: var(--neon);
  background: rgba(61, 255, 162, .07);
}

.rail-link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  width: 2px;
  height: 26px;
  background: var(--neon);
  transform: translateY(-50%);
}

/* 轨道底部行动区 */
.rail-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.btn-rail {
  width: 100%;
  max-width: 68px;
  padding: 13px 6px;
  font-size: 12px;
  letter-spacing: .12em;
  line-height: 1;
}

.btn-rail-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.btn-rail--alt { display: none; }

/* 滚动进度线 */
.rail-progress {
  position: absolute;
  top: 0;
  right: -1px;
  width: 2px;
  height: 100%;
  background: rgba(30, 34, 51, .8);
  pointer-events: none;
}

.rail-progress span {
  display: block;
  width: 100%;
  height: var(--rail-progress, 0%);
  background: linear-gradient(180deg, var(--neon), var(--violet));
  transition: height .08s linear;
}

/* 抽屉遮罩 */
.rail-scrim {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(4, 6, 14, .72);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}

/* ============================================================
   通用按钮
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.2;
  color: var(--white);
  background: var(--carbon);
  border: 1px solid var(--edge);
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .22s var(--ease), color .22s var(--ease),
              background-color .22s var(--ease), transform .22s var(--ease);
}

.btn:hover {
  border-color: rgba(61, 255, 162, .5);
  color: var(--neon);
  transform: translateY(-1px);
}

.btn-neon {
  color: var(--neon);
  font-weight: 700;
  background: var(--green-ink);
  border-color: rgba(61, 255, 162, .42);
}

.btn-neon:hover {
  color: #04200F;
  background: var(--neon);
  border-color: var(--neon);
}

.btn-ghost {
  background: transparent;
  border-color: var(--edge);
  color: var(--ash);
}

.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(232, 236, 244, .4);
}

/* ============================================================
   布局容器与网格
   ============================================================ */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 56px);
  padding-right: clamp(20px, 4vw, 56px);
}

.section {
  padding-top: clamp(48px, 6vw, 100px);
  padding-bottom: clamp(48px, 6vw, 100px);
}

.section + .section {
  border-top: 1px solid var(--edge);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gut);
}

.col-narrow { grid-column: 1 / span 3; }
.col-wide   { grid-column: 4 / span 9; }
.col-half   { grid-column: span 6; }

.prose { max-width: 66ch; }

.prose p + p { margin-top: 1em; }

/* ============================================================
   面包屑
   ============================================================ */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 26px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ash);
}

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

.crumbs li + li::before {
  content: "/";
  color: var(--edge);
}

.crumbs a {
  color: var(--ash);
  text-decoration: none;
  transition: color .2s var(--ease);
}

.crumbs a:hover { color: var(--neon); }

.crumbs [aria-current="page"] { color: var(--white); }

/* ============================================================
   章节头部：编号 + 纵向注释 + 标题
   ============================================================ */
.sec-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--edge);
  margin-bottom: clamp(24px, 3vw, 44px);
}

.sec-num {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--neon);
  padding-top: 6px;
}

.sec-title {
  margin: 0;
  font-size: clamp(26px, 3.8vw, 56px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.015em;
}

.sec-note {
  flex: 0 0 auto;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--ash);
  margin-left: auto;
}

/* ============================================================
   面板 / 卡片
   ============================================================ */
.panel {
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--carbon);
  border: 1px solid var(--edge);
  border-radius: 2px;
}

.panel--green {
  background: var(--green-ink);
  border-color: rgba(61, 255, 162, .3);
}

.panel--violet {
  background: var(--violet-ink);
  border-color: rgba(123, 92, 255, .34);
}

/* ============================================================
   数据表
   ============================================================ */
.data-table {
  width: 100%;
  font-size: 14px;
}

.data-table th {
  padding: 10px 12px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .1em;
  color: var(--ash);
  text-align: left;
  border-bottom: 1px solid var(--edge);
  white-space: nowrap;
}

.data-table td {
  padding: 12px;
  border-bottom: 1px solid var(--edge);
  font-variant-numeric: tabular-nums;
}

.data-table tbody tr {
  transition: background-color .18s var(--ease);
}

.data-table tbody tr:hover {
  background: rgba(232, 236, 244, .045);
}

.data-table td.num,
.data-table th.num {
  font-family: var(--mono);
  text-align: right;
}

.num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   标签与状态点
   ============================================================ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ash);
  border: 1px solid var(--edge);
  border-radius: 2px;
}

.tag--neon {
  color: var(--neon);
  background: rgba(61, 255, 162, .07);
  border-color: rgba(61, 255, 162, .4);
}

.tag--violet {
  color: #B9A7FF;
  background: rgba(123, 92, 255, .12);
  border-color: rgba(123, 92, 255, .42);
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 194, 75, .14);
}

/* ============================================================
   折叠内容组
   ============================================================ */
.accordion {
  border-top: 1px solid var(--edge);
}

.accordion details {
  border-bottom: 1px solid var(--edge);
}

.accordion summary {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  transition: color .2s var(--ease);
}

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

.accordion summary::before {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 15px;
  color: var(--neon);
  transition: transform .24s var(--ease);
}

.accordion details[open] summary { color: var(--neon); }

.accordion details[open] summary::before {
  content: "–";
  transform: rotate(180deg);
}

.accordion .acc-body {
  padding: 0 0 20px 30px;
  max-width: 66ch;
  font-size: 15px;
  color: rgba(232, 236, 244, .82);
}

.accordion .acc-body p + p { margin-top: .8em; }

/* ============================================================
   可复用媒体容器（页面阶段放入图片 / 内联 SVG）
   ============================================================ */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--carbon);
  border: 1px solid var(--edge);
  border-radius: 2px;
}

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

.media img,
.media svg,
.media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media__caption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--ash);
}

/* ============================================================
   滚动显现
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .32s ease-out, transform .32s ease-out;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   页脚
   ============================================================ */
.site-foot {
  position: relative;
  margin-top: clamp(56px, 8vw, 120px);
  border-top: 1px solid var(--edge);
  background: linear-gradient(180deg, #0A0E1E 0%, #080B1A 72%);
}

.site-foot::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: min(420px, 42%);
  height: 1px;
  background: linear-gradient(90deg, var(--neon), rgba(61, 255, 162, 0));
}

.foot-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 5.5vw, 78px) clamp(20px, 4vw, 56px) 28px;
}

.foot-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: clamp(30px, 4.5vw, 54px);
}

.foot-kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--ash);
  text-transform: uppercase;
}

.foot-brand {
  font-size: clamp(34px, 6vw, 72px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--white);
}

.foot-tagline {
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--ash);
}

.foot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  padding-bottom: clamp(26px, 4vw, 44px);
  border-bottom: 1px solid var(--edge);
}

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

.foot-heading {
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .18em;
  color: var(--neon);
}

.foot-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.foot-list a {
  display: inline-block;
  font-size: 15px;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.foot-list a:hover {
  color: var(--neon);
  border-bottom-color: rgba(61, 255, 162, .55);
}

.foot-note {
  margin-bottom: 8px;
  max-width: 36ch;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ash);
}

.foot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid var(--edge);
  font-size: 13px;
  color: var(--ash);
}

.foot-legal {
  max-width: 58ch;
  color: var(--white);
}

.foot-stamp {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
}

.foot-base {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--ash);
}

.foot-icp { color: var(--ash); }

/* ============================================================
   响应式：平板
   ============================================================ */
@media (max-width: 1180px) {
  .col-narrow,
  .col-wide,
  .col-half { grid-column: 1 / -1; }

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

/* ============================================================
   响应式：移动端 —— 轨道收为顶栏 + 抽屉
   ============================================================ */
@media (max-width: 900px) {
  body {
    padding-left: 0;
    padding-top: var(--rail-h-mobile);
  }

  body.nav-open { overflow: hidden; }

  .skip-link { left: 12px; }

  .site-rail {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: var(--rail-h-mobile);
    flex-direction: row;
    border-right: 0;
    border-bottom: 1px solid var(--edge);
    background: #0A0E1E;
  }

  .rail-shell {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px;
    overflow: visible;
  }

  .rail-brand {
    flex-direction: row;
    gap: 10px;
  }

  .rail-mark {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .rail-wordmark {
    writing-mode: horizontal-tb;
    font-size: 13px;
    letter-spacing: .06em;
    color: var(--white);
  }

  .rail-tagline {
    display: none;
  }

  .rail-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    font-size: 13px;
    letter-spacing: .08em;
    color: var(--white);
    background: transparent;
    border: 1px solid var(--edge);
    border-radius: 2px;
    cursor: pointer;
    transition: border-color .2s var(--ease), color .2s var(--ease);
  }

  .rail-toggle:hover { border-color: rgba(61, 255, 162, .5); color: var(--neon); }

  .rail-toggle-bars {
    position: relative;
    display: block;
    width: 18px;
    height: 2px;
    background: var(--neon);
    transition: background-color .22s var(--ease);
  }

  .rail-toggle-bars::before,
  .rail-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: var(--neon);
    transition: transform .26s var(--ease);
  }

  .rail-toggle-bars::before { top: -6px; }
  .rail-toggle-bars::after { top: 6px; }

  [data-nav-toggle][aria-expanded="true"] .rail-toggle-bars { background: transparent; }
  [data-nav-toggle][aria-expanded="true"] .rail-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  [data-nav-toggle][aria-expanded="true"] .rail-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  /* 抽屉 */
  .rail-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 70;
    display: block;
    width: min(82vw, 320px);
    padding: 84px 18px 28px;
    overflow-y: auto;
    background: var(--carbon);
    border-right: 1px solid var(--edge);
    box-shadow: 24px 0 60px rgba(0, 0, 0, .55);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-102%);
    transition: transform .34s var(--ease), opacity .24s var(--ease), visibility .28s var(--ease);
  }

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

  .rail-list { gap: 2px; }

  .rail-link {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 14px 12px;
    font-size: 15px;
    letter-spacing: .04em;
    color: var(--white);
    border-left: 2px solid transparent;
  }

  .rail-num {
    display: inline-block;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .1em;
    color: var(--ash);
  }

  .rail-label {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
  }

  .rail-link[aria-current="page"] {
    border-left-color: var(--neon);
    background: rgba(61, 255, 162, .08);
  }

  .rail-link[aria-current="page"] .rail-num { color: var(--neon); }

  .rail-link[aria-current="page"]::before { display: none; }

  /* 抽屉底部按钮 */
  .rail-actions {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 70;
    width: min(82vw, 320px);
    flex-direction: row;
    gap: 10px;
    padding: 16px 18px 22px;
    background: var(--carbon);
    border-top: 1px solid var(--edge);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-102%);
    transition: transform .34s var(--ease), opacity .24s var(--ease), visibility .28s var(--ease);
  }

  .rail-nav[data-open] ~ .rail-actions {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .btn-rail {
    max-width: none;
    flex: 1 1 auto;
    padding: 12px 14px;
    font-size: 14px;
    letter-spacing: .06em;
  }

  .btn-rail-label { writing-mode: horizontal-tb; }

  .btn-rail--alt { display: inline-flex; }

  /* 遮罩 */
  body.nav-open .rail-scrim,
  .site-rail:has(.rail-nav[data-open]) .rail-scrim {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .rail-progress { display: none; }

  .sec-note { display: none; }

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

/* ============================================================
   响应式：小屏手机
   ============================================================ */
@media (max-width: 620px) {
  body { font-size: 15.5px; }

  .wrap {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .sec-head {
    gap: 12px;
    margin-bottom: 22px;
  }

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

  .foot-note { max-width: none; }

  .foot-legal { max-width: none; }

  .data-table th,
  .data-table td { padding: 10px 8px; }

  .foot-base { justify-content: flex-start; }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .rail-progress span { transition: none; }
}
