.topbar.dark .marketplace-account-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 9px 0;
}

.topbar.dark .marketplace-account-actions > li {
  float: none;
  padding: 0;
  border: 0;
}

.topbar.dark .marketplace-account-actions > li > a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 9px;
  color: #e7efec;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.topbar.dark .marketplace-account-actions > li > a:hover,
.topbar.dark .marketplace-account-actions > li > a:focus {
  color: #fff;
  background: rgba(255,255,255,.1);
  outline: 0;
}

.topbar.dark .top-right-items .marketplace-account-actions > li > a > span { padding: 0 !important; }

.topbar.dark .marketplace-account-actions .marketplace-add-ad {
  min-height: 42px;
  padding-right: 16px;
  padding-left: 16px;
  color: #12382f;
  background: #fff;
  box-shadow: 0 7px 18px rgba(0,0,0,.14);
}

.topbar.dark .marketplace-account-actions .marketplace-add-ad:hover,
.topbar.dark .marketplace-account-actions .marketplace-add-ad:focus {
  color: #0f3028;
  background: #f0f8f5;
  transform: translateY(-1px);
}

.marketplace-message-shortcut { position: relative; }
.marketplace-message-shortcut > i { font-size: 17px; }
.marketplace-message-shortcut .marketplace-top-badge {
  display: grid;
  min-width: 19px;
  height: 19px;
  place-items: center;
  padding: 0 5px;
  border: 2px solid #173c34;
  border-radius: 99px;
  color: #fff;
  background: #e14b52;
  font-size: 10px;
  font-weight: 900;
}

.topbar.dark .marketplace-account-actions .marketplace-account-trigger {
  min-width: 156px;
  justify-content: flex-start;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.18);
}

.marketplace-account-avatar,
.marketplace-panel-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #173c34;
  background: #fff;
}

.marketplace-account-copy { display: grid; flex: 1; text-align: left; }
.marketplace-account-copy small { color: #aebfba; font-size: 9px; font-weight: 600; text-transform: uppercase; }
.marketplace-account-copy strong { color: #fff; font-size: 12px; font-weight: 800; }
.marketplace-account-chevron { margin-left: auto; transition: transform .18s ease; }
.marketplace-account-dropdown.open .marketplace-account-chevron { transform: rotate(180deg); }

.topbar.dark .marketplace-account-dropdown-menu {
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  width: 268px;
  padding: 8px;
  border: 1px solid #dce6e2;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(16,43,34,.2);
  z-index: 1200;
}

.topbar.dark .marketplace-account-dropdown-menu::before {
  position: absolute;
  top: -6px;
  right: 22px;
  width: 12px;
  height: 12px;
  border-top: 1px solid #dce6e2;
  border-left: 1px solid #dce6e2;
  background: #fff;
  content: "";
  transform: rotate(45deg);
}

.topbar.dark .marketplace-account-dropdown-menu > li { float: none; width: 100%; padding: 0; }
.topbar.dark .marketplace-account-dropdown-menu > li > a {
  display: flex;
  min-height: 43px;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  border-radius: 8px;
  color: #2b3b36;
  font-size: 13px;
  font-weight: 700;
}
.topbar.dark .marketplace-account-dropdown-menu > li > a:hover,
.topbar.dark .marketplace-account-dropdown-menu > li > a:focus { color: #116d5a; background: #eef7f4; }
.marketplace-account-dropdown-menu li a > i:first-child { width: 20px; color: #6b7e77; font-size: 16px; text-align: center; }
.marketplace-account-dropdown-menu li a > span { flex: 1; }
.marketplace-dropdown-heading span { display: block; padding: 7px 11px 5px; color: #8a9994; font-size: 10px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.marketplace-account-dropdown-menu .divider { margin: 6px 3px; background: #e7eeeb; }
.topbar.dark .marketplace-account-dropdown-menu > li > .marketplace-logout-link { color: #a5383e; }
.marketplace-dropdown-badge,
.marketplace-panel-badge { display: grid; min-width: 21px; height: 21px; place-items: center; padding: 0 6px; border-radius: 99px; color: #fff; background: #d7464e; font-size: 10px; }

.marketplace-panel-nav {
  overflow: hidden;
  border: 1px solid #dce6e2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(20,53,43,.08);
}
.marketplace-panel-nav-header { display: flex; align-items: center; gap: 12px; padding: 20px 18px; color: #fff; background: linear-gradient(135deg,#173c34,#216854); }
.marketplace-panel-avatar { width: 38px; height: 38px; }
.marketplace-panel-nav-header > span:last-child { display: grid; }
.marketplace-panel-nav-header small { color: #b8d4cb; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.marketplace-panel-nav-header strong { margin-top: 2px; color: #fff; font-size: 15px; }
.marketplace-panel-links { margin: 0; padding: 8px; list-style: none; }
.marketplace-panel-links li { margin: 0; padding: 0; border: 0; }
.marketplace-panel-links li a { display: flex; min-height: 46px; align-items: center; gap: 11px; padding: 10px 11px; border-radius: 8px; color: #34443e; font-size: 13px; font-weight: 700; text-decoration: none; }
.marketplace-panel-links li a:hover,
.marketplace-panel-links li a:focus { color: #116d5a; background: #eef7f4; outline: 0; }
.marketplace-panel-links li a > i:first-child { width: 21px; color: #75867f; font-size: 16px; text-align: center; }
.marketplace-panel-links li a > span { flex: 1; }
.marketplace-panel-links li a > i:last-child { color: #a8b4b0; font-size: 12px; }
.marketplace-panel-logout { margin-top: 7px !important; padding-top: 7px !important; border-top: 1px solid #e7eeeb !important; }
.marketplace-panel-links .marketplace-panel-logout a { color: #a5383e; }

@media (max-width: 991px) {
  .marketplace-account-sidebar { margin-bottom: 22px; }
  .marketplace-panel-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3px; }
  .marketplace-panel-logout { margin-top: 0 !important; padding-top: 0 !important; border-top: 0 !important; }
}

@media (max-width: 767px) {
  .topbar.dark .marketplace-account-actions { gap: 3px; padding: 0; }
  .marketplace-home-link { display: none; }
  .marketplace-top-social,
  .marketplace-top-translate,
  .marketplace-top-language { display: none !important; }
  .topbar.dark .marketplace-account-actions > li > a { min-height: 38px; padding: 6px 7px !important; font-size: 11px; }
  .topbar.dark .marketplace-account-actions .marketplace-add-ad { min-height: 38px; padding-right: 10px !important; padding-left: 10px !important; }
  .marketplace-action-label { display: none; }
  .marketplace-message-shortcut > i { font-size: 19px; }
  .topbar.dark .marketplace-account-actions .marketplace-account-trigger { min-width: 0; padding: 3px 5px !important; }
  .marketplace-account-copy { display: none; }
  .marketplace-account-avatar { width: 31px; height: 31px; }
  .marketplace-account-chevron { font-size: 10px; }
  .topbar.dark .marketplace-account-dropdown-menu { position: fixed; top: 62px; right: 12px; left: 12px; width: auto; }
  .topbar.dark .marketplace-account-dropdown-menu::before { display: none; }
}

@media (max-width: 430px) {
  .marketplace-login-link i { display: none; }
  .topbar.dark .marketplace-account-actions .marketplace-add-ad span { max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .marketplace-panel-links { grid-template-columns: 1fr; }
}
