/* ============================================================
   大发快三看台 · /assets/site.css
   共享外壳：侧边轨道导航、看台页脚、基础组件与排版
   ============================================================ */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
b, strong { font-weight: 700; }

/* ---------- 2. 变量 ---------- */
:root {
  --ice-900: #0B1E2D;
  --ice-700: #143A52;
  --ice-500: #1E5A7A;
  --ice-300: #6FA8C7;
  --ice-100: #D6E8F2;
  --ice-050: #EDF4F9;
  --gold-600: #C89B3C;
  --gold-400: #E4B95B;
  --gold-100: #F7E8C4;
  --paper: #F5F7FA;
  --ink: #0E1116;
  --ink-500: #4A5A68;
  --line: rgba(30, 90, 122, .18);
  --line-soft: rgba(30, 90, 122, .09);

  --rail-w: 272px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --shadow-1: 0 1px 0 rgba(11, 30, 45, .05), 0 18px 40px -28px rgba(11, 30, 45, .5);
  --maxw: 1180px;
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Roboto Mono", "Courier New", monospace;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3. 正文基础 ---------- */
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--paper);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }
}
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; }
p { line-height: 1.85; }
:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection { background: var(--gold-100); color: var(--ice-900); }

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

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--gold-400);
  color: var(--ice-900);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  transform: translateY(-180%);
  transition: transform .22s var(--ease);
}
.skip-link:focus-visible { transform: none; }
@media (min-width: 1024px) {
  .skip-link { left: calc(var(--rail-w) + 14px); }
}

/* ---------- 5. 侧边轨道导航 ---------- */
.seat-rail {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--ice-700);
  background-image:
    radial-gradient(130% 70% at 100% 0%, rgba(111, 168, 199, .30), transparent 62%),
    radial-gradient(90% 60% at 0% 100%, rgba(200, 155, 60, .14), transparent 66%),
    repeating-linear-gradient(115deg, rgba(214, 232, 242, .05) 0 2px, transparent 2px 15px);
  color: var(--ice-100);
  border-bottom: 1px solid rgba(111, 168, 199, .28);
}
.seat-rail__head {
  position: relative;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 16px;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
}
.brand__mark {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 900;
  color: var(--ice-900);
  background: linear-gradient(150deg, var(--gold-400), var(--gold-600));
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
  box-shadow: 0 8px 20px -12px rgba(200, 155, 60, .95);
}
.brand__text { display: block; }
.brand__name {
  display: block;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .06em;
}
.brand__tag {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .24em;
  color: var(--ice-300);
}

/* 汉堡按钮 */
.rail-toggle {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(214, 232, 242, .34);
  background: rgba(214, 232, 242, .08);
  color: var(--ice-100);
  font-size: 13px;
  letter-spacing: .12em;
  transition: background-color .22s var(--ease), border-color .22s var(--ease);
}
.rail-toggle:hover { background: rgba(200, 155, 60, .18); border-color: var(--gold-400); }
.rail-toggle__bars { display: inline-flex; flex-direction: column; gap: 4px; width: 16px; }
.rail-toggle__bars > span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-400);
  transition: transform .26s var(--ease), opacity .2s linear;
}
.rail-toggle[aria-expanded="true"] .rail-toggle__bars > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.rail-toggle[aria-expanded="true"] .rail-toggle__bars > span:nth-child(2) { opacity: 0; }
.rail-toggle[aria-expanded="true"] .rail-toggle__bars > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.rail-toggle__text { font-weight: 600; }

/* 抽屉（移动端） */
.rail-nav {
  position: fixed;
  inset: 0;
  z-index: 110;
  padding: 88px 20px 48px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background-color: var(--ice-900);
  background-image:
    radial-gradient(120% 70% at 88% 0%, rgba(30, 90, 122, .85), transparent 64%),
    repeating-linear-gradient(115deg, rgba(214, 232, 242, .045) 0 2px, transparent 2px 17px);
  visibility: hidden;
  transform: translateX(-102%);
  transition: transform .34s var(--ease), visibility 0s linear .34s;
}
.rail-nav[data-open] {
  visibility: visible;
  transform: none;
  transition: transform .34s var(--ease), visibility 0s linear 0s;
}
@media (max-width: 1023.98px) {
  html[data-drawer] { overflow: hidden; }
}

