
/* NEXERA V199 — true mobile-first profile sizing */
html,body{width:100%;max-width:100%;overflow-x:hidden!important}
#app,#profile{width:100%;max-width:100%;overflow-x:hidden!important}
@media (max-width:600px){
 #profile.n172ProfilePage{padding:0 0 24px!important;margin:0!important;background:#020916!important;width:100%!important;max-width:100%!important;overflow-x:hidden!important}
 #profile.n172ProfilePage .profileHero{
   display:grid!important;grid-template-columns:82px minmax(0,1fr)!important;grid-template-areas:'avatar identity' 'avatar actions'!important;
   width:calc(100% - 20px)!important;max-width:none!important;min-height:0!important;height:auto!important;
   margin:10px 10px 0!important;padding:16px 12px!important;gap:8px 10px!important;border-radius:18px!important;
   box-sizing:border-box!important;overflow:hidden!important;
 }
 #profile.n172ProfilePage .n172Hero .profileAvatarWrap,
 #profile.n172ProfilePage .n172Hero .profileAvatarWrap .avatar{width:76px!important;height:76px!important;min-width:76px!important;max-width:76px!important}
 #profile.n172ProfilePage .profileAvatarWrap{grid-area:avatar!important;align-self:start!important}
 #profile.n172ProfilePage .profileIdentity{grid-area:identity!important;min-width:0!important;align-self:center!important}
 #profile.n172ProfilePage .n172Hero .profileIdentity h1{font-size:21px!important;line-height:1.15!important;margin:0 0 7px!important;white-space:normal!important;word-break:break-word!important}
 #profile.n172ProfilePage .profileClubBadge{font-size:10px!important;padding:6px 9px!important;display:inline-flex!important}
 #profile.n172ProfilePage .profileHeroMeta{display:grid!important;grid-template-columns:1fr!important;gap:4px!important;margin-top:7px!important}
 #profile.n172ProfilePage .profileHeroMeta>div{display:grid!important;grid-template-columns:20px 1fr!important;column-gap:4px!important;align-items:center!important;min-width:0!important}
 #profile.n172ProfilePage .profileHeroMeta span{grid-row:1/3!important}
 #profile.n172ProfilePage .profileHeroMeta small{font-size:9px!important;line-height:1.1!important}
 #profile.n172ProfilePage .profileHeroMeta b{font-size:10px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 #profile.n172ProfilePage .profileHeroRight{grid-area:actions!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;flex-wrap:wrap!important;min-width:0!important}
 #profile.n172ProfilePage .nxfHeroUpcomingBtn{min-width:0!important;width:auto!important;padding:8px 10px!important;font-size:10px!important;border-radius:10px!important}
 #profile.n172ProfilePage .n177EditProfileBtn{padding:8px 10px!important;font-size:10px!important;border-radius:10px!important}
 #profile.n172ProfilePage .efootballMark{display:none!important}
 #profile.n172ProfilePage .playerIdBox{padding:6px 8px!important;font-size:9px!important;border-radius:10px!important}
 #profile.n172ProfilePage .profileUpcomingTop,
 #profile.n172ProfilePage .n172PersonalCard,
 #profile.n172ProfilePage .n173SectionCard{width:calc(100% - 20px)!important;max-width:none!important;margin-left:10px!important;margin-right:10px!important;box-sizing:border-box!important}
 #profile.n172ProfilePage .profileUpcomingTop{margin-top:12px!important;padding:14px!important;border-radius:17px!important}
 #profile.n172ProfilePage .profileUpcomingTop .n172SectionHead{display:flex!important;gap:8px!important;align-items:center!important}
 #profile.n172ProfilePage .profileUpcomingTop .n172SectionHead h2{font-size:18px!important;line-height:1.2!important;margin:0!important}
 #profile.n172ProfilePage .nxfUpcomingHint{font-size:8px!important;line-height:1.25!important}
 #profile.n172ProfilePage .profileMatchCount{font-size:9px!important;padding:6px 8px!important}
 #profile.n172ProfilePage .profileMatchCard{margin:10px 0!important;border-radius:14px!important;padding:12px!important}
 #profile.n172ProfilePage .profileUpcomingEmpty{margin:8px 0!important;padding:12px!important;font-size:11px!important}
 #profile.n172ProfilePage .n172PersonalCard{margin-top:12px!important;padding:14px!important;border-radius:17px!important}
 #profile.n172ProfilePage .n172PersonalCard h2,
 #profile.n172ProfilePage .n172PersonalCard h3{font-size:18px!important}
 #profile.n172ProfilePage .n172PersonalCard .infoGrid{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
 #profile.n172ProfilePage .n172PersonalCard .infoGrid>div{padding:12px!important;border-radius:12px!important;min-width:0!important}
 #profile.n172ProfilePage .n173SectionCard{margin-top:12px!important;padding:14px!important}
}
@media (min-width:601px){
 #profile.n172ProfilePage .profileHero{max-width:1100px!important;margin-left:auto!important;margin-right:auto!important}
 #profile.n172ProfilePage .profileUpcomingTop,#profile.n172ProfilePage .n172PersonalCard,#profile.n172ProfilePage .n173SectionCard{max-width:1100px!important;margin-left:auto!important;margin-right:auto!important}
}
