body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #fafafa;
  color: #333;
  line-height: 1.6;
}

header {
  background: #004080;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Links inside header */
.header-links {
  margin-top: 1rem;
  font-size: 1.1rem;
}

.header-links a {
  color: #ffdd55;            /* golden-yellow works well on dark blue */
  text-decoration: none;
  font-weight: 600;
}

.header-links a:hover {
  text-decoration: underline;
}

.header-links span {
  margin: 0 10px;
  color: #e0e0e0;
}



h1, h2, h3 {
  text-align: center;
}

.section {
  margin-bottom: 2.5rem;
}

/* 摘要部分 */
.abstract {
  font-size: 1rem;
  background: #f9fbfd;
  border-left: 4px solid #004080;
  padding: 1rem 1.2rem;
  border-radius: 8px;
}

/* 架构图部分 */
.architecture {
  text-align: center;
  margin-top: 1.5rem;
}

.architecture img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

/* Demo 部分 */
.demo-section {
  margin-bottom: 2rem;
}

.audio-sample {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f0f4f8;
  border-radius: 8px;
  padding: 1rem;
  margin: 0.5rem 0;
}



audio {
  width: 300px;
}

footer {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin: 2rem 0;
}


/* --- Table Container 可滚动表格样式 --- */
.table-container {
  overflow-x: auto;       /* 启用横向滚动条 */
  margin-bottom: 20px;    /* 表格下方留出空隙 */
  -webkit-overflow-scrolling: touch; /* 适配移动端平滑滚动 */
}

/* 表格基础样式 */
.table-container table {
  min-width: 800px;       /* 避免被压缩 */
  border-collapse: collapse;
  text-align: center;
}

/* 表头和单元格样式 */
.table-container th,
.table-container td {
  padding: 10px;
  vertical-align: middle;
}

/* 音频播放器宽度控制 */
.table-container audio {
  width: 160px;
}

/* 高亮单元格背景色 */
.table-container .highlight {
  background-color: #d9ebf5;
}

/* 让表格在滚动时有轻微阴影效果（可选） */
.table-container {
  box-shadow: inset 0 -1px 0 #ddd;
}

html {
    scroll-behavior: smooth;
}

.toc {
    max-width: 600px;
    margin: 0 auto;
}

.toc li {
    margin: 8px 0;
}

.toc a {
    text-decoration: none;
}

.toc a:hover {
    text-decoration: underline;
}

html {
    scroll-behavior: smooth;
}

.toc-inline {
    text-align: center;
    margin: 20px 0;
}

.toc-inline a {
    text-decoration: none;
    margin: 0 8px;
}