.dcent-wallet-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--dcent-color-brand, #b4f053) 45%, transparent);
  background: color-mix(in srgb, var(--dcent-color-brand, #b4f053) 12%, #111);
  color: #f5f5f5;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  max-width: 11.5rem;
  flex-shrink: 0;
}

.dcent-wallet-pill[data-phrase-skip] {
  cursor: default;
}

.dcent-wallet-pill__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--dcent-wallet-avatar, linear-gradient(135deg, #64bf99, #3d8f72));
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12);
}

.dcent-wallet-pill__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}

.dcent-wallet-pill__name {
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgb(255 255 255 / 0.72);
  letter-spacing: 0.02em;
}

.dcent-wallet-pill__addr {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 7.5rem;
}

.dcent-wallet-pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dcent-color-brand, #b4f053);
  box-shadow: 0 0 8px color-mix(in srgb, var(--dcent-color-brand, #b4f053) 65%, transparent);
  flex-shrink: 0;
}

.m-header__right .dcent-wallet-pill {
  margin-right: 10px;
}

.m-header__mobile-right .dcent-wallet-pill {
  margin-right: 8px;
  padding: 4px 8px 4px 4px;
}

.m-header__mobile-right .dcent-wallet-pill__meta {
  display: none;
}

.m-header__mobile-right .dcent-wallet-pill__addr {
  max-width: 4.5rem;
  font-size: 0.6875rem;
}

.dcent-wallet-account {
  display: none;
  margin: 0 16px 16px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--dcent-color-brand, #b4f053) 35%, #333);
  background: #141414;
}

.dcent-wallet-account.is-visible {
  display: block;
}

.dcent-wallet-account__row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dcent-wallet-account__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--dcent-wallet-avatar, linear-gradient(135deg, #64bf99, #3d8f72));
}

.dcent-wallet-account__title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
}

.dcent-wallet-account__sub {
  margin: 4px 0 0;
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  color: rgb(255 255 255 / 0.65);
}

.dcent-wallet-account__status {
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--dcent-color-brand, #b4f053);
  display: flex;
  align-items: center;
  gap: 6px;
}