.profile-page { background: #f4f7fa; }
.profile-banner { background: linear-gradient(110deg, #142339, #245f87); color: #fff; padding: 52px 0; }
.profile-identity { display: flex; align-items: center; gap: 28px; }
.profile-avatar { flex: 0 0 126px; width: 126px; height: 126px; display: grid; place-content: center; border: 4px solid #8bcce8; border-radius: 50%; background: #c0dfeb; color: #142339; font: 900 2.4rem/1 var(--body); }
.team-emblem { border-radius: 16px; background: #fff; font-size: 1.15rem; line-height: 1.15; text-align: center; text-transform: uppercase; }
.profile-name { flex: 1; min-width: 0; }
.profile-name .eyebrow { color: #bce9fb; }
.profile-name h1 { font: 900 clamp(2.4rem, 4.7vw, 4.3rem)/1.04 var(--display); text-transform: uppercase; max-width: none; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 26px; color: #e0edf6; font-size: .9rem; }
.profile-meta a { text-decoration: underline; text-underline-offset: 4px; }
.profile-sharing { align-self: flex-start; max-width: 180px; }
.profile-sharing button { cursor: pointer; }
#share-status { font-size: .8rem; margin: 10px 0 0; overflow-wrap: anywhere; }
.profile-content { padding-block: 32px 52px; }
.profile-content section:not(.profile-panel) { padding: 0; }
.player-columns, .team-columns { display: grid; grid-template-columns: 1.08fr 1fr; gap: 26px; }
.team-columns { align-items: start; }
.profile-stack { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.profile-section-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.profile-content h2 { margin: 0 0 20px; font: 900 1.8rem/1.12 var(--display); text-transform: uppercase; }
.profile-section-head h2 { margin: 0; }
.data-label { font-size: .75rem; color: #536476; font-weight: 700; }
.profile-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.profile-stat { background: #eaf3f8; border-radius: 6px; padding: 20px 12px; text-align: center; }
.profile-stat strong { display: block; color: #245f87; font: 900 1.8rem/1.15 var(--body); }
.profile-stat strong small { font-size: .65rem; font-weight: 700; }
.profile-stat > span { display: block; margin-top: 6px; color: #536476; font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.profile-panel { min-width: 0; background: #fff; border: 1px solid #d6e0e9; border-radius: 8px; padding: 24px; }
.metrics-panel { border: 2px solid #327fad; background: #f6fbfe; }
.metrics-panel h2 { color: #245f87; font-size: 1.3rem; }
.metrics-stats { grid-template-columns: repeat(3,minmax(0,1fr)); }
.recognition-panel p, .profile-story p { color: #536476; font-size: .9rem; }
.recognition-panel ul { color: #536476; padding-left: 20px; font-size: .88rem; margin-bottom: 0; }
.recognition-panel li { margin-top: 6px; }
.profile-events { list-style: none; padding: 0; margin: 0 0 24px; }
.profile-events li { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid #d6e0e9; }
.profile-events strong { font-size: .93rem; }
.event-status { display: inline-block; border-radius: 30px; padding: 5px 9px; font: 900 .62rem/1.3 var(--body); text-transform: uppercase; white-space: nowrap; }
.registered { background: #def5e9; color: #176b49; }
.invited { background: #fff0c7; color: #785600; }
.open { background: #e4f2f9; color: #245f87; }
.profile-outline { border: 1px solid #327fad; color: #245f87; background: #fff; }
.profile-outline:hover { background: #eaf3f8; }
.full-width { width: 100%; text-align: center; }
.profile-story { display: grid; grid-template-columns: 140px 1fr; gap: 20px; }
.profile-story-image { min-height: 190px; border-radius: 6px; overflow: hidden; }
.profile-story-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.profile-story h2 { margin: 14px 0; font-size: 1.55rem; }
.profile-story .text-link { display: inline-flex; align-items: center; min-height: 44px; color: #245f87; font-size: .8rem; }
.team-stats { margin-bottom: 24px; }
.team-stats .profile-stat { border: 1px solid #d6e0e9; border-top: 4px solid #327fad; background: #fff; text-align: left; padding: 18px; }
.team-stats .profile-stat strong { color: #142339; }
.profile-results { list-style: none; padding: 0; margin: 0 0 20px; }
.profile-results li { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid #d6e0e9; }
.profile-results li div strong { font-size: .93rem; }
.profile-results li div span { display: block; color: #536476; font-size: .75rem; }
.result-badge { display: grid; place-items: center; width: 32px; height: 36px; border-radius: 5px; font-weight: 900; }
.win { background: #def5e9; color: #176b49; }
.loss { background: #ffe4e5; color: #a72732; }
.result-score { font-size: 1.2rem; white-space: nowrap; }
.team-awards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.team-awards article { display: flex; align-items: center; gap: 12px; background: #eaf3f8; padding: 16px; border-radius: 6px; }
.team-awards h3 { margin: 0; font-size: .82rem; }
.team-awards p { margin: 3px 0 0; font-size: .72rem; color: #536476; }
.roster-scroll { overflow-x: auto; }
.profile-roster { width: 100%; border-collapse: collapse; text-align: left; font-size: .8rem; }
.profile-roster th, .profile-roster td { padding: 12px 8px; border-bottom: 1px solid #d6e0e9; }
.profile-roster th:first-child { padding-left: 0; }
.profile-roster thead th { color: #536476; font-size: .7rem; }
.roster-player { display: flex; align-items: center; gap: 9px; min-height: 44px; color: #245f87; }
.roster-player:hover { text-decoration: underline; }
.roster-avatar { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border-radius: 50%; background: #c0dfeb; color: #142339; font-size: .58rem; }
[hidden] { display: none !important; }
@media(max-width:1000px) { .profile-sharing { max-width: 150px; } .profile-story { grid-template-columns: 100px 1fr; } .profile-panel { padding: 20px; } .profile-roster { min-width: 430px; } }
@media(max-width:800px) { .player-columns,.team-columns { grid-template-columns: 1fr; } .profile-avatar { width: 98px; height: 98px; flex-basis: 98px; } .profile-identity { flex-wrap: wrap; gap: 20px; } .profile-sharing { width: 100%; max-width: none; padding-left: 118px; } .profile-banner { padding: 32px 0; } .roster-panel { min-height: 0; } }
@media(max-width:480px) { .profile-name { flex-basis: calc(100% - 110px); } .profile-name h1 { font-size: 2.15rem; } .profile-avatar { width: 84px; height: 84px; flex-basis: 84px; font-size: 1.8rem; } .team-emblem { font-size: .87rem; } .profile-meta { margin-top: 18px; gap: 8px 14px; font-size: .78rem; } .profile-sharing { padding-left: 0; } .profile-stats { grid-template-columns: 1fr 1fr; gap: 10px; } .metrics-stats { grid-template-columns: repeat(3,minmax(0,1fr)); } .metrics-stats .profile-stat { padding: 16px 6px; } .metrics-stats strong { font-size: 1.35rem; } .metrics-stats .profile-stat > span { font-size: .59rem; } .profile-panel { padding: 18px; } .profile-story { grid-template-columns: 90px 1fr; gap: 14px; } .profile-content h2 { font-size: 1.55rem; } .profile-events li { flex-wrap: wrap; gap: 8px; } .team-awards { grid-template-columns: 1fr; } .profile-results li { gap: 10px; } .profile-results li div strong { font-size: .85rem; } .profile-results li div span { font-size: .7rem; } .full-width { padding-inline: 10px; font-size: .7rem; } }
