/* One presentation for native and imported participant facts. */
body :is(.public-content,#allrecords) .participant-summary {
  --wash:#f5f7fb; --line:#e2e7ef; --ink:#1d1d1f; --muted:#6e6e73; --action:#0071e3; --raspberry:#0071e3;
  display:block; width:100%; max-width:100%; box-sizing:border-box;
  margin:24px 0 0; padding:24px; border:1px solid var(--line); border-radius:20px;
  background:#fff; color:var(--ink); text-align:left; font-family:var(--type);
  box-shadow:0 8px 28px rgba(20,40,75,.045);
}
body :is(.public-content,#allrecords) .participant-summary-award::before {
  content:"Номинация"; display:block; margin-bottom:10px;
  color:var(--muted); font:500 var(--text-caption,14px)/1.5 var(--type);
}
body :is(.public-content,#allrecords) .participant-summary :is(.profile-status,.participant-summary-status) {
  display:grid;gap:10px;list-style:none;margin:0;padding:0;
  color:var(--action);font-size:var(--text-body,18px)!important;line-height:1.5!important;font-weight:600;
}
body :is(.public-content,#allrecords) .participant-summary .profile-status li {
  margin:0;padding:0;list-style:none;color:inherit;font-weight:600;
}
body :is(.public-content,#allrecords) .participant-summary .participant-summary-facts {
  display:grid;gap:0;margin:20px 0 0;padding:0;border-top:1px solid var(--line);
}
body :is(.public-content,#allrecords) .participant-summary-facts > div {
  display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:baseline;gap:8px 16px;
  padding:16px 0;margin:0;border-bottom:1px solid var(--line);
}
body :is(.public-content,#allrecords) .participant-summary-facts > div:last-child {border-bottom:0;padding-bottom:0;}
body :is(.public-content,#allrecords) .participant-summary .participant-summary-facts dt {
  margin:0;color:var(--muted);font-size:var(--text-caption,14px)!important;line-height:1.5!important;font-weight:400;
}
body :is(.public-content,#allrecords) .participant-summary .participant-summary-facts dd {
  margin:0;color:var(--ink);text-align:right;font-size:var(--text-body,18px)!important;line-height:1.5!important;font-weight:600;overflow-wrap:anywhere;
}
body :is(.public-content,#allrecords) .participant-summary-extra {margin-top:16px;color:var(--muted);font-size:var(--text-body,18px)!important;line-height:1.6;}
/* Vertical, uncropped previews; mixed-orientation originals stay fully visible. */
body :is(.shared-profile-gallery,.publish-gallery,.profile-portrait-gallery) {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0 0;padding:0;
}
body :is(.shared-profile-gallery,.publish-gallery,.profile-portrait-gallery) > a {
  display:block;width:100%;min-width:0;aspect-ratio:3/4;overflow:hidden;
  border:1px solid #e2e7ef;border-radius:16px;background:#f5f7fb;
}
body :is(.shared-profile-gallery,.publish-gallery,.profile-portrait-gallery) > a > img {
  display:block;width:100%!important;height:100%!important;max-height:none!important;
  aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;border-radius:0;
}
body .profile-portrait-section { margin-block:40px;padding-block:32px; }
body .profile-portrait-section > h2 {font:700 var(--text-subtitle,28px)/1.25 var(--type);letter-spacing:-.025em;margin:0 0 24px;}
@media(max-width:760px) {
  body :is(.public-content,#allrecords) .participant-summary {padding:20px;border-radius:18px;}
  body :is(.shared-profile-gallery,.publish-gallery,.profile-portrait-gallery) {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
  body :is(.public-content,#allrecords) .participant-summary-facts > div {gap:8px 12px;padding-block:14px;}
}

/* Season covers keep the complete portrait, including the crown. */
body .public-content .avia-season-card img {
  display:block;width:100%;height:auto;aspect-ratio:3/4;
  object-fit:contain;object-position:center top;background:var(--wash);
}

/* Fill the portrait frame so the photograph itself follows its rounded edge. */
body .public-content .avia-season-card img {
  aspect-ratio:3/4;object-fit:cover;object-position:center top;
  border-radius:20px;background:var(--wash);
}