.rail-nav__caption,
.rail-quick__caption {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .3em;
  color: var(--ice-300);
}
.rail-nav__list { display: grid; gap: 8px; }
.rail-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(214, 232, 242, .12);
  background: rgba(214, 232, 242, .05);
  color: var(--ice-100);
  transition: background-color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease), color .22s var(--ease);
}
.rail-nav__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 22px;
  border-radius: 3px;
  background: var(--gold-400);
  transform: translateY(-50%) scaleY(0);
  transition: transform .26s var(--ease);
}
.rail-nav__link:hover {
  background: rgba(111, 168, 199, .18);
  border-color: rgba(111, 168, 199, .4);
  transform: translateX(3px);
}
.rail-nav__idx {
  flex: none;
  width: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--ice-300);
}
.rail-nav__label { font-size: 17px; font-weight: 500; letter-spacing: .04em; }
.rail-nav__link[aria-current="page"] {
  background: rgba(214, 232, 242, .16);
  border-color: rgba(228, 185, 91, .55);
  color: #FFFFFF;
}
.rail-nav__link[aria-current="page"]::before { transform: translateY(-50%) scaleY(1); }
.rail-nav__link[aria-current="page"] .rail-nav__idx { color: var(--gold-400); }

/* 快捷查号 */
.rail-quick {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px dashed rgba(111, 168, 199, .38);
}
.rail-quick__list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(214, 232, 242, .32);
  background: rgba(214, 232, 242, .07);
  color: var(--ice-100);
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
  transition: background-color .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
}
.chip:hover { background: rgba(200, 155, 60, .2); border-color: var(--gold-400); color: var(--gold-100); }
.chip--light {
  border-color: var(--line);
  background: #FFFFFF;
  color: var(--ice-500);
}
.chip--light:hover { border-color: var(--gold-600); background: var(--gold-100); color: var(--ice-700); }

/* 口径状态 */
.rail-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(111, 168, 199, .24);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--ice-300);
}
.rail-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(200, 155, 60, .18);
  animation: railPulse 3.6s var(--ease) infinite;
}
.rail-status__text b { color: var(--gold-100); }
@keyframes railPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(200, 155, 60, .14); }
  50% { box-shadow: 0 0 0 6px rgba(200, 155, 60, .06); }
}

/* 进度 */
.rail-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 130;
  background: rgba(11, 30, 45, .28);
  pointer-events: none;
}
.rail-progress__fill {
  display: block;
  height: 100%;
  width: calc(var(--p, 0) * 100%);
  background: linear-gradient(90deg, var(--gold-600), var(--gold-400));
  transition: width .1s linear;
}

/* 桌面：竖直轨道 */
@media (min-width: 1024px) {
  .seat-rail {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--rail-w);
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 28px 22px 22px;
    border-bottom: 0;
    border-right: 1px solid rgba(111, 168, 199, .24);
  }
  .seat-rail__head { display: block; padding: 0; }
  .rail-toggle { display: none; }
  .brand__mark { width: 44px; height: 44px; font-size: 19px; }
  .brand__name { font-size: 18px; }

  .rail-nav {
    position: static;
    inset: auto;
    visibility: visible;
    transform: none;
    margin-top: 26px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 0;
    background: none;
    scrollbar-width: thin;
    display: flex;
    flex-direction: column;
  }
  .rail-nav__list { gap: 6px; }
  .rail-nav__link {
    padding: 11px 14px;
    border-radius: 14px;
    border-color: transparent;
    background: transparent;
  }
  .rail-nav__label { font-size: 15px; }
  .rail-nav__link:hover { transform: translateX(3px); }
  .rail-nav__link[aria-current="page"] { border-color: transparent; }

  .rail-quick { margin-top: 22px; padding-top: 18px; }
  .rail-status { margin-top: auto; }

  .rail-progress {
    top: 0;
    left: auto;
    right: 0;
    bottom: 0;
    width: 3px;
    height: 100vh;
    background: rgba(11, 30, 45, .3);
  }
  .rail-progress__fill {
    width: 100%;
    height: calc(var(--p, 0) * 100%);
    background: linear-gradient(180deg, var(--gold-400), var(--gold-600));
    transition: height .1s linear;
  }
}

