:root {
  --font-head: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Noto Sans SC', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SF Mono', Consolas, 'Courier New', monospace;

  --c-dark-1: #2A0A33;
  --c-dark-2: #4A0E0E;
  --c-orange: #FF6A00;
  --c-teal: #00BFA6;
  --c-yellow: #FFC300;
  --c-blue: #00D0FF;
  --c-pink: #FF4B8C;
  --c-green: #00E676;
  --c-amber: #FFAB00;
  --c-light: #F5F2EE;
  --c-ink: #1A0A1E;
  --c-light-text: #FFF2E5;
  --c-tag-blue: #4D96FF;
  --c-tag-green: #2BD576;
  --c-tag-red: #FF5A5A;
  --c-tag-purple: #B26BFF;
  --c-link-dark: #0077A0;

  --text-h1: 2.5rem;
  --text-h2: 1.75rem;
  --text-h3: 1.25rem;
  --text-body: 0.95rem;
  --text-small: 0.85rem;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --container-w: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--c-ink);
  background: var(--c-light);
  -webkit-tap-highlight-color: transparent;
}
main { display: block; }
img, svg { display: block; max-width: 100%; }
input, button, textarea, select { font-family: inherit; font-size: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
a { color: var(--c-link-dark); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 0.6em;
  color: inherit;
}
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
[hidden] { display: none !important; }
::selection { background: var(--c-pink); color: var(--c-ink); }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

#main-content { min-height: 50vh; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--c-yellow);
  color: var(--c-ink);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus { left: 0; }

.section { padding: 56px 0; }
.section-light { background: var(--c-light); color: var(--c-ink); }
.section-dark {
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(135deg, var(--c-dark-1) 0%, var(--c-dark-2) 100%);
  background-size: 30px 30px, 30px 30px, auto;
  color: var(--c-light-text);
}
.section-amber {
  background: linear-gradient(135deg, var(--c-yellow) 0%, var(--c-orange) 100%);
  color: var(--c-ink);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}
.section-title { margin: 0; font-size: var(--text-h2); }
.section-title::before {
  content: '◆';
  color: var(--c-orange);
  margin-right: 10px;
  font-size: 1rem;
  vertical-align: middle;
}
.section-dark .section-title::before { color: var(--c-yellow); }
.section-desc { margin: 0; opacity: 0.72; max-width: 480px; }

.page-head {
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(135deg, var(--c-dark-1) 0%, var(--c-dark-2) 100%);
  background-size: 28px 28px, 28px 28px, auto;
  color: var(--c-light-text);
  padding: 48px 0 36px;
  border-bottom: 3px solid var(--c-orange);
}
.page-title {
  margin: 10px 0 8px;
  font-size: 2.2rem;
  line-height: 1.2;
  color: var(--c-light-text);
  text-shadow: 0 0 20px rgba(0, 208, 255, 0.35);
}
.page-lead { margin: 0; max-width: 680px; font-size: 1rem; color: rgba(255, 242, 229, 0.78); }
.page-body { padding: 48px 0 64px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
  font-size: var(--text-small);
  color: rgba(255, 242, 229, 0.7);
}
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li + li::before {
  content: '/';
  margin-right: 6px;
  color: rgba(255, 242, 229, 0.35);
}
.breadcrumb a { color: rgba(255, 242, 229, 0.7); }
.breadcrumb a:hover { color: var(--c-blue); text-decoration: none; }
.breadcrumb [aria-current="page"] { color: var(--c-light-text); font-weight: 700; }

/* 头部 */
.site-header {
  position: relative;
  z-index: 100;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(135deg, var(--c-dark-1) 0%, var(--c-dark-2) 100%);
  background-size: 32px 32px, 32px 32px, auto;
  color: var(--c-light-text);
  border-bottom: 3px solid var(--c-orange);
}
.header-meta {
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 242, 229, 0.12);
}
.header-meta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.header-site-title {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 242, 229, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-site-title::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-pink);
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 8px rgba(255, 75, 140, 0.8);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 300px;
  background: rgba(255, 242, 229, 0.1);
  border: 1px solid rgba(255, 242, 229, 0.2);
  border-radius: var(--radius-pill);
  padding: 5px 16px;
  transition: border-color 0.2s, background 0.2s;
}
.search-wrap:focus-within {
  border-color: var(--c-blue);
  background: rgba(255, 242, 229, 0.16);
}
.search-icon {
  display: inline-flex;
  flex: 0 0 auto;
  color: rgba(255, 242, 229, 0.55);
}
.search-icon svg { display: block; }
.search-input {
  width: 100%;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--c-light-text);
  font-size: var(--text-small);
  padding: 4px 0;
}
.search-input::placeholder { color: rgba(255, 242, 229, 0.45); }
.search-input::-webkit-search-cancel-button { -webkit-appearance: none; }

