/* Reuse the two-row shell: avatar in Team's old slot, Team in Upgrade's. */
html body.recodet-pro #app .topbar.topbarTwoRow #headerProfileBtn {
  box-sizing:border-box!important;position:absolute!important;left:59px!important;top:50%!important;
  transform:translateY(-50%)!important;width:44px!important;height:44px!important;
  min-width:44px!important;min-height:44px!important;margin:0!important;padding:4px!important;
  display:grid!important;place-items:center!important;z-index:21!important;
  border:1px solid #9a7939!important;border-radius:50%!important;
  background:linear-gradient(155deg,#292012,#100d08)!important;color:#f4d781!important;
  cursor:pointer!important;
}
html body.recodet-pro #app .topbar.topbarTwoRow #headerProfileBtn[hidden],
html body.recodet-pro #app .topbar.topbarTwoRow #headerProfileBtn [hidden] {display:none!important}
#headerProfileBtn svg,#headerProfileBtn img {display:block;grid-area:1/1;width:100%;height:100%;min-height:0;min-width:0}
#headerProfileBtn img {object-fit:cover;border-radius:50%}
html body.recodet-pro #app .topbar.topbarTwoRow #teamTopBadge.teamTopBadge {
  box-sizing:border-box!important;position:absolute!important;left:50%!important;right:auto!important;
  top:auto!important;bottom:8px!important;transform:translateX(-50%)!important;
  display:grid!important;grid-template-columns:29px minmax(0,max-content)!important;grid-template-rows:1fr!important;grid-auto-flow:column!important;align-items:center!important;justify-content:center!important;gap:7px!important;
  width:clamp(150px,19vw,208px)!important;height:46px!important;min-height:46px!important;
  min-width:0!important;max-width:none!important;margin:0!important;padding:4px 8px!important;
  border:1px solid #9a7939!important;border-radius:13px!important;
  background:linear-gradient(145deg,#2c2111,#100d07)!important;color:#f7d983!important;
  overflow:hidden!important;z-index:10!important;
}
html body.recodet-pro #app .topbar.topbarTwoRow #teamTopBadge::before,
html body.recodet-pro #app .topbar.topbarTwoRow #teamTopBadge::after {display:none!important}
html body.recodet-pro #app .topbar.topbarTwoRow:not(.recodetHeaderActive) #teamTopBadge.teamTopBadge {display:none!important}
html body.recodet-pro #app .topbar.topbarTwoRow #teamTopBadge .teamBadgeMark {
  box-sizing:border-box!important;display:grid!important;place-items:center!important;
  flex:0 0 29px!important;width:29px!important;height:29px!important;min-width:0!important;
  border-radius:8px!important;grid-area:1/1!important;align-self:center!important;
}
#teamTopBadge .teamBadgeMark img {width:100%;height:100%;object-fit:contain}
html body.recodet-pro #app .topbar.topbarTwoRow #teamTopBadge .teamBadgeName {
  display:block!important;position:static!important;min-width:0!important;max-width:100%!important;grid-area:1/2!important;align-self:center!important;
  margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  color:#f7d983!important;opacity:1!important;visibility:visible!important;clip-path:none!important;font:750 13px/1.2 system-ui,sans-serif!important;
}
html body.recodet-pro #app > #hubUpgradeBtn.recodetCornerUpgrade {
  position:fixed!important;inset:auto!important;transform:none!important;
  left:max(calc(var(--rc-corner-sidebar,0px) + 10px), env(safe-area-inset-left,0px))!important;bottom:calc(var(--rc-corner-nav,env(safe-area-inset-bottom,0px)) + 10px)!important;
  box-sizing:border-box!important;display:grid!important;place-content:center!important;justify-items:center!important;gap:2px!important;
  width:54px!important;min-width:54px!important;max-width:54px!important;height:54px!important;min-height:54px!important;
  margin:0!important;padding:0!important;border-radius:50%!important;border:1px solid #e8bc5c!important;
  background:linear-gradient(155deg,#31200a,#110c05)!important;color:#ffe1a0!important;
  box-shadow:0 4px 14px #000b,inset 0 1px 0 #e8bc5c52!important;z-index:25!important;cursor:pointer!important;
}
html body.recodet-pro #app > #hubUpgradeBtn.recodetCornerUpgrade::before,
html body.recodet-pro #app > #hubUpgradeBtn.recodetCornerUpgrade::after {display:none!important}
html body.recodet-pro #app > #hubUpgradeBtn.recodetCornerUpgrade .recodetUpgradeMedallion {display:grid!important;place-items:center;width:20px;height:20px}
html body.recodet-pro #app > #hubUpgradeBtn.recodetCornerUpgrade svg {width:20px;height:20px;display:block}
html body.recodet-pro #app > #hubUpgradeBtn.recodetCornerUpgrade .recodetUpgradeText {display:block!important;font:800 7px/1 system-ui,sans-serif!important;letter-spacing:.025em}
html body.recodet-pro #app > .topbar:not(.recodetHeaderActive) + #hubUpgradeBtn.recodetCornerUpgrade,
html body.recodet-pro #app > #hubUpgradeBtn.recodetCornerUpgrade[hidden] {display:none!important}
html body.recodet-pro #app :is(#headerProfileBtn,#teamTopBadge,#hubUpgradeBtn.recodetCornerUpgrade):focus-visible {
  outline:2px solid #fff0b0!important;outline-offset:2px!important;
}
@media(max-width:760px){
  html body.recodet-pro #app > .topbar.topbarTwoRow.v78MobileShell #headerProfileBtn {
    grid-column:3/5!important;grid-row:1!important;position:static!important;
    inset:auto!important;transform:none!important;justify-self:center!important;align-self:center!important;
  }
  html body.recodet-pro #app > .topbar.topbarTwoRow.v78MobileShell #teamTopBadge.teamTopBadge {
    grid-column:5/9!important;grid-row:2!important;position:static!important;
    inset:auto!important;transform:none!important;justify-self:stretch!important;
    width:100%!important;padding-inline:5px!important;gap:5px!important;
  }
  html body.recodet-pro #app > .topbar.topbarTwoRow.v78MobileShell #teamTopBadge .teamBadgeName {
    font-size:clamp(10px,3.05vw,13px)!important;
    display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;
    white-space:normal!important;overflow-wrap:anywhere;
  }
}
