/* JOGA V30.64.2 — Team Surface Contract
   No fake crest container. Official HQ image or one initial.
   Team popup is compact, breathable and mobile-first. */
:root{--j642-lime:#d8ff35;--j642-ink:#050806;--j642-panel:#09100a;--j642-line:rgba(255,255,255,.07)}

/* GALERA / SEU TIME — own layout, no legacy grid leakage */
.ax-player #jogaMyTeamGaleraV3019.joga-team-surface-v30621:not(.is-empty){
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important;
  gap:12px!important;width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;
  margin:0!important;padding:15px!important;box-sizing:border-box!important;overflow:hidden!important;contain:none!important;
  border:1px solid rgba(216,255,53,.13)!important;border-radius:24px!important;
  background:linear-gradient(145deg,rgba(11,18,12,.98),rgba(5,9,6,.99))!important;box-shadow:none!important;
}
.ax-player #jogaMyTeamGaleraV3019 .joga-team-identity-v30642{
  display:grid!important;grid-template-columns:62px minmax(0,1fr) 40px!important;align-items:center!important;
  gap:12px!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important;
}
/* Official crest is the image itself. Absolutely no badge/card/background around it. */
.ax-player #jogaMyTeamGaleraV3019 .joga-team-logo-v30642{
  all:unset!important;box-sizing:border-box!important;width:62px!important;height:62px!important;min-width:62px!important;
  display:grid!important;place-items:center!important;overflow:visible!important;cursor:pointer!important;
  color:var(--j642-lime)!important;font:950 28px/1 system-ui,sans-serif!important;text-align:center!important;
  background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:0!important;
}
.ax-player #jogaMyTeamGaleraV3019 .joga-team-logo-v30642::before,
.ax-player #jogaMyTeamGaleraV3019 .joga-team-logo-v30642::after{content:none!important;display:none!important}
.ax-player #jogaMyTeamGaleraV3019 .joga-team-logo-v30642.has-logo{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.ax-player #jogaMyTeamGaleraV3019 .joga-team-logo-v30642.has-logo img{
  width:62px!important;height:62px!important;max-width:62px!important;max-height:62px!important;display:block!important;
  object-fit:contain!important;object-position:center!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;filter:none!important;transform:none!important;
}
.ax-player #jogaMyTeamGaleraV3019 .joga-team-copy-v30642{min-width:0!important;overflow:hidden!important;padding:1px 0!important}
.ax-player #jogaMyTeamGaleraV3019 .joga-team-copy-v30642>span{display:block!important;color:var(--j642-lime)!important;font-size:7px!important;line-height:1!important;font-weight:900!important;letter-spacing:.14em!important}
.ax-player #jogaMyTeamGaleraV3019 .joga-team-copy-v30642>h3{margin:5px 0 0!important;color:#f3f6f2!important;font-size:18px!important;line-height:1.03!important;letter-spacing:-.035em!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.ax-player #jogaMyTeamGaleraV3019 .joga-team-copy-v30642>p{margin:6px 0 0!important;color:#7f8a82!important;font-size:8px!important;line-height:1.25!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.ax-player #jogaMyTeamGaleraV3019 .joga-team-open-v30642{width:40px!important;height:40px!important;min-width:40px!important;margin:0!important;padding:0!important;display:grid!important;place-items:center!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:13px!important;background:#0c130d!important;color:#b8c1ba!important;font-size:16px!important}
.ax-player #jogaMyTeamGaleraV3019 .joga-team-body-v30642{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px 12px!important;align-items:center!important;min-width:0!important;padding-top:12px!important;border-top:1px solid var(--j642-line)!important}
.ax-player #jogaMyTeamGaleraV3019 .joga-team-roster-v30642{display:flex!important;align-items:center!important;gap:9px!important;min-width:0!important;width:auto!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important}
.ax-player #jogaMyTeamGaleraV3019 .joga-team-roster-v30642 .joga-avatar-stack-v30621{display:flex!important;align-items:center!important;flex:0 0 auto!important;min-width:0!important}
.ax-player #jogaMyTeamGaleraV3019 .joga-team-roster-v30642 .joga-avatar-stack-v30621>button{width:31px!important;height:31px!important;min-width:31px!important;margin:0 0 0 -5px!important;padding:0!important;border:2px solid #071008!important;border-radius:999px!important;background:#111812!important;overflow:hidden!important}
.ax-player #jogaMyTeamGaleraV3019 .joga-team-roster-v30642 .joga-avatar-stack-v30621>button:first-child{margin-left:0!important}
.ax-player #jogaMyTeamGaleraV3019 .joga-team-roster-v30642 .joga-avatar-stack-v30621 i,
.ax-player #jogaMyTeamGaleraV3019 .joga-team-roster-v30642 .joga-avatar-stack-v30621 img{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;border-radius:999px!important}
.ax-player #jogaMyTeamGaleraV3019 .joga-team-roster-v30642>span{min-width:0!important;display:grid!important;gap:2px!important}
.ax-player #jogaMyTeamGaleraV3019 .joga-team-roster-v30642>span>b{color:#dfe4df!important;font-size:9px!important;line-height:1.1!important}
.ax-player #jogaMyTeamGaleraV3019 .joga-team-roster-v30642>span>small{color:#667169!important;font-size:7px!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.ax-player #jogaMyTeamGaleraV3019 .joga-team-actions-v30642{display:flex!important;align-items:center!important;gap:7px!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important}
.ax-player #jogaMyTeamGaleraV3019 .joga-team-actions-v30642>button{width:auto!important;min-width:74px!important;height:36px!important;margin:0!important;padding:0 11px!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:12px!important;background:#0d140f!important;color:#c9d0ca!important;font-size:7px!important;font-weight:900!important;white-space:nowrap!important}
.ax-player #jogaMyTeamGaleraV3019 .joga-team-actions-v30642>button.is-primary{border-color:transparent!important;background:var(--j642-lime)!important;color:#071006!important}
.ax-player #jogaMyTeamGaleraV3019 .joga-team-chat-free-v30642{grid-column:1/-1!important;margin:2px 0 0!important;width:100%!important;box-sizing:border-box!important}