/* ---------- 6. 页脚 ---------- */
.lookout {
  position: relative;
  background-color: var(--ice-900);
  background-image:
    radial-gradient(110% 80% at 100% 0%, rgba(30, 90, 122, .55), transparent 60%),
    radial-gradient(80% 70% at 0% 100%, rgba(200, 155, 60, .12), transparent 64%);
  color: var(--ice-100);
}
.lookout__ruler {
  height: 16px;
  background-image:
    repeating-linear-gradient(90deg, rgba(111, 168, 199, .55) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(111, 168, 199, .22) 0 1px, transparent 1px 11px);
  background-size: auto 100%, auto 40%;
  background-position: 0 0, 0 0;
  border-bottom: 1px solid rgba(111, 168, 199, .25);
}
.lookout__inner {
  display: grid;
  gap: clamp(26px, 3vw, 44px);
  padding-block: clamp(38px, 5.5vw, 68px) clamp(30px, 4vw, 52px);
}
.lookout__brand { display: grid; gap: 16px; align-content: start; }
.brand--foot { color: var(--ice-100); }
.brand--foot .brand__name { font-size: 19px; }
.lookout__note {
  font-size: 14px;
  line-height: 1.85;
  color: rgba(214, 232, 242, .72);
  max-width: 34ch;
}
.lookout__status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(111, 168, 199, .3);
  background: rgba(111, 168, 199, .1);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--ice-300);
  justify-self: start;
}
.lookout__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-400);
}
.lookout__status b { color: var(--gold-100); }

.lookout__col { display: grid; gap: 14px; align-content: start; }
.lookout__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .26em;
  color: var(--ice-300);
  font-family: var(--font-mono);
}
.lookout__list { display: grid; gap: 10px; }
.lookout__list a {
  display: inline-block;
  font-size: 14.5px;
  color: rgba(214, 232, 242, .82);
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.lookout__list a:hover { color: var(--gold-100); border-color: var(--gold-400); }

.lookout__contact { display: grid; gap: 14px; }
.lookout__contact li { display: grid; gap: 5px; justify-items: start; }
.lookout__key {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  color: var(--ice-300);
}
.lookout__val {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(214, 232, 242, .92);
  word-break: break-all;
}
.copy-btn {
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(111, 168, 199, .38);
  background: rgba(111, 168, 199, .1);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--ice-100);
  transition: background-color .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
}
.copy-btn:hover { background: rgba(200, 155, 60, .22); border-color: var(--gold-400); color: var(--gold-100); }
.lookout__hint {
  min-height: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--gold-100);
}

.lookout__base {
  border-top: 1px solid rgba(111, 168, 199, .24);
  background: rgba(11, 30, 45, .55);
}
.lookout__base-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
  padding-block: 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--ice-300);
}
.lookout__legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.lookout__legal a { color: rgba(214, 232, 242, .82); }
.lookout__legal a:hover { color: var(--gold-100); }
.lookout__icp { color: rgba(214, 232, 242, .62); }

