:root {
  color-scheme: light;
  --bg: #f7f7f7;
  --card: #ffffff;
  --text: #1c1c1c;
  --muted: #5c5c5c;
  --border: #e5e5e5;
  --accent: #2c5aa0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  text-align: justify;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 48px 0 32px;
  text-align: center;
}

.hero h1 {
  font-size: 2.2rem;
  margin-top: 8px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--muted);
}

.subhead {
  margin-top: 12px;
  color: var(--muted);
}

main {
  padding: 32px 0 48px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.04);
}

.card h2 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.muted {
  color: var(--muted);
  font-size: 0.95rem;
}

.figure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.figure-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.figure-accordion details {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px 18px;
  background: #fafafa;
}

.figure-accordion summary {
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 12px;
  list-style: none;
}

.figure-accordion summary::-webkit-details-marker {
  display: none;
}

.figure-accordion figure {
  border: none;
  border-radius: 0;
  background: transparent;
}

figure {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fafafa;
}

figure img {
  width: 100%;
  display: block;
}

figcaption {
  padding: 14px 16px 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.examples-block {
  margin-bottom: 28px;
}

.examples-block h3 {
  margin-bottom: 14px;
  font-size: 1.15rem;
}

.table-wrap {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

.table th,
.table td {
  border: 1px solid var(--border);
  padding: 12px 14px;
  vertical-align: top;
  text-align: justify;
  font-size: 0.95rem;
  white-space: normal;
  overflow-wrap: break-word;
}

.table th {
  background: #f0f2f6;
  font-weight: 600;
}

.audio-list,
.text-list {
  display: grid;
  gap: 10px;
}

.audio-item,
.text-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.audio-item span,
.text-item span {
  font-size: 0.85rem;
  color: var(--muted);
}

.audio-item audio {
  width: 100%;
  min-width: 220px;
}

.segment-sequence,
.segment-text {
  display: block;
}

.segment-pill {
  display: inline-flex;
  align-items: center;
  border: none;
  border-radius: 0;
  padding: 0;
  font-weight: 600;
  font-size: 0.86rem;
  line-height: 1.2;
}

.segment-pill--text {
  font-weight: 500;
  font-size: 0.9rem;
}

.segment-separator,
.segment-divider {
  color: var(--muted);
  font-weight: 600;
}

.segment-divider {
  font-size: 0.9rem;
}

.duration-text {
  line-height: 1.6;
}

.duration-highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  color: #1d39c4;
  font-weight: 600;
  margin: 0 2px;
}

.duration-highlight__text {
  font-weight: 500;
}

.duration-badge {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  font-size: 0.78rem;
  color: inherit;
  font-weight: 600;
}

.footer {
  padding: 32px 0 40px;
  color: var(--muted);
}

code {
  background: #f1f1f1;
  padding: 2px 6px;
  border-radius: 4px;
}

@media (max-width: 720px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1 {
    font-size: 1.8rem;
  }
}

.emotion-tables {
  display: grid;
  gap: 24px;
}

.emotion-table h4 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.table--duration th:first-child,
.table--duration td:first-child {
  min-width: 260px;
}

.table th:first-child,
.table td:first-child {
  min-width: 150px;
}

.table th:nth-child(2),
.table td:nth-child(2) {
  min-width: 240px;
}

.figure-block {
  margin-top: 16px;
}

.figure-block summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 12px;
}

.figure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 16px;
}

.figure-grid figure {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.figure-grid img {
  width: 100%;
  height: 320px;            
  object-fit: contain;     
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.figure-grid figcaption {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #4b5563;
}


@media (max-width: 768px) {
  .figure-grid {
    grid-template-columns: 1fr;
  }

  .figure-grid img {
    height: 260px;
  }
}

/* 表头统一居中 */
.table th {
  text-align: center;
  font-weight: 600;
}

/* 表格内容默认左对齐 */
.table td {
  text-align: left;
}

/* 音频列单独居中 */
.table td audio {
  display: block;
  margin: 0 auto;
}

.table-caption {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #6b7280;
  text-align: justify;       
}

.caption-icon {
  margin-right: 6px;
}

.audio-label {
  font-weight: 600;     
  margin-bottom: 4px;
  display: inline-block;
}

