.account-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 16px;
  box-sizing: border-box;
  border-radius: 12px;
  background: #13d9b0;
  color: #071b16;
  text-decoration: none;
  font-weight: 700;
}
.account-primary:hover { background: #58e8c9; }
.account-primary:focus-visible, .topbar-profile:focus-visible { outline: 2px solid #80f9da; outline-offset: 3px; }
.account-panel { max-width: 680px; overflow-wrap: anywhere; }
.account-panel p { margin: 10px 0 18px; line-height: 1.5; }
.account-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.account-actions a, a.topbar-profile { text-decoration: none; }
.account-sync { margin: 12px clamp(12px, 3vw, 32px) 0; }
.account-sync[hidden], .account-sync [hidden] { display: none !important; }
.account-sync .account-actions { margin-top: 8px; }
.topbar-profile-copy { min-width: 0; }
.topbar-profile-copy strong { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 1100px) {
  .topbar .topbar-profile.topbar-sign-in {
    width: auto;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 12px;
    border-color: #19745f;
    background: #0c211d;
  }

  .topbar-sign-in .topbar-avatar,
  .topbar-sign-in .topbar-profile-copy small { display: none; }
  .topbar-sign-in .topbar-profile-copy { display: block; }
  .topbar-sign-in .topbar-profile-copy strong { color: #50e8bf; }
}
