/* Home do Jogador: cabeçalho compacto com área própria e blocos de descoberta. */
@layer cfPlayerHomeFinishV1 {
 html body:has(.cfPlayerShellV1) .cfStadiumShellV35.cfPlayerShellV1{
  padding-top:0!important;
 }
 body:has([data-cf-home-profile-hero]) .cfStadiumShellV35.cfPlayerShellV1{
  padding-bottom:28px!important;
 }
 html body:has(.cfPlayerShellV1) .cfStadiumShellV35.cfPlayerShellV1 .cfShellTopV35{
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:56px minmax(0,1fr) 56px!important;
  align-items:center!important;
  gap:10px!important;
  position:relative!important;
  top:auto!important;
  z-index:20!important;
  width:calc(100% + 44px)!important;
  height:70px!important;
  min-height:70px!important;
  margin:0 -22px 18px!important;
  padding:0 22px!important;
  border:0!important;
  border-bottom:1px solid #304250!important;
  border-radius:0!important;
  background:#111a23!important;
  box-shadow:0 7px 18px rgba(0,0,0,.18)!important;
  backdrop-filter:none!important;
 }
 html body:has(.cfPlayerShellV1) .cfStadiumShellV35.cfPlayerShellV1 .cfShellTopV35 .cfShellBrandV35{
  grid-column:auto!important;
  grid-row:auto!important;
  justify-content:center!important;
  min-height:0!important;
 }
 html body:has(.cfPlayerShellV1) .cfStadiumShellV35.cfPlayerShellV1 .cfShellTopV35 .cfShellBrandV35 img{
  height:42px!important;
  max-width:min(68vw,360px)!important;
  filter:drop-shadow(0 4px 12px rgba(0,0,0,.35))!important;
 }
 html body:has(.cfPlayerShellV1) .cfStadiumShellV35.cfPlayerShellV1 .cfShellTopV35 .cfTopLeftV35,
 html body:has(.cfPlayerShellV1) .cfStadiumShellV35.cfPlayerShellV1 .cfShellTopV35 .cfTopRightV35{
  grid-column:auto!important;
  grid-row:auto!important;
  min-width:56px!important;
 }
 html body:has(.cfPlayerShellV1) .cfStadiumShellV35.cfPlayerShellV1 .cfShellTopV35 .cfTopLeftV35{justify-content:flex-start!important}
 html body:has(.cfPlayerShellV1) .cfStadiumShellV35.cfPlayerShellV1 .cfShellTopV35 .cfTopRightV35{justify-content:flex-end!important}
 body:has([data-cf-home-profile-hero]) .homeTeamCard{
  border:1px solid rgba(116,169,143,.28)!important;
  border-radius:17px!important;
  background:linear-gradient(135deg,#1b2d32,#142528)!important;
  box-shadow:0 7px 18px rgba(0,0,0,.13)!important;
 }
 body:has([data-cf-home-profile-hero]) .homeTeamBtn{
  min-height:42px!important;
  border:1px solid #e9ae9a!important;
  border-radius:11px!important;
  background:#e6a38e!important;
  color:#1b2220!important;
  font-weight:800!important;
 }
 body:has([data-cf-home-profile-hero]) .cfPlayerHomeFeedV1{
  display:grid!important;
  gap:16px!important;
  margin-top:18px!important;
 }
 body:has([data-cf-home-profile-hero]) .cfPlayerHomePanelV1{
  min-width:0!important;
  padding:18px!important;
  border:1px solid #304657!important;
  border-radius:18px!important;
  background:linear-gradient(150deg,#1b2a37,#131f2b)!important;
  box-shadow:0 9px 22px rgba(0,0,0,.13)!important;
 }
 body:has([data-cf-home-profile-hero]) .cfPlayerHomePanelV1>.title{
  display:flex!important;
  align-items:baseline!important;
  justify-content:space-between!important;
  gap:10px!important;
  margin:0 0 14px!important;
  padding:0 0 12px!important;
  border-bottom:1px solid rgba(143,183,160,.17)!important;
 }
 body:has([data-cf-home-profile-hero]) .cfPlayerHomePanelV1>.title h2{
  margin:0!important;
  font-size:18px!important;
  line-height:1.2!important;
  color:#f7faf8!important;
 }
 body:has([data-cf-home-profile-hero]) .cfPlayerHomePanelV1>.title span{
  font-size:12px!important;
  color:#aabdb3!important;
  white-space:nowrap!important;
 }
 body:has([data-cf-home-profile-hero]) .cfPlayerHomeMatchesV1 .list>.empty{
  min-height:82px!important;
  display:grid!important;
  place-items:center!important;
  padding:16px!important;
  border:1px dashed rgba(138,183,157,.25)!important;
  border-radius:12px!important;
  background:rgba(8,24,23,.48)!important;
  color:#c9d7cf!important;
  font-size:14px!important;
 }
 body:has([data-cf-home-profile-hero]) .cfPlayerHomeRecommendationsV1 .homeRecommendations{
  gap:10px!important;
 }
 body:has([data-cf-home-profile-hero]) .cfPlayerHomeRecommendationsV1 .homeRecCard{
  min-height:70px!important;
  border:1px solid rgba(111,165,134,.25)!important;
  border-radius:13px!important;
  background:linear-gradient(135deg,#10241f,#0e1d1d)!important;
 }
 body:has([data-cf-home-profile-hero]) .cfPlayerHomeRecommendationsV1 .homeRecMain b{
  font-size:14px!important;
  line-height:1.25!important;
  color:#f7faf8!important;
 }
 body:has([data-cf-home-profile-hero]) .cfPlayerHomeRecommendationsV1 .homeRecMain span,
 body:has([data-cf-home-profile-hero]) .cfPlayerHomeRecommendationsV1 .homeRecMain small{
  font-size:11px!important;
  line-height:1.3!important;
  color:#b7c9bf!important;
 }
 body:has([data-cf-home-profile-hero]) .cfPlayerHomeRecommendationsV1 .homeRecCard>.btn{
  min-width:48px!important;
  min-height:40px!important;
  border:1px solid rgba(94,184,133,.4)!important;
  border-radius:10px!important;
  background:#203b30!important;
  color:#e6f9eb!important;
  font-size:12px!important;
  font-weight:750!important;
 }
 body:has([data-cf-home-profile-hero]) .cfPlayerHomeRecommendationsV1 .homeDiscoverMore{
  margin-top:16px!important;
 }
 body:has([data-cf-home-profile-hero]) .cfPlayerHomeRecommendationsV1 .homeDiscoverMore .btn{
  min-height:44px!important;
  border:1px solid rgba(119,173,146,.32)!important;
  border-radius:11px!important;
  background:#243a35!important;
  color:#f5faf6!important;
  font-size:13px!important;
  font-weight:750!important;
 }
 html[data-theme="light"] body:has([data-cf-home-profile-hero]) .cfPlayerHomePanelV1,
 html[data-theme="light"] body:has([data-cf-home-profile-hero]) .homeTeamCard{
  background:#f6faf7!important;
  border-color:#c9dfd0!important;
 }
 html[data-theme="light"] body:has([data-cf-home-profile-hero]) .cfPlayerHomePanelV1>.title h2,
 html[data-theme="light"] body:has([data-cf-home-profile-hero]) .homeRecMain b{color:#17211c!important}
 @media(max-width:700px){
  html body:has(.cfPlayerShellV1) .cfStadiumShellV35.cfPlayerShellV1 .cfShellTopV35{
   width:calc(100% + 28px)!important;
   height:calc(64px + env(safe-area-inset-top,0px))!important;
   min-height:calc(64px + env(safe-area-inset-top,0px))!important;
   margin:0 -14px 14px!important;
   padding:0 14px!important;
  }
  body:has([data-cf-home-profile-hero]) .cfPlayerHomePanelV1{padding:14px!important}
  body:has([data-cf-home-profile-hero]) .cfPlayerHomePanelV1>.title h2{font-size:17px!important}
 }
 @media(max-width:390px){
  body:has([data-cf-home-profile-hero]) .cfGlobalAuthHeaderLogoV1{max-width:38vw!important}
  body:has([data-cf-home-profile-hero]) .cfPlayerHomePanelV1>.title{align-items:flex-start!important;flex-direction:column!important;gap:3px!important}
 }
}

/* Os controles globais do jogador pertencem ao topo da página e rolam com ele. */
body:has(.cfPlayerShellV1) :is(#cfProfileMenuBtnV2,#cfGlobalSettingsTopBtnV1,#cfProfileNotificationBtnV2),
body:has(.cfPlayerShellV1) .cfGlobalAuthHeaderLogoV1{
 position:absolute!important;
}