.header-masthead-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 24px;
  padding-bottom: 20px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  color: var(--c-light-text);
  text-decoration: none;
}
.brand:hover { color: var(--c-light-text); text-decoration: none; }
.brand-text {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--c-light-text);
  text-shadow:
    0 0 6px rgba(0, 208, 255, 0.8),
    0 0 18px rgba(0, 208, 255, 0.4),
    0 0 42px rgba(255, 74, 140, 0.35);
}
.brand-batch {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--c-yellow);
  border: 1px solid rgba(255, 195, 0, 0.5);
  border-radius: 4px;
  padding: 2px 6px;
}

.nav-toggle {
  display: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  cursor: pointer;
  color: var(--c-light-text);
}
.nav-toggle-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}
.nav-toggle-line {
  height: 2px;
  background: var(--c-light-text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle-text { font-size: 0.65rem; line-height: 1; }
.nav-toggle.is-active .nav-toggle-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-active .nav-toggle-line:nth-child(2) { opacity: 0; }
.nav-toggle.is-active .nav-toggle-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 242, 229, 0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}
.nav-list a {
  display: block;
  padding: 10px 18px;
  color: rgba(255, 242, 229, 0.85);
  font-size: 0.9rem;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.nav-list a:hover {
  color: var(--c-light-text);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}
.nav-list a[aria-current="page"] {
  color: var(--c-light-text);
  background: rgba(255, 106, 0, 0.25);
  border-bottom-color: var(--c-orange);
}
.nav-batch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255, 242, 229, 0.6);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 242, 229, 0.12);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  white-space: nowrap;
}
.nav-batch-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-pink);
  box-shadow: 0 0 8px rgba(255, 75, 140, 0.7);
}

/* 页脚 */
.site-footer {
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(225deg, var(--c-dark-2) 0%, var(--c-dark-1) 60%, #12041A 100%);
  background-size: 30px 30px, 30px 30px, auto;
  color: rgba(255, 242, 229, 0.8);
  border-top: 3px solid var(--c-orange);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 40px;
}
.footer-brand {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--c-light-text);
  text-shadow: 0 0 14px rgba(255, 106, 0, 0.45);
  text-decoration: none;
}
.footer-brand:hover { color: var(--c-yellow); text-decoration: none; }
.footer-tagline {
  margin-top: 6px;
  color: rgba(255, 242, 229, 0.6);
  font-size: var(--text-small);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 16px;
  font-size: var(--text-small);
}
.footer-contact-item { color: rgba(255, 242, 229, 0.55); }
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--c-yellow);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255, 242, 229, 0.8); font-size: 0.88rem; }
.footer-links a:hover { color: var(--c-blue); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255, 242, 229, 0.12);
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: var(--text-small);
  color: rgba(255, 242, 229, 0.5);
}
.footer-copy { color: rgba(255, 242, 229, 0.65); }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-legal-links a { color: rgba(255, 242, 229, 0.6); }
.footer-legal-links a:hover { color: var(--c-blue); text-decoration: none; }
.footer-icp { font-family: var(--font-mono); }

/* 按钮与面包屑 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: var(--c-orange); color: var(--c-ink); box-shadow: 0 4px 14px rgba(255, 106, 0, 0.3); }
.btn-primary:hover { background: #FF8A2A; color: var(--c-ink); }
.btn-ghost { background: transparent; border-color: rgba(255, 242, 229, 0.4); color: var(--c-light-text); }
.btn-ghost:hover { border-color: var(--c-blue); color: var(--c-blue); }

/* 图片占位容器 */
.figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 106, 0, 0.1), rgba(0, 208, 255, 0.1)),
    repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.04) 0 8px, transparent 8px 16px);
}
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure-placeholder {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: rgba(26, 10, 30, 0.35);
  font-size: var(--text-small);
  letter-spacing: 0.08em;
}
.section-dark .figure { background: rgba(255, 255, 255, 0.08); }
.section-dark .figure-placeholder { color: rgba(255, 242, 229, 0.4); }

