#cm_userpanel_pop a {
  text-decoration: none;
}

#cm_userpanel_pop {
  position: fixed;
  width: fit-content;
  z-index: 9999;
  box-sizing: border-box;
}

.cm_userpanel_pop_box {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.24);
  border-radius: 4px;
  position: relative;
}

#cm_userpanel_pop .cmup_top {
  background-image: url("/components/userPanelPop/img/bg.png");
  width: 100%;
  height: 180px;
  padding-top: 20px;
  box-sizing: border-box;
  background-size: cover;
}

#cm_userpanel_pop .cmup_avatar {
  display: block;
  text-align: center;
  overflow: visible;
  line-height: 0;
  font-size: 0;
  border: 1px solid #f4f4f4;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin: 0px auto 4px;
  box-sizing: border-box;
  position: relative;
}

#cm_userpanel_pop .cmup_avatar img {
  width: 100%;
  border-radius: 50%;
  height: 100%;
}

#cm_userpanel_pop .cmup_uName {
  display: flex;
  justify-content: center;
  width: 100%;
  font-weight: bold;
  text-align: center;
}
#cm_userpanel_pop .cmup_uName_cotent {
  cursor: pointer;
  width: 80%;
  margin: 0 auto;
  overflow: hidden;
  text-overflow: ellipsis;
}
#cm_userpanel_pop .cmup_uName_input {
  width: 100%;
  text-align: center;
  display: none;
  height: 21px;
}

#cm_userpanel_pop .cmup_popIcon,
.cmup_avatar_trigger .cmup_popIcon {
  box-sizing: border-box;
  vertical-align: text-bottom;
  display: inline-block;
  background-image: url("/components/userPanelPop/img/icon.png");
  background-image: url("../img/icon.png");
}

#cm_userpanel_pop .cmup_popIcon.cmup_level {
  width: 20px;
  height: 21px;
  top: 16px;
  right: 20px;
  position: absolute;
  right: -5px;
  bottom: -4px;
}
#cm_userpanel_pop .cmup_edit_icon {
  vertical-align: baseline;
  width: 20px;
  height: 21px;
  cursor: pointer;
  background-position: -140px -104px;
}

#cm_userpanel_pop .cmup_account {
  font-size: 12px;
  line-height: 16px;
  color: #999999;
  text-align: center;
}

#cm_userpanel_pop .cmup_levelInfoBox {
  box-sizing: border-box;
  margin: 10px;
  padding: 10px;
  width: 232px;
  height: 56px;
  background: linear-gradient(
    270deg,
    rgba(255, 251, 244, 0.1) 0%,
    #fff6e7 100%
  );
  border-radius: 4px;
  font-size: 12px;
  position: relative;
}

#cm_userpanel_pop .cmup_levelInfoBox .cmup_accountType {
  font-weight: bold;
  color: #6a3214;
  margin-bottom: 2px;
}

#cm_userpanel_pop .cmup_levelInfoBox .cmup_expireTime {
  color: #666666;
}

#cm_userpanel_pop .cmup_levelInfoBox .cmup_upgradeBtn {
  position: absolute;
  right: 10px;
  top: 16px;
  width: 68px;
  height: 24px;
  background: linear-gradient(90deg, #fad7aa 0%, #e6b16f 100%);
  border-radius: 12px;
  display: block;
  color: #6a3214;
  text-align: center;
  line-height: 24px;
}

#cm_userpanel_pop .cmup_levelInfoBox .cmup_upgradeBtn:hover {
  background: linear-gradient(90deg, #f8d2a0 0%, #efa446 100%);
}

#cm_userpanel_pop_menu {
  padding: 10px 6px;
  font-size: 12px;
  box-sizing: border-box;
}

#cm_userpanel_pop_menu .cmup_menuItem {
  display: inline-block;
  margin: 6px;
  width: 73px;
  height: 68px;
  background: rgba(242, 245, 250);
  border-radius: 4px;
  text-align: center;
  color: #727d88;
  box-sizing: border-box;
}

#cm_userpanel_pop_menu .cmup_menuItem:hover {
  background: rgba(0, 118, 254);
  color: #fff;
}

#cm_userpanel_pop_menu .cmup_menuItem:hover .cmup_popIcon.uPanel {
  background-position: 3px -70px;
}

#cm_userpanel_pop_menu .cmup_menuItem:hover .cmup_popIcon.files {
  background-position: -33px -70px;
}

#cm_userpanel_pop_menu .cmup_menuItem:hover .cmup_popIcon.bookcase {
  background-position: -69px -70px;
}

#cm_userpanel_pop_menu .cmup_menuItem:hover .cmup_popIcon.statistics {
  background-position: 3px -105px;
}

#cm_userpanel_pop_menu .cmup_menuItem:hover .cmup_popIcon.account {
  background-position: -33px -105px;
}

