/* Плашка ↔ персонаж по классам из Excel (Answers adjusted) */

.plates-matchup-page {
  padding-bottom: 2rem;
}

.plates-matchup-lead {
  color: azure;
  margin: 0 0 1rem;
  line-height: 1.5;
  font-size: clamp(14px, 3.2vw, 16px);
  max-width: 52em;
}

.plates-matchup-lead code {
  font-size: 0.92em;
}

.plates-matchup-meta {
  margin: 0 0 1rem;
  font-size: 13px;
  color: rgba(200, 210, 255, 0.8);
}

.plates-matchup-filter {
  margin: 0 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.plates-matchup-filter label {
  color: #e0e4ff;
  font-size: 14px;
}

.plates-matchup-filter input {
  flex: 1;
  min-width: 200px;
  max-width: 420px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(170, 188, 254, 0.35);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 15px;
}

.plates-matchup-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.plates-matchup-toc a {
  display: inline-block;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(220, 155, 61, 0.4);
  border-radius: 8px;
  color: #dc9b3d;
  font-size: 13px;
  text-decoration: none;
  line-height: 1.2;
}

.plates-matchup-section {
  margin-top: 2rem;
  scroll-margin-top: 4.5rem;
}

.plates-matchup-section h2 {
  color: #fff;
  font-size: clamp(1.05rem, 3.5vw, 1.35rem);
  margin: 0 0 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(170, 188, 254, 0.25);
}

.plates-matchup-section .plates-matchup-count {
  font-weight: 400;
  color: rgba(200, 210, 255, 0.75);
  font-size: 0.9em;
}

.plates-matchup-table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid rgba(170, 188, 254, 0.2);
}

.plates-matchup-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.plates-matchup-table th,
.plates-matchup-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(170, 188, 254, 0.12);
}

.plates-matchup-table thead th {
  background: rgba(30, 25, 45, 0.95);
  color: #aab8ff;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 1;
}

.plates-matchup-table tbody tr:hover td {
  background: rgba(103, 58, 183, 0.12);
}

.plates-matchup-table td.plate-cell {
  font-weight: 600;
  color: #fff;
  min-width: 10em;
}

.plates-matchup-table td.type-cell {
  white-space: nowrap;
  color: rgba(220, 200, 255, 0.95);
  width: 6em;
}

.plates-matchup-table tr[data-hidden="1"] {
  display: none;
}

.plates-matchup-table tbody tr.section-empty-hint td {
  color: rgba(180, 190, 220, 0.7);
  font-style: italic;
}
