/* V65 — one large Team button anchored at the far right across both header rows. */
.topbar.topbarTwoRow{
  position:relative!important;
  padding-right:84px!important;
}
.topbarPrimaryRow,
.topbarSecondaryRow{
  padding-right:0!important;
}
.topbarSecondaryActions .teamTopBadge,
.topbar .teamTopBadge{
  position:absolute!important;
  z-index:8!important;
  top:8px!important;
  right:8px!important;
  bottom:8px!important;
  left:auto!important;
  width:66px!important;
  max-width:66px!important;
  height:auto!important;
  min-width:66px!important;
  min-height:0!important;
  flex:none!important;
  margin:0!important;
  padding:5px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:21px!important;
  border:1px solid rgba(244,205,88,.5)!important;
  background:linear-gradient(180deg,rgba(37,30,17,.99),rgba(10,9,7,.995))!important;
  box-shadow:inset 0 1px 0 rgba(255,239,176,.12),0 12px 28px rgba(0,0,0,.34)!important;
}
.topbar .teamTopBadge.hidden{display:none!important}
.topbar .teamTopBadge .teamBadgeMark{
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  flex:none!important;
  border-radius:16px!important;
  display:grid!important;
  place-items:center!important;
  color:#171106!important;
  font-size:32px!important;
  line-height:1!important;
  font-weight:950!important;
  letter-spacing:-.04em!important;
  background:linear-gradient(160deg,#f7df83 0%,#e5b735 55%,#a86d0c 100%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,235,.82),0 7px 17px rgba(0,0,0,.3)!important;
}
.topbar .teamTopBadge .teamBadgeName{display:none!important}

@media(max-width:520px){
  .topbar.topbarTwoRow{padding-right:76px!important}
  .topbarSecondaryActions .teamTopBadge,
  .topbar .teamTopBadge{
    top:7px!important;
    right:7px!important;
    bottom:7px!important;
    width:61px!important;
    min-width:61px!important;
    max-width:61px!important;
    border-radius:19px!important;
  }
  .topbar .teamTopBadge .teamBadgeMark{font-size:29px!important;border-radius:14px!important}
}

/* On onboarding the header deliberately collapses to Back only. */
body.onboardingActive .topbar .teamTopBadge{display:none!important}