#cm_userpanel_pop_menu .cmup_menuItem:hover .cmup_popIcon.invoice {
  background-position: -70px -104px;
}

#cm_userpanel_pop_menu .cmup_menuItem .iconBox {
  margin: 12px auto 6px;
}

#cm_userpanel_pop_menu .cmup_popIcon {
  width: 22px;
  height: 22px;
}

#cm_userpanel_pop_menu .cmup_popIcon.uPanel {
  background-position: 3px 2px;
}

#cm_userpanel_pop_menu .cmup_popIcon.files {
  background-position: -33px 2px;
}

#cm_userpanel_pop_menu .cmup_popIcon.bookcase {
  background-position: -69px 3px;
}

#cm_userpanel_pop_menu .cmup_popIcon.statistics {
  background-position: 3px -33px;
}

#cm_userpanel_pop_menu .cmup_popIcon.account {
  background-position: -33px -34px;
}

#cm_userpanel_pop_menu .cmup_popIcon.invoice {
  background-position: -70px -32px;
}

#cm_userpanel_pop_menu .cmup_name {
  line-height: 16px;
}

#cm_userpanel_pop .cmup_bottom.cmup_logout {
  display: block;
  position: absolute;
  font-size: 12px;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: rgba(248, 248, 248);
  border-radius: 0px 0px 4px 4px;
  color: #999999;
}

#cm_userpanel_pop .cmup_bottom.cmup_logout:hover {
  background: rgba(242, 242, 242);
  color: #ff5556;
}

.cmup_uName_text {
  display: inline-block;
  max-width: 80%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cmup_uName_text:hover {
  text-decoration: underline;
}

.cmup_input {
  outline-style: none;
  border: none;
  border-bottom: 1px solid #333;
}

.cmup_input:focus {
  border-bottom: 1px solid #333;
  outline: 0;
}
.cm_userpanel_userid_box {
  position: absolute;
  left: 16px;
  top: 16px;
  height: 20px;
  line-height: 20px;
  font-size: 12px;
  padding: 0 6px;
  background-color: rgb(242, 245, 250);
  border-radius: 10px;
}
.cm_userpanel_userid_box {
  position: absolute;
  left: 14px;
  top: 8px;
  height: 20px;
  line-height: 20px;
  font-size: 12px;
  padding: 0 8px 0 20px;
  background-color: rgb(242, 245, 250);
  border-radius: 10px;
  color: #999;
}
.cm_userpanel_userid_icon.cmup_popIcon {
  position: absolute;
  left: -6px;
  top: -1px;
  height: 22px;
  line-height: 22px;
  width: 22px;
  background-position: -1px -141px;
}
.cmup_avatar_trigger .cmup_avatar_img {
  width: 100%;
  border-radius: 50%;
  height: 100%;
}
.cmup_avatar_trigger .cmup_popIcon {
  width: 20px;
  height: 21px;
  position: absolute;
  bottom: -4px;
  right: -5px;
}
#cm_userpanel_pop .cm_userpanel_yunbi_bar {
  box-sizing: border-box;
  width: calc(100% - 24px);
  margin: 8px 12px 0px;
  height: 56px;
  padding: 0 12px;
  border-radius: 8px 8px 0px 0px;
  background: linear-gradient(
      0deg,
      rgba(239, 246, 255, 0.1) -119.28%,
      #eff6ff 4.34%
    ),
    #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#cm_userpanel_pop .cm_userpanel_yunbi_left a {
  color: #666;
  font-size: 12px;
  cursor: pointer;
}
#cm_userpanel_pop .cm_userpanel_yunbi_left a:hover {
  text-decoration: underline;
}
#cm_userpanel_pop .cm_userpanel_yunbi_balance {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #0c2644;
  font-size: 11px;
  line-height: 22px;
}
#cm_userpanel_pop .cm_userpanel_yunbi_balance .cm_userpanel_yunbi_num {
  color: #0c2644;
  font-size: 16px;
  font-weight: 700;
}
#cm_userpanel_pop .cm_userpanel_yunbi_balance img {
  padding: 0 0 2px 2px;
}
#cm_userpanel_pop .cm_userpanel_yunbi_btn {
  width: 68px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  background: #0076fe;
}
#cm_userpanel_pop .cm_userpanel_yunbi_btn:hover {
  background: #3391fe;
}
#cm_userpanel_pop .cm_userpanel_yunbi_btn:active {
  background: #006ae5;
}
#cm_userpanel_pop a.cmup_account_bind {
  height: 22px;
  line-height: 22px;
  font-size: 12px;
  padding: 0 8px;
  border: 1px solid #eee;
  color: #666;
  cursor: pointer;
  margin-left: 2px;
  display: inline-block;
}
#cm_userpanel_pop a.cmup_account_bind:hover {
  border: 1px solid #b3d6ff;
  color: #0076fe;
}