/* 磁贴矩阵 */
.tile-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 132px;
  padding: 20px 18px 16px;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  overflow: hidden;
  color: var(--c-ink);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease;
}
.tile:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  color: var(--c-ink);
  text-decoration: none;
}
.tile-orange { background: var(--c-orange); }
.tile-teal { background: var(--c-teal); }
.tile-yellow { background: var(--c-yellow); }
.tile-blue { background: var(--c-blue); }
.tile-pink { background: var(--c-pink); }
.tile-purple { background: var(--c-tag-purple); color: var(--c-light-text); }
.tile-purple:hover { color: var(--c-light-text); }
.tile-medium { grid-column: span 2; }
.tile-count {
  font-family: var(--font-mono);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
}
.tile-label {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.3;
}
.tile-desc { font-size: 0.8rem; opacity: 0.75; }

/* 卡片网格 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  background: #fff;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 2px 10px rgba(26, 10, 30, 0.06);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--c-blue);
  box-shadow: 0 8px 20px rgba(26, 10, 30, 0.1);
}
.section-dark .card {
  background: rgba(255, 255, 255, 0.08);
  color: var(--c-light-text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.section-dark .card:hover { border-color: var(--c-blue); }

/* 条目列表 */
.entry-list { display: flex; flex-direction: column; gap: 10px; }
.entry-row {
  display: grid;
  grid-template-columns: 44px 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px 16px;
  background: #fff;
  border-radius: var(--radius-md);
  border-left: 4px solid transparent;
  box-shadow: 0 1px 4px rgba(26, 10, 30, 0.05);
  transition: transform 0.2s, box-shadow 0.2s, border-left-color 0.2s;
}
.entry-row:hover {
  transform: translateX(4px);
  border-left-color: var(--c-blue);
  box-shadow: 0 4px 14px rgba(26, 10, 30, 0.1);
}
.section-dark .entry-row {
  background: rgba(255, 255, 255, 0.08);
  color: var(--c-light-text);
}
.entry-index {
  font-family: var(--font-mono);
  font-size: var(--text-small);
  text-align: center;
  color: rgba(26, 10, 30, 0.4);
}
.section-dark .entry-index { color: rgba(255, 255, 255, 0.5); }
.entry-info { display: flex; flex-direction: column; min-width: 0; }
.entry-title { font-weight: 700; word-break: break-all; }
.entry-meta { font-size: var(--text-small); color: rgba(26, 10, 30, 0.55); }
.section-dark .entry-meta { color: rgba(255, 255, 255, 0.6); }
.entry-batch {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--c-link-dark);
  background: rgba(0, 208, 255, 0.12);
  border-radius: 6px;
  padding: 2px 8px;
  white-space: nowrap;
}
.section-dark .entry-batch { color: var(--c-blue); background: rgba(0, 208, 255, 0.15); }

/* 标签云 */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-item {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--c-ink);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.tag-item:hover {
  transform: scale(1.08);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  color: var(--c-ink);
  text-decoration: none;
}
.tag-hot { background: var(--c-tag-red); }
.tag-mid { background: var(--c-tag-green); }
.tag-low { background: var(--c-tag-blue); }
.tag-topic { background: var(--c-tag-purple); }

/* 状态徽标 */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}
.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.badge-new { background: var(--c-pink); color: var(--c-ink); }
.badge-done { background: var(--c-green); color: var(--c-ink); }
.badge-updating { background: var(--c-amber); color: var(--c-ink); }

/* 序号标记 */
.index-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  background: var(--c-orange);
  color: var(--c-ink);
  font-family: var(--font-mono);
  font-size: var(--text-small);
  font-weight: 700;
}
.index-marker-mute { background: rgba(26, 10, 30, 0.12); color: rgba(26, 10, 30, 0.7); }
.section-dark .index-marker-mute { background: rgba(255, 255, 255, 0.12); color: rgba(255, 242, 229, 0.65); }

/* 指标条 */
.metric-bar {
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.metric-bar-fill {
  display: block;
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--c-orange), var(--c-yellow));
}
.section-dark .metric-bar { background: rgba(255, 255, 255, 0.15); }

/* 索引条 */
.index-bar { display: flex; flex-wrap: wrap; gap: 6px; }
.index-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: rgba(26, 10, 30, 0.06);
  font-family: var(--font-mono);
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--c-ink);
  transition: background 0.2s, transform 0.2s;
}
.index-bar a:hover {
  background: var(--c-yellow);
  color: var(--c-ink);
  text-decoration: none;
  transform: translateY(-2px);
}
.index-bar a[aria-current="true"] { background: var(--c-blue); color: var(--c-ink); }
.section-dark .index-bar a { background: rgba(255, 255, 255, 0.1); color: var(--c-light-text); }
.section-dark .index-bar a:hover { background: var(--c-yellow); color: var(--c-ink); }
.section-dark .index-bar a[aria-current="true"] { background: var(--c-blue); color: var(--c-ink); }

