.pilot-history-list { display: grid; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pilot-history-card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 13px;
  min-width: 0; border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px;
  background: var(--card);
}
.pilot-history-main { display: grid; grid-template-columns: 35px minmax(0, 1fr); gap: 9px; align-items: start; }
.pilot-history-icon {
  display: grid; place-items: center; width: 35px; height: 35px; margin-top: 1px;
  border: 1px solid #694738; border-radius: 5px; color: #ffc6a9; background: #2d211e;
}
.pilot-history-main h3 { margin: 0; font-size: 16px; line-height: 1.19; overflow-wrap: anywhere; }
.pilot-history-category {
  display: inline-block; margin-inline-start: 4px; padding: 1px 4px; border: 1px solid var(--line);
  border-radius: 4px; color: var(--muted); font-size: 12px; white-space: nowrap;
}
.pilot-history-meta { margin: 3px 0 0; font-size: 13px; line-height: 1.35; color: var(--muted); }
.pilot-history-meta .ui-icon { margin-inline-end: 5px; color: #e6a487; }
.pilot-history-result { grid-column: 1; margin: 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.pilot-history-links { display: flex; flex-wrap: wrap; gap: 3px 7px; justify-content: flex-end; margin: 0; font-size: 13px; }
.pilot-history-links a, .pilot-history-meta a { text-decoration-color: #996d5a; }
.pilot-history-links a:hover, .pilot-history-meta a:hover { color: #ffc6a9; }
.pilot-history-medal {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px; text-align: center; text-decoration: none;
  min-height: 36px; padding: 4px 7px; border: 1px solid #745c3f; border-radius: 4px; background: #312620; color: #ffd18d; font-size: 13px; font-weight: 790;
}
.pilot-history-medal[data-finish="finalist"] { background: #282832; border-color: #606071; color: #e1e1ec; }
.pilot-history-medal[data-finish="semifinal"] { background: #302522; border-color: #6b5145; color: #efb298; }
@media (max-width: 520px) {
  .pilot-history-card { grid-template-columns: minmax(0, 1fr); padding: 9px 10px; gap: 7px; }
  .pilot-history-medal { justify-self: start; }
  .pilot-history-links { justify-content: flex-start; }
}
.pilot-federal-details{border:1px solid var(--line,#393238);border-radius:7px;overflow:hidden}
.pilot-federal-details summary{cursor:pointer;font-weight:750;padding:.65rem .85rem}
.pilot-federal-details .rows{margin:0}
.pilot-federal-details[open] summary{border-bottom:1px solid var(--line,#393238)}