/* TEAM PROFILE POPUP — smaller banner, real breathing room, no fake crest chrome */
.ax-player-v3168 .ax-public-profile-card-v13:has(.joga-team-profile-v30642){
  --team642-gutter:20px!important;--team642-cover:210px!important;
  background:linear-gradient(180deg,#050805,#030503)!important;
  overflow-x:hidden!important;overscroll-behavior:contain!important;
}
.joga-team-profile-v30642{background:linear-gradient(180deg,#071008,#050805)!important;border-bottom:1px solid rgba(255,255,255,.055)!important}
.joga-team-profile-v30642 .joga-team-hero-cover-v3046{height:var(--team642-cover)!important;min-height:0!important;border-radius:0!important;background:linear-gradient(145deg,#102015,#071008)!important}
.joga-team-profile-v30642 .joga-team-hero-cover-v3046:before{top:16px!important;font-size:11px!important}
.joga-team-profile-v30642 .joga-team-hero-toolbar-v3046{left:var(--team642-gutter)!important;right:66px!important;top:13px!important}
.joga-team-profile-v30642 .joga-team-hero-label-v3048{height:36px!important;border-radius:12px!important;padding:0 11px!important}
.joga-team-profile-v30642 .joga-team-hero-toolbar-v3046 button{height:36px!important;min-width:36px!important;border-radius:12px!important}
.joga-team-profile-v30642 .joga-team-identity-v3048{grid-template-columns:86px minmax(0,1fr)!important;gap:15px!important;align-items:start!important;margin-top:-34px!important;padding:0 var(--team642-gutter) 18px!important}
.joga-team-profile-v30642 .joga-team-crest-v3046{width:86px!important;height:86px!important;min-width:86px!important;display:grid!important;place-items:center!important;overflow:visible!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.joga-team-profile-v30642 .joga-team-crest-v3046.has-logo{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
.joga-team-profile-v30642 .joga-team-crest-v3046.has-logo img{width:86px!important;height:86px!important;display:block!important;object-fit:contain!important;object-position:center!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;filter:drop-shadow(0 10px 18px rgba(0,0,0,.40))!important;transform:none!important}
.joga-team-profile-v30642 .joga-team-crest-v3046.is-provisional{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.joga-team-profile-v30642 .joga-team-provisional-crest-v3048{all:unset!important;display:grid!important;place-items:center!important;width:86px!important;height:86px!important;color:var(--j642-lime)!important;font:950 34px/1 system-ui,sans-serif!important;text-align:center!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.joga-team-profile-v30642 .joga-team-identity-copy-v3046{min-width:0!important;padding-top:42px!important}
.joga-team-profile-v30642 .joga-team-status-row-v3046{min-height:17px!important;margin:0 0 5px!important;gap:7px!important}
.joga-team-profile-v30642 .joga-team-identity-copy-v3046 h2{margin:0 0 8px!important;color:#fff!important;font-size:30px!important;line-height:1!important;letter-spacing:-.045em!important;text-wrap:balance!important}
.joga-team-profile-v30642 .joga-team-identity-copy-v3046>p{margin:0!important;max-width:520px!important;color:#9aa59c!important;font-size:10.5px!important;line-height:1.45!important}
.joga-team-profile-v30642 .joga-team-meta-v3046{margin-top:11px!important;gap:6px!important}
.joga-team-profile-v30642 .joga-team-meta-v3046 span{height:28px!important;padding:0 9px!important;font-size:7px!important}
.joga-team-profile-v30642 .joga-team-primary-actions-v3048{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) 46px!important;gap:8px!important;padding:0 var(--team642-gutter) 18px!important}
.joga-team-profile-v30642 .joga-team-primary-actions-v3048 button{height:46px!important;border-radius:14px!important;font-size:8.5px!important}
.joga-team-profile-v30642 .joga-team-primary-actions-v3048 button.is-share-v3048{width:46px!important}
.ax-player-v3168 .ax-public-profile-card-v13:has(.joga-team-profile-v30642) .ax-public-profile-close-v13{top:max(12px,env(safe-area-inset-top,0px))!important;right:12px!important;z-index:30!important}

@media(max-width:640px){
  .ax-player #jogaMyTeamGaleraV3019.joga-team-surface-v30621:not(.is-empty){padding:14px!important;border-radius:22px!important;gap:11px!important}
  .ax-player #jogaMyTeamGaleraV3019 .joga-team-identity-v30642{grid-template-columns:56px minmax(0,1fr) 38px!important;gap:11px!important}
  .ax-player #jogaMyTeamGaleraV3019 .joga-team-logo-v30642,.ax-player #jogaMyTeamGaleraV3019 .joga-team-logo-v30642.has-logo img{width:56px!important;height:56px!important;min-width:56px!important;max-width:56px!important;max-height:56px!important}
  .ax-player #jogaMyTeamGaleraV3019 .joga-team-logo-v30642{font-size:25px!important}
  .ax-player #jogaMyTeamGaleraV3019 .joga-team-copy-v30642>h3{font-size:17px!important}
  .ax-player #jogaMyTeamGaleraV3019 .joga-team-body-v30642{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
  .ax-player #jogaMyTeamGaleraV3019 .joga-team-actions-v30642{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important}
  .ax-player #jogaMyTeamGaleraV3019 .joga-team-actions-v30642>button{width:100%!important;min-width:0!important;height:37px!important}

  .ax-player-v3168 .ax-public-profile-modal-v13:has(.joga-team-profile-v30642){padding:0!important;align-items:stretch!important;justify-content:stretch!important}
  .ax-player-v3168 .ax-public-profile-card-v13:has(.joga-team-profile-v30642){--team642-gutter:17px!important;--team642-cover:154px!important;width:100%!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;border:0!important;border-radius:0!important}
  .joga-team-profile-v30642 .joga-team-hero-cover-v3046{height:154px!important;min-height:154px!important;max-height:154px!important}
  .joga-team-profile-v30642 .joga-team-hero-cover-v3046:before{top:max(14px,env(safe-area-inset-top,0px))!important;font-size:10px!important}
  .joga-team-profile-v30642 .joga-team-hero-toolbar-v3046{left:13px!important;right:60px!important;top:max(10px,env(safe-area-inset-top,0px))!important}
  .joga-team-profile-v30642 .joga-team-hero-label-v3048{height:38px!important;padding:0 10px!important}
  .joga-team-profile-v30642 .joga-team-hero-toolbar-v3046 button{height:38px!important;min-width:38px!important;border-radius:12px!important}
  .joga-team-profile-v30642 .joga-team-identity-v3048{grid-template-columns:74px minmax(0,1fr)!important;gap:13px!important;margin-top:-26px!important;padding:0 var(--team642-gutter) 16px!important}
  .joga-team-profile-v30642 .joga-team-crest-v3046,.joga-team-profile-v30642 .joga-team-crest-v3046.has-logo img,.joga-team-profile-v30642 .joga-team-provisional-crest-v3048{width:74px!important;height:74px!important;min-width:74px!important;max-width:74px!important;max-height:74px!important}
  .joga-team-profile-v30642 .joga-team-provisional-crest-v3048{font-size:30px!important}
  .joga-team-profile-v30642 .joga-team-identity-copy-v3046{padding-top:35px!important}
  .joga-team-profile-v30642 .joga-team-status-row-v3046{margin-bottom:4px!important}
  .joga-team-profile-v30642 .joga-team-identity-copy-v3046 h2{margin:0 0 7px!important;font-size:25px!important;line-height:1.02!important}
  .joga-team-profile-v30642 .joga-team-identity-copy-v3046>p{font-size:9.5px!important;line-height:1.42!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
  .joga-team-profile-v30642 .joga-team-meta-v3046{margin-top:8px!important;gap:5px!important}
  .joga-team-profile-v30642 .joga-team-meta-v3046 span{height:25px!important;padding:0 7px!important;font-size:6.5px!important}
  .joga-team-profile-v30642 .joga-team-meta-v3046 span.is-followers{display:none!important}
  .joga-team-profile-v30642 .joga-team-primary-actions-v3048{grid-template-columns:minmax(0,1fr) minmax(0,.9fr) 44px!important;gap:7px!important;padding:0 var(--team642-gutter) 15px!important}
  .joga-team-profile-v30642 .joga-team-primary-actions-v3048 button{height:44px!important;border-radius:13px!important;padding:0 9px!important;font-size:8px!important;gap:6px!important}
  .joga-team-profile-v30642 .joga-team-primary-actions-v3048 button.is-share-v3048{width:44px!important;padding:0!important}
  .ax-player-v3168 .ax-public-profile-card-v13:has(.joga-team-profile-v30642) .ax-team-tabs-v31552{margin-top:0!important}
}
@media(max-width:390px){
  .joga-team-profile-v30642 .joga-team-primary-actions-v3048{grid-template-columns:minmax(0,1fr) 44px!important}
  .joga-team-profile-v30642 .joga-team-primary-actions-v3048 .is-edit-v3048{grid-column:1/-1!important;grid-row:2!important}
}