/* 横向滑轨 */
.h-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 4px 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--c-orange) transparent;
}
.h-scroll::-webkit-scrollbar { height: 6px; }
.h-scroll::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.05); border-radius: 3px; }
.h-scroll::-webkit-scrollbar-thumb { background: var(--c-orange); border-radius: 3px; }
.section-dark .h-scroll::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.1); }

/* 对照表格 */
.data-table-wrap { overflow-x: auto; border-radius: var(--radius-md); box-shadow: 0 1px 4px rgba(26, 10, 30, 0.05); }
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: var(--text-body);
}
.data-table th,
.data-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(26, 10, 30, 0.08);
}
.data-table th {
  background: var(--c-yellow);
  color: var(--c-ink);
  font-weight: 800;
  font-size: var(--text-small);
  white-space: nowrap;
}
.data-table tbody tr { transition: background 0.15s; }
.data-table tbody tr:hover { background: rgba(0, 208, 255, 0.08); }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table .num { font-family: var(--font-mono); }
.section-dark .data-table { background: rgba(255, 255, 255, 0.08); color: var(--c-light-text); }
.section-dark .data-table th { background: rgba(255, 195, 0, 0.85); color: var(--c-ink); }
.section-dark .data-table td { border-bottom-color: rgba(255, 255, 255, 0.1); }
.section-dark .data-table tbody tr:hover { background: rgba(0, 208, 255, 0.1); }

/* 分段切换 */
.seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  background: rgba(26, 10, 30, 0.08);
  border-radius: var(--radius-pill);
  padding: 4px;
}
.seg-btn {
  appearance: none;
  border: none;
  background: transparent;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: var(--text-small);
  color: rgba(26, 10, 30, 0.6);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.seg-btn:hover { color: var(--c-ink); }
.seg-btn[aria-selected="true"] {
  background: var(--c-blue);
  color: var(--c-ink);
  box-shadow: 0 2px 10px rgba(0, 208, 255, 0.35);
}
.section-dark .seg { background: rgba(255, 255, 255, 0.1); }
.section-dark .seg-btn { color: rgba(255, 242, 229, 0.7); }
.section-dark .seg-btn:hover { color: var(--c-light-text); }
.section-dark .seg-btn[aria-selected="true"] { background: var(--c-blue); color: var(--c-ink); }
[role="tabpanel"]:focus-visible { outline-offset: 4px; }

:focus-visible {
  outline: 3px solid var(--c-blue);
  outline-offset: 2px;
  border-radius: 2px;
}
.section-dark :focus-visible { outline-color: var(--c-yellow); }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .search-wrap { width: 260px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .header-masthead-inner { padding-left: 52px; padding-right: 52px; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: linear-gradient(180deg, var(--c-dark-1) 0%, var(--c-dark-2) 100%);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4);
  }
  .site-nav[data-open="true"] { display: block; }
  .nav-inner {
    flex-direction: column;
    align-items: stretch;
    padding-top: 8px;
    padding-bottom: 16px;
  }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a {
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid transparent;
  }
  .nav-list a[aria-current="page"] {
    border-left-color: var(--c-orange);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-batch { align-self: flex-start; margin-top: 12px; }
}

@media (max-width: 768px) {
  .header-meta-inner { justify-content: flex-end; }
  .header-site-title { display: none; }
  .search-wrap { width: 100%; }
  .header-masthead-inner { padding-top: 16px; padding-bottom: 14px; }
  .brand-text { font-size: 1.8rem; }
  .brand-batch { display: none; }
  .page-head { padding: 36px 0 28px; }
  .page-title { font-size: 1.7rem; }
  .section { padding: 40px 0; }
  .tile-medium { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
  .tile-matrix { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .card-grid { grid-template-columns: 1fr; }
  .entry-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
  }
  .entry-info { flex: 1 1 calc(100% - 60px); }
  .entry-batch { margin-left: 42px; }
}

@media (max-width: 480px) {
  .header-masthead-inner { padding-left: 48px; padding-right: 48px; }
  .brand-text { font-size: 1.5rem; }
  .tile-matrix { grid-template-columns: 1fr 1fr; }
  .seg { width: 100%; }
  .seg-btn { flex: 1 1 auto; padding: 8px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
