.history-section {
  background: var(--ink-3);
  border: 1px solid var(--wire);
  border-radius: var(--r2);
  overflow: hidden;
}

.history-selector-strip {
  padding: 28px 32px;
  background: var(--ink-2); border-bottom: 1px solid var(--wire);
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}

.history-selector-strip label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}

.pair-inner { padding: 32px; }

.pair-nameplate {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 24px; background: var(--ink-4);
  border: 1px solid var(--wire); border-left: 3px solid var(--gold);
  border-radius: var(--r); margin-bottom: 28px;
}

.pair-avatar-box {
  width: 48px; height: 48px; background: transparent;
  border: 1px solid var(--gold-dim); border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.6rem; font-weight: 700;
  color: var(--gold); flex-shrink: 0;
}

.pair-nameplate-name {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 600;
  color: var(--text-hi); line-height: 1.1;
}
.pair-nameplate-sub {
  font-size: 11px; color: var(--muted);
  letter-spacing: .5px; margin-top: 2px;
}

.history-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.history-col-title {
  font-size: 9px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--muted); padding-bottom: 12px;
  border-bottom: 1px solid var(--wire); margin-bottom: 16px;
}

.match-row {
  padding: 14px 16px; border: 1px solid var(--wire);
  border-radius: var(--r); margin-bottom: 8px;
  transition: border-color .15s var(--ease), background .15s var(--ease);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.match-row:hover { border-color: var(--wire-2); background: var(--ink-4); }

.match-row__opponent { font-size: 13px; font-weight: 500; color: var(--text); }
.match-row__vs       { font-size: 11px; color: var(--muted); }

.match-row__result { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; flex-shrink: 0; }
.match-row__result.won  { color: var(--ok); }
.match-row__result.lost { color: var(--danger); }
.match-row__result.pend { color: var(--muted); }

.match-row__sets { font-size: 10px; color: var(--muted); margin-top: 2px; }

.empty-row {
  padding: 28px 16px; text-align: center; font-size: 12px; color: var(--muted);
  border: 1px dashed var(--wire); border-radius: var(--r); letter-spacing: .5px;
}

@media (max-width: 768px) {
  .history-cols { grid-template-columns: 1fr; }
  .history-selector-strip { flex-direction: column; align-items: flex-start; }
  .pair-nameplate { flex-direction: column; text-align: center; }
}
