.athlete-profile{padding:30px;border:1px solid #cfddd6;border-radius:24px;background:linear-gradient(125deg,#e2eeea,#fffdf6);gap:24px}.athlete-profile>.avatar{width:112px;height:112px;flex:0 0 112px;border:5px solid white;box-shadow:0 6px 22px #173c3020}.athlete-profile h2{font-size:clamp(24px,4vw,36px);margin:6px 0}.profile-social{margin:16px 0 24px!important;border-radius:20px;background:#f0f5f3;border:1px solid #cbdcd4}.profile-social .chips{gap:10px}.profile-social a,.profile-social button{min-height:44px;display:inline-flex;align-items:center;gap:8px}.profile-social .danger{margin-inline-start:auto;background:transparent;color:#8f4050}.profile-social h3{margin:0 0 14px}.profile-social [role=status]:empty{display:none}.profile-portfolio{margin-top:32px}.profile-portfolio>header{border-inline-start:4px solid #276554;padding:8px 20px;margin-bottom:22px}.profile-portfolio>header h2{font-size:26px;margin:6px 0}.portfolio-section{margin:14px 0;border:1px solid #d5dfd9;border-inline-start:5px solid var(--portfolio-accent);border-radius:18px;background:#fffefa;overflow:hidden}.portfolio-section>summary{display:flex;align-items:center;gap:13px;cursor:pointer;padding:20px;list-style:none;color:var(--portfolio-accent);font-weight:700;font-size:18px}.portfolio-section>summary::-webkit-details-marker{display:none}.portfolio-section>summary:after{content:'+';font-size:24px;font-weight:400}.portfolio-section[open]>summary:after{content:'−'}.portfolio-section>summary .sport-icon{width:25px;height:25px;flex-shrink:0}.portfolio-section>summary span{flex:1}.portfolio-section>summary strong{min-width:36px;text-align:center;border-radius:12px;background:#edf2ef;padding:4px 9px;font-size:16px}.portfolio-body{padding:0 20px 20px}.portfolio-item{display:flex;align-items:center;gap:16px;border-top:1px solid #e4e9e5;padding:18px 0}.portfolio-item>div{flex:1;min-width:0}.portfolio-item h3{font-size:18px;margin:0 0 6px;overflow-wrap:anywhere}.portfolio-item p{margin:0;color:#5d7069;font-size:14px}.portfolio-item time{font-size:13px;color:#708078}.portfolio-item>img{width:72px;height:72px;object-fit:cover;border-radius:14px}.portfolio-compact>summary{font-size:15px;padding:13px 20px}.portfolio-compact .portfolio-item{padding:10px 0}.portfolio-compact h3{font-size:14px}.profile-portfolio .media-viewer{margin:0;max-width:100%}.profile-portfolio .viewer-stage{background:#142521;border-radius:16px}.profile-portfolio .viewer-stage img{max-height:500px;object-fit:contain}.profile-portfolio .viewer-controls{flex-wrap:wrap}.profile-portfolio .viewer-thumbs{max-width:100%;overflow-x:auto}.profile-portfolio .viewer-thumbs img{object-fit:cover}.portfolio-section summary:focus-visible{outline:3px solid #3d8479;outline-offset:-4px}@media(max-width:600px){.athlete-profile{padding:20px;gap:16px}.athlete-profile>.avatar{width:80px;height:80px;flex-basis:80px}.portfolio-section>summary{padding:16px 12px;font-size:16px;gap:9px}.portfolio-body{padding:0 12px 15px}.portfolio-item{flex-wrap:wrap;gap:10px}.portfolio-item h3{font-size:16px}.profile-social .chips>*{flex:1 1 130px;justify-content:center}.profile-social .danger{margin-inline-start:0}.profile-portfolio>header h2{font-size:22px}}
.portfolio-category{display:flex;align-items:center;gap:12px;margin:16px 0;font-size:14px}.portfolio-category select{max-width:320px;min-width:0;flex:1;padding:10px;border:1px solid #c8d7cf;border-radius:10px;background:#fff}

/* Compact relationship panel: status is a label, not a competing action. */
.profile-social{padding:22px!important;background:#fffefa;border:1px solid #dae4de;box-shadow:0 5px 20px #173c3006}
.profile-connect-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.profile-connect-heading h3{font-size:20px;margin:0 0 5px}.profile-connect-heading p{font-size:12px;color:#75827a;margin:0}.profile-relation{display:inline-flex;align-items:center;flex-shrink:0;border-radius:8px;padding:5px 9px;font-size:12px;font-weight:600;color:#69736c;background:#f0f2ed}.profile-relation.is-friend{color:#286c54;background:#e9f4ed}
.profile-connect-primary{display:flex;gap:10px;flex-wrap:wrap}.profile-connect-primary>a,.profile-connect-primary>button{justify-content:center;min-height:46px;flex:1;padding:11px 18px;border-radius:12px;font-size:14px}.profile-social .sport-icon{width:20px;height:20px;flex-shrink:0}
.profile-connect-footer{display:flex;align-items:start;justify-content:space-between;gap:12px;border-top:1px solid #e6ebe6;margin-top:18px;padding-top:10px}.profile-social .profile-manage-link{font-size:12px;font-weight:600;color:#60756a;text-decoration:none;min-height:40px}.profile-connect-more{max-width:60%;font-size:12px;color:#758078}.profile-connect-more summary{cursor:pointer;min-height:40px;display:flex;align-items:center;justify-content:end;gap:9px;list-style:none}.profile-connect-more summary::-webkit-details-marker{display:none}.profile-connect-more summary span{font-size:22px;line-height:1}.profile-connect-more>div{display:grid;gap:8px;padding:6px 0}.profile-connect-more button{width:100%;font-size:12px;justify-content:center;margin:0!important}.profile-connect-more .danger{border-color:#ead6da;background:#fff8f8;color:#934456}.profile-connect-more summary:focus-visible{outline:2px solid #337865;outline-offset:2px;border-radius:6px}
@media(max-width:600px){.profile-social{padding:18px!important;border-radius:18px}.profile-connect-heading h3{font-size:18px}.profile-connect-heading p{font-size:11px}.profile-relation{font-size:11px;padding:5px 8px}.profile-connect-primary{flex-direction:column}.profile-connect-primary>a,.profile-connect-primary>button{width:100%;flex:auto}.profile-connect-more{max-width:62%}}

.member-intro.athlete-profile {
 display: grid;
 grid-template-columns: auto minmax(0, 1fr);
 align-items: start;
 min-width: 0;
}
.member-profile-identity,
.member-contact-details,
.member-contact-line {
 min-width: 0;
 text-align: start;
 overflow-wrap: anywhere;
}
.member-contact-details {
 grid-column: 1 / -1;
 display: grid;
 gap: .45rem;
}
.member-contact-line {
 display: flex;
 flex-wrap: wrap;
 align-items: flex-start;
 gap: .45rem;
}
.member-contact-line .contact-actions {
 min-width: 0;
 max-width: 100%;
}
.member-contact-line :is(.pill, .entry-contact-link) {
 display: inline-flex;
 flex-wrap: wrap;
 align-items: center;
 justify-content: flex-start;
 gap: .35rem;
 min-width: 0;
 max-width: 100%;
 white-space: normal;
}
.member-contact-line .entry-contact-link {
 flex-wrap: nowrap;
 gap: .55rem;
 padding: .4rem .65rem;
 border: 1px solid var(--line);
 border-radius: 9px;
 background: var(--card);
}
.member-contact-line .entry-contact-link > span:last-child,
.member-contact-line bdi {
 min-width: 0;
 max-width: 100%;
 overflow-wrap: anywhere;
}
.member-contact-line bdi {
 text-align: match-parent;
}
.member-contact-line .entry-contact-link bdi {
 margin-top: 0;
}
