.athlete-olympics { --athlete-gold: #997020; --athlete-silver: #64748b; --athlete-bronze: #a46640; }
.athlete-medal-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.athlete-medal-total { display: flex; align-items: center; justify-content: center; gap: .75rem; padding: 1.1rem; border: 1px solid #dbe8ed; border-radius: 16px; background: #fff; }
.athlete-medal-total strong { font-size: 1.6rem; color: #123f52; }
.athlete-medal-total span { color: #6b8491; font-weight: 700; }
.athlete-medal-total.is-or i, .athlete-result-card.is-or .athlete-result-medal { color: var(--athlete-gold); }
.athlete-medal-total.is-argent i, .athlete-result-card.is-argent .athlete-result-medal { color: var(--athlete-silver); }
.athlete-medal-total.is-bronze i, .athlete-result-card.is-bronze .athlete-result-medal { color: var(--athlete-bronze); }
.athlete-results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1rem; }
.athlete-result-card { display: flex; flex-direction: column; padding: 1.3rem; border: 1px solid #dbe8ed; border-radius: 16px; background: #fff; color: #123f52; }
.athlete-result-card.is-or { border-color: #e4cc96; background: linear-gradient(135deg, #fff8e8, #fff); }
.athlete-result-card.is-argent { border-color: #cbd5e1; }
.athlete-result-card.is-bronze { border-color: #e3c6b3; }
.athlete-result-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.2rem; }
.athlete-result-medal { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 800; }
.athlete-result-year { padding: .3rem .65rem; border-radius: 999px; background: #e8f7fa; color: #087f91; font-size: .8rem; font-weight: 800; }
.athlete-result-card h3 { margin: 0 0 .4rem; color: #123f52; font-size: 1.15rem; line-height: 1.4; }
.athlete-result-sport { margin: 0 0 1rem; color: #6b8491; }
.athlete-result-card dl { display: grid; gap: .8rem; margin: 0 0 1.3rem; }
.athlete-result-card dl div { display: grid; gap: .2rem; }
.athlete-result-card dt { color: #6b8491; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.athlete-result-card dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.athlete-result-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid #dbe8ed; color: #087f91; font-weight: 750; text-decoration: none; }
.athlete-result-link:hover { text-decoration: underline; }
.athlete-result-link:focus-visible { outline: 3px solid #079bb4; outline-offset: 4px; border-radius: 4px; }
@media (max-width: 520px) { .athlete-medal-summary { gap: .5rem; } .athlete-medal-total { flex-direction: column; gap: .3rem; padding: .8rem .4rem; } }
