* {
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  color: #1a1a1a;
  background: #f8f9fa;
  margin: 0;
  padding: 1rem 1.5rem 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #2c3e50;
}

h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
  color: #2c3e50;
}

.subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

.intro {
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  background: #e8eef3;
  border-radius: 6px;
  font-size: 0.9rem;
}

.table-wrap {
  overflow-x: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.benign {
  font-weight: 700;
  color: #0d7d3d;
}

.mental-damaged {
  font-weight: 700;
  color: #b91c1c;
}

thead {
  background: #2c3e50;
  color: #fff;
}

thead th.benign {
  color: #22c55e;
}

thead th.mental-damaged {
  color: #ef4444;
}

th {
  text-align: left;
  padding: 0.65rem 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

th:nth-child(1) { width: 2.5em; }
th:nth-child(2) { min-width: 140px; }
th:nth-child(3) { min-width: 220px; }
th:nth-child(4) { min-width: 160px; }
th:nth-child(5), th:nth-child(6) { min-width: 160px; }

tbody tr {
  border-bottom: 1px solid #e0e4e8;
}

tbody tr:nth-child(even) {
  background: #fafbfc;
}

tbody tr:hover {
  background: #f0f4f8;
}

td {
  padding: 0.6rem 0.75rem;
  vertical-align: middle;
}

td:nth-child(1) {
  font-weight: 600;
  color: #555;
}

td:nth-child(3) {
  max-width: 320px;
  font-style: italic;
  color: #333;
}

audio {
  display: block;
  width: 100%;
  min-width: 180px;
  max-width: 240px;
  height: 32px;
}

footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e0e4e8;
  font-size: 0.8rem;
  color: #666;
}

@media (max-width: 900px) {
  th:nth-child(3), td:nth-child(3) {
    max-width: 200px;
  }
  audio {
    min-width: 140px;
    max-width: 200px;
  }
}
