/* Only the adaptations needed when the shared profile has no portrait, equipment or full history. */
.pilot-profile-page .hero {
  grid-template-columns: clamp(192px, 25vw, 288px) minmax(0, 1fr);
}
.pilot-profile-page .hero h1 {
  font-size: clamp(40px, 6.9vw, 87px);
  overflow-wrap: anywhere;
}
.pilot-art strong {
  z-index: 1;
  color: #fff0e9;
  font-size: clamp(80px, 13vw, 132px);
  text-transform: uppercase;
  text-shadow: 0 7px 24px #210b07cc;
}
.pilot-profile-page .rank-highlight[data-rank]:hover {
  border-color: color-mix(in srgb, var(--rank-tone) 63%, #201419);
}
.pilot-standing {
  display: block;
  width: fit-content;
  margin-block-start: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}
.pilot-standing b { color: var(--ink); }
.pilot-scope {
  margin-block: 13px 0;
  color: var(--muted);
  font-size: 14px;
}
.pilot-profile-page #bilan .bar i {
  width: var(--pilot-share);
  background: var(--stat-positive);
}
.pilot-profile-page #bilan .metric:has(.stat-loss) .bar i { background: var(--stat-negative); }
.pilot-profile-page #bilan .metric:has(.stat-zero) .bar i { background: var(--muted); }
.pilot-profile-page .match a,
.pilot-profile-page .partner-table a { text-decoration-color: #a67964; }
.pilot-profile-page .match a:hover,
.pilot-profile-page .partner-table a:hover { color: #ffc5a7; }
.pilot-profile-page .breadcrumb a { text-decoration-color: #805645; }
.pilot-profile-page .match time,
.pilot-profile-page .klaq-trophies { font-variant-numeric: tabular-nums; }
.pilot-profile-page .klaq-trophies-header h2 { font-size: clamp(24px, 4vw, 33px); letter-spacing: -.024em; }
@media (min-width: 761px) {
  .pilot-profile-page #matchs .match .partner,
  .pilot-profile-page #matchs .match .score { grid-area: auto; }
}
@media (min-width: 561px) and (max-width: 760px) {
  .pilot-profile-page .hero { grid-template-columns: 32% minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .pilot-profile-page .hero { grid-template-columns: minmax(0, 1fr); }
  .pilot-profile-page .hero h1 { font-size: clamp(38px, 11vw, 62px); }
  .pilot-profile-page .pilot-art { min-height: 172px; }
  .pilot-art strong { font-size: clamp(82px, 22vw, 118px); }
  .pilot-profile-page .pilot-art svg { width: 72%; }
  .pilot-profile-page .breadcrumb { flex-wrap: wrap; }
}

.pilot-winner-place .medal {
  color: #ffcb7d;
  border: 1px solid #744f3e;
  background: linear-gradient(140deg, #4f3227, #261d20);
  font-size: 22px;
}
.pilot-winner-place .pill.result { color: #ffca9f; }
#palmares .pilot-placement-art {
  display: block;
  justify-self: center;
  width: min(59px, calc(var(--medal-column) + 4px));
  height: auto;
  aspect-ratio: 59 / 62;
  object-fit: contain;
}
#palmares .pilot-winner-place .pilot-placement-art {
  filter: drop-shadow(0 4px 7px #08090c9c);
}

/* Keep the same hero/equipment proportions as the Maxime profile without suggesting a model. */
@media (min-width: 961px) {
  .pilot-profile-page .hero { grid-template-columns: clamp(224px,25vw,288px) minmax(0,1fr) minmax(190px,226px); }
}
@media (min-width: 761px) and (max-width: 960px) {
  .pilot-profile-page .hero { grid-template-columns: 28% minmax(0,1fr) 168px; }
}
.pilot-profile-page .hero h1 { font-size: clamp(43px,6.3vw,85px); }
.pilot-profile-page .rank-highlight[data-rank]:hover { border-color: var(--rank-tone); }
.pilot-gear {
  display: grid;
  grid-template-rows: minmax(0,1fr) auto;
}
.pilot-gear .gear-stage {
  color: #d79678;
  min-height: 96px;
}
.pilot-gear .gear-stage .ui-icon { width: 55px; height: 55px; stroke-width: 1.2; opacity: .82; }
.pilot-gear .gear-caption h2 { font-size: clamp(15px,2vw,21px); }
.pilot-archive {
  margin-top: 8px; padding: 0 13px 9px; border: 1px solid var(--line); border-radius: 6px;
  background: var(--card);
}
.pilot-archive:not([open]) { padding-bottom: 0; }
.pilot-archive summary { cursor: pointer; padding: 10px 0; font-size: 14px; font-weight: 760; }
.pilot-archive summary svg { color: #ff986e; margin-inline-start: 4px; margin-inline-end: 5px; }
.pilot-archive .footnote { margin-top: 7px; }
.pilot-archive .rows { margin-top: 8px; }
.pilot-archive-count { margin-inline-start: 5px; color: var(--muted); font-size: 13px; font-weight: 500; }
.pilot-profile-empty .upcoming-icon { opacity: .75; }
.pilot-rank-releve { color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .pilot-gear { grid-template-columns: minmax(0,1fr) 74px; grid-template-rows: auto; }
  .pilot-gear .gear-stage { min-height: 58px; grid-column: 2; grid-row: 1; }
  .pilot-gear .gear-stage .ui-icon { width: 38px; height: 38px; }
  .pilot-gear .gear-caption { grid-column: 1; grid-row: 1; padding-inline-start: 5px; }
}
@media (max-width: 560px) {
  .pilot-profile-page .hero h1 { font-size: clamp(38px,11vw,62px); }
}