@media (min-width: 768px) {
  .lookout__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lookout__brand { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .lookout__inner { grid-template-columns: 1.5fr 1fr 1fr 1.25fr; }
  .lookout__brand { grid-column: auto; }
}

/* ---------- 7. 容器与分区 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 768px) { .wrap { padding-inline: 32px; } }
@media (min-width: 1024px) { .wrap { padding-inline: 44px; } }

.section { padding-block: clamp(40px, 6vw, 84px); }
.section--tint {
  background-image: linear-gradient(180deg, var(--ice-050), #FFFFFF 82%);
  border-block: 1px solid var(--line-soft);
}
.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(20px, 3vw, 34px);
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--gold-600);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 2px;
  margin-right: 10px;
  background: var(--gold-600);
  transform: translateY(-4px) skewX(-26deg);
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 700;
  line-height: 1.26;
  color: var(--ice-700);
}
.lede {
  max-width: 64ch;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.85;
  color: var(--ink-500);
}
.measure { max-width: 68ch; }

/* ---------- 8. 网格与卡片 ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 26px); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(min(100%, 262px), 1fr)); }
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--split { grid-template-columns: 1.15fr .85fr; align-items: start; }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  box-shadow: var(--shadow-1);
}
.card__title {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--ice-700);
}

/* ---------- 9. 按钮、徽章、注释 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .05em;
  line-height: 1.4;
  transition: background-color .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--solid { background: var(--ice-500); color: #FFFFFF; }
.btn--solid:hover { background: var(--ice-700); }
.btn--gold { background: var(--gold-600); color: var(--ice-900); }
.btn--gold:hover { background: var(--gold-400); }
.btn--ghost { border-color: var(--line); background: #FFFFFF; color: var(--ice-500); }
.btn--ghost:hover { border-color: var(--ice-500); color: var(--ice-700); }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 13px;
  border-radius: var(--radius-pill);
  background: var(--ice-100);
  color: var(--ice-700);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
}
.tag--gold { background: var(--gold-100); color: #7A5A12; }

.note {
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .02em;
  color: var(--ink-500);
}
.rule { height: 1px; border: 0; background: var(--line); margin-block: clamp(20px, 3vw, 34px); }
.divider {
  height: 1px;
  background-image: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
}

.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.15;
  color: var(--ice-700);
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--ink-500);
}

/* ---------- 10. 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--ink-500);
}
.crumbs li { display: flex; align-items: center; }
.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--ice-300);
}
.crumbs a { color: var(--ice-500); border-bottom: 1px solid transparent; }
.crumbs a:hover { border-color: var(--gold-400); color: var(--ice-700); }

/* ---------- 11. 图片 / 图表容器 ---------- */
.frame {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background-image: linear-gradient(155deg, var(--ice-100), #FFFFFF 68%);
}
.frame > img { width: 100%; height: 100%; object-fit: cover; }
.frame--wide { aspect-ratio: 16 / 9; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--square { aspect-ratio: 1 / 1; }
.frame--chart {
  background-color: #FFFFFF;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 100% 25%, 12.5% 100%;
}
.frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 18px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .02em;
  color: var(--ice-100);
  background-image: linear-gradient(180deg, transparent, rgba(11, 30, 45, .86));
}
@media (max-width: 600px) {
  .frame--wide { aspect-ratio: 3 / 2; }
}

/* ---------- 12. 标签页 / 分段控件 ---------- */
.tabs { margin-block: clamp(20px, 3vw, 38px); }
.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  background: var(--ice-050);
}
.tabs__tab {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ice-500);
  transition: background-color .22s var(--ease), color .22s var(--ease);
}
.tabs__tab:hover { background: rgba(30, 90, 122, .1); }
.tabs__tab[aria-selected="true"] {
  background: var(--ice-700);
  color: #FFFFFF;
  box-shadow: 0 10px 22px -16px rgba(11, 30, 45, .9);
}
.tabs__panel { padding-top: 22px; }
.tabs__panel[hidden] { display: none; }

/* ---------- 13. 数据表 ---------- */
.table-scroll { overflow-x: auto; border-radius: var(--radius-md); }
.data-table { font-size: 14px; min-width: 520px; }
.data-table th,
.data-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  white-space: nowrap;
}
.data-table th {
  background: var(--ice-050);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--ink-500);
}
.data-table td.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.data-table tbody tr:hover { background: var(--ice-050); }

/* ---------- 14. 显现动效 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 15. 无障碍与动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
