body.qdd-account-theme {
  --account-bg: #101114;
  --account-panel: #1b1d22;
  --account-panel-2: #24272d;
  --account-line: #30343b;
  --account-text: #f7f9fc;
  --account-muted: #9da7b5;
  --account-purple: #5440cb;
  --account-blue: #347de0;
  --account-cyan: #28b8e7;
  --account-gold: #ffc62e;
  --el-color-primary: #28b8e7;
  background: var(--account-bg) !important;
  color: var(--account-text);
}

body.qdd-account-theme #app,
body.qdd-account-theme #app .contents {
  background: linear-gradient(180deg, #17191d 0, var(--account-bg) 240px) !important;
}

body.qdd-account-theme #app .header {
  height: 66px !important;
  background: #202124 !important;
  border-bottom: 1px solid #2d3035;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
}

body.qdd-account-theme #app .header-left,
body.qdd-account-theme #app .header-right,
body.qdd-account-theme #app .header-left-txt {
  height: 66px !important;
  line-height: 66px !important;
}

body.qdd-account-theme #app .header-option {
  margin-top: 12px !important;
  background: transparent !important;
  border-radius: 6px !important;
}

body.qdd-account-theme #app .empty-box {
  height: 66px !important;
}

body.qdd-account-theme #app .contents-box {
  max-width: 780px;
  margin: 0 auto;
  padding: 14px 20px 100px !important;
}

body.qdd-account-theme #app .contents-balance-box {
  background: linear-gradient(112deg, var(--account-purple) 0%, var(--account-blue) 56%, var(--account-cyan) 100%) !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 28px rgba(24, 96, 190, .24);
}

body.qdd-account-theme #app .left-bg1,
body.qdd-account-theme #app .left-bg2 {
  display: none !important;
}

body.qdd-account-theme #app .balance-title-box .title-box-txt {
  color: rgba(255, 255, 255, .9) !important;
}

body.qdd-account-theme #app .banalce-info,
body.qdd-account-theme #app .balance-info-content {
  color: #fff !important;
}

body.qdd-account-theme #app .banalce-info {
  border-bottom-color: rgba(255, 255, 255, .2) !important;
}

body.qdd-account-theme #app .banalce-info > span {
  color: var(--account-gold) !important;
}

body.qdd-account-theme #app .balance-info-title {
  color: rgba(255, 255, 255, .72) !important;
  opacity: 1 !important;
}

body.qdd-account-theme #app .menu-list {
  height: 44px !important;
  margin-top: 14px !important;
}

body.qdd-account-theme #app .menus {
  display: flex;
  align-items: center;
  gap: 4px;
  width: max-content;
  min-width: 100%;
  height: 44px !important;
  padding: 4px;
  background: var(--account-panel) !important;
  border: 1px solid var(--account-line);
  border-radius: 8px;
}

body.qdd-account-theme #app .menu {
  float: none !important;
  padding: 8px 14px !important;
  border-radius: 6px !important;
  color: var(--account-muted) !important;
  white-space: nowrap;
}

body.qdd-account-theme #app .menu_active {
  color: #fff !important;
  background: linear-gradient(105deg, var(--account-purple), var(--account-blue), var(--account-cyan)) !important;
}

body.qdd-account-theme #app .content-info {
  background: var(--account-panel) !important;
  border: 1px solid var(--account-line);
  border-radius: 8px !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

body.qdd-account-theme #app .content-info::before,
body.qdd-account-theme #app .seeting-list::before {
  background: linear-gradient(180deg, var(--account-purple), var(--account-cyan)) !important;
  border-radius: 3px !important;
}

body.qdd-account-theme #app .title,
body.qdd-account-theme #app .seeting-lable,
body.qdd-account-theme #app .day_list1 {
  color: var(--account-text) !important;
}

body.qdd-account-theme #app .lable,
body.qdd-account-theme #app .tk-lable,
body.qdd-account-theme #app .seed {
  color: var(--account-muted) !important;
}

body.qdd-account-theme #app .input-content,
body.qdd-account-theme #app .tk-input-content,
body.qdd-account-theme #app .address-input-content,
body.qdd-account-theme #app .day-lists {
  background: var(--account-panel-2) !important;
  border: 1px solid #353942;
  border-radius: 8px !important;
  color: var(--account-text) !important;
}

body.qdd-account-theme #app .address-input-button,
body.qdd-account-theme #app .tk-input-button {
  background: #30343b !important;
  border-radius: 6px !important;
  color: var(--account-cyan) !important;
}

body.qdd-account-theme #app .confirm-button {
  background: linear-gradient(105deg, var(--account-purple), var(--account-blue), var(--account-cyan)) !important;
  border-color: transparent !important;
  border-radius: 6px !important;
  color: #fff !important;
  box-shadow: 0 7px 18px rgba(35, 126, 217, .24);
}

body.qdd-account-theme #app .seeting-list {
  background: var(--account-panel) !important;
  border: 1px solid var(--account-line);
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

body.qdd-account-theme #app .el-radio__input.is-checked + .el-radio__label {
  color: var(--account-cyan) !important;
}

body.qdd-account-theme #app .el-radio__input.is-checked .el-radio__inner {
  border-color: var(--account-cyan) !important;
  background: var(--account-cyan) !important;
}

body.qdd-account-theme #app .nav_mobile_bottom {
  background: #1d1f23 !important;
  border-top: 1px solid #31343a;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, .2);
}

body.qdd-account-theme #app .bottom_name_active {
  color: var(--account-cyan) !important;
}

body.qdd-account-theme #app .qdd-account-profile {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 116px;
  margin-bottom: 14px;
  padding: 16px 18px;
  overflow: hidden;
  background: linear-gradient(145deg, #181a20, #20242d);
  border: 1px solid #353b46;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .2);
}

body.qdd-account-theme #app .qdd-account-profile::before,
body.qdd-account-theme #app .qdd-account-profile::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 110px;
  pointer-events: none;
  filter: blur(28px);
  opacity: .45;
}

body.qdd-account-theme #app .qdd-account-profile::before {
  top: -72px;
  right: -28px;
  background: linear-gradient(135deg, rgba(84, 64, 203, .62), transparent 70%);
}

body.qdd-account-theme #app .qdd-account-profile::after {
  bottom: -82px;
  left: 72px;
  background: linear-gradient(135deg, transparent 20%, rgba(40, 184, 231, .42));
}

body.qdd-account-theme #app .qdd-account-profile-avatar,
body.qdd-account-theme #app .qdd-account-profile-main,
body.qdd-account-theme #app .qdd-account-profile-edit {
  position: relative;
  z-index: 1;
}

body.qdd-account-theme #app .qdd-account-profile-avatar {
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  background: #242733;
  box-shadow: 0 0 0 4px rgba(40, 184, 231, .12), 0 8px 18px rgba(0, 0, 0, .28);
}

body.qdd-account-theme #app .qdd-account-profile-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.qdd-account-theme #app .qdd-account-profile-main {
  min-width: 0;
  margin-left: 14px;
}

body.qdd-account-theme #app .qdd-account-profile-name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

body.qdd-account-theme #app .qdd-account-profile-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 13px;
  background: #747b8e;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

body.qdd-account-theme #app .qdd-account-profile-id {
  margin-top: 8px;
  color: #edf2f8;
  font-size: 15px;
}

body.qdd-account-theme #app .qdd-account-profile-copy {
  width: 22px;
  height: 22px;
  margin-left: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--account-cyan);
  font-size: 17px;
  line-height: 22px;
  cursor: pointer;
}

body.qdd-account-theme #app .qdd-account-profile-edit {
  margin-left: auto;
  align-self: center;
  color: var(--account-gold);
  font-size: 24px;
  transform: rotate(-18deg);
}

body.qdd-account-theme #app .contents-balance-box {
  background: linear-gradient(145deg, #11141a 0%, #171b24 58%, #202530 100%) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28), 0 0 26px rgba(52, 125, 224, .12);
}

body.qdd-account-theme #app .contents-balance-box::before,
body.qdd-account-theme #app .contents-balance-box::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 170px;
  pointer-events: none;
  filter: blur(30px);
  opacity: .42;
}

body.qdd-account-theme #app .contents-balance-box::before {
  top: -110px;
  right: -90px;
  background: linear-gradient(135deg, rgba(83, 64, 203, .62), transparent 68%);
}

body.qdd-account-theme #app .contents-balance-box::after {
  bottom: -120px;
  left: 40px;
  background: linear-gradient(135deg, transparent 30%, rgba(40, 184, 231, .42));
}

body.qdd-account-theme #app .contents-balance-box > *:not(.left-bg1):not(.left-bg2) {
  position: relative;
  z-index: 1;
}

@media (max-width: 420px) {
  body.qdd-account-theme #app .contents-box {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body.qdd-account-theme #app .menu {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* Flat account presentation: solid surfaces, restrained borders, no glow. */
body.qdd-account-theme,
body.qdd-account-theme #app,
body.qdd-account-theme #app .contents {
  background: #111317 !important;
}

body.qdd-account-theme #app .header {
  background: #191c21 !important;
  box-shadow: none !important;
}

body.qdd-account-theme #app .contents-balance-box {
  background: #1d2229 !important;
  border: 1px solid #303741 !important;
  box-shadow: none !important;
}

body.qdd-account-theme #app .contents-balance-box::before,
body.qdd-account-theme #app .contents-balance-box::after,
body.qdd-account-theme #app .qdd-account-profile::before,
body.qdd-account-theme #app .qdd-account-profile::after {
  display: none !important;
}

body.qdd-account-theme #app .menus {
  background: #191c21 !important;
  border-color: #303741 !important;
  box-shadow: none !important;
}

body.qdd-account-theme #app .menu_active {
  background: #2d8fca !important;
  color: #fff !important;
}

body.qdd-account-theme #app .content-info,
body.qdd-account-theme #app .seeting-list,
body.qdd-account-theme #app .qdd-account-profile {
  background: #1a1e24 !important;
  border-color: #303741 !important;
  box-shadow: none !important;
}

body.qdd-account-theme #app .content-info::before,
body.qdd-account-theme #app .seeting-list::before {
  background: #2d8fca !important;
}

body.qdd-account-theme #app .input-content,
body.qdd-account-theme #app .tk-input-content,
body.qdd-account-theme #app .address-input-content,
body.qdd-account-theme #app .day-lists {
  background: #20252c !important;
  border-color: #39414c !important;
  box-shadow: none !important;
}

body.qdd-account-theme #app .address-input-button,
body.qdd-account-theme #app .tk-input-button {
  background: #2b333d !important;
  box-shadow: none !important;
}

body.qdd-account-theme #app .confirm-button {
  background: #2d8fca !important;
  border: 1px solid #3aa5df !important;
  box-shadow: none !important;
}

body.qdd-account-theme #app .nav_mobile_bottom {
  background: #191c21 !important;
  box-shadow: none !important;
}

body.qdd-account-theme #app .qdd-account-profile-avatar {
  border: 1px solid #46515f !important;
  box-shadow: none !important;
  cursor: pointer;
}

body.qdd-account-theme #app .qdd-account-profile-status {
  background: #303944 !important;
  border: 1px solid #46515f;
}

/* The profile row lives inside the native account balance card. */
body.qdd-account-theme #app .qdd-account-inline-profile {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 70px;
  margin: 0 0 16px;
  padding: 0 0 16px;
  border-bottom: 1px solid #39414c;
}

body.qdd-account-theme #app .qdd-account-inline-profile .qdd-account-profile-edit {
  margin-left: auto;
}

body.qdd-account-theme #app .qdd-account-inline-profile .qdd-account-profile-id {
  margin-top: 8px;
}

body.qdd-account-theme #app button,
body.qdd-account-theme #app .el-button,
body.qdd-account-theme #app a.button,
body.qdd-account-theme #app [role="button"] {
  background-image: none !important;
  box-shadow: none !important;
}

body.qdd-account-theme #app button:focus,
body.qdd-account-theme #app button:hover,
body.qdd-account-theme #app .el-button:focus,
body.qdd-account-theme #app .el-button:hover {
  box-shadow: none !important;
}

body.qdd-account-theme.qdd-avatar-modal-open,
body.qdd-avatar-modal-open {
  overflow: hidden;
}

.qdd-avatar-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
}

.qdd-avatar-modal.is-open {
  display: block;
}

.qdd-avatar-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
}

.qdd-avatar-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(628px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  transform: translate(-50%, -50%);
  padding: 18px 20px 20px;
  background: #111317;
  border: 1px solid #3a424d;
  border-radius: 8px;
  color: #f7f9fc;
}

.qdd-avatar-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid #303741;
}

.qdd-avatar-dialog-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.qdd-avatar-close {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent !important;
  color: #9da7b5;
  font-size: 20px;
  line-height: 30px;
  cursor: pointer;
}

.qdd-avatar-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px 10px;
  padding: 20px 4px 22px;
}

.qdd-avatar-option {
  width: 100%;
  aspect-ratio: 1;
  padding: 3px;
  border: 2px solid transparent;
  border-radius: 50%;
  background: transparent !important;
  cursor: pointer;
}

.qdd-avatar-option img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.qdd-avatar-option:hover {
  border-color: #5daed6;
}

.qdd-avatar-option.is-selected {
  border-color: #f7f9fc;
  background: #2d8fca !important;
}

.qdd-avatar-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.qdd-avatar-actions button {
  min-height: 38px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.qdd-avatar-cancel {
  border: 1px solid #7b8795;
  background: transparent !important;
  color: #f7f9fc;
}

.qdd-avatar-confirm {
  border: 1px solid #3aa5df;
  background: #2d8fca !important;
  color: #fff;
}

@media (max-width: 520px) {
  .qdd-avatar-dialog {
    width: calc(100vw - 24px);
    padding: 16px 14px 14px;
  }

  .qdd-avatar-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 9px;
    padding-top: 16px;
  }
}

/* Compact profile treatment inside the native account summary. */
body.qdd-account-theme #app .qdd-account-inline-avatar {
  position: absolute !important;
  top: 24px;
  left: 28px;
  z-index: 20 !important;
  pointer-events: auto !important;
}

body.qdd-account-theme #app .qdd-account-inline-avatar,
body.qdd-account-theme #app .qdd-account-inline-avatar * {
  pointer-events: auto !important;
}

body.qdd-account-theme #app .contents-balance-box {
  height: auto !important;
  min-height: 280px !important;
  overflow: hidden !important;
}

body.qdd-account-theme #app .qdd-account-inline-avatar .qdd-account-profile-avatar {
  width: 62px;
  height: 62px;
  cursor: pointer;
}

body.qdd-account-theme #app .qdd-account-summary-row,
body.qdd-account-theme #app .qdd-account-summary-amount {
  padding-left: 110px !important;
}

body.qdd-account-theme #app .qdd-inline-auth-status {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-left: 8px;
  padding: 0 8px;
  border: 1px solid #46515f;
  border-radius: 11px;
  background: #303944;
  color: #d9e0e8;
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  vertical-align: middle;
}

body.qdd-account-theme #app .qdd-inline-auth-status.is-verified {
  border-color: #3d8b68;
  background: #245440;
  color: #b9f0d1;
}

/* Keep the language choices and confirmation action in normal document flow. */
#app .button-box[data-v-d4d5716c] {
  position: relative !important;
  width: 100% !important;
  margin-top: 16px !important;
}

#app .buttons[data-v-d4d5716c] {
  position: static !important;
  display: block !important;
  width: 100% !important;
}

#app .confirm-button[data-v-d4d5716c] {
    position: static !important;
    display: flex !important;
    width: 100% !important;
    margin: 0 !important;
    justify-content: center !important;
    align-items: center !important;
}

/* The language page also uses .menu-list/.menus, but those classes represent
   its six language rows rather than the account page's compact mode tabs. */
html.wf-language-route body.qdd-account-theme #app .menu-list {
    height: auto !important;
    margin-top: 0 !important;
}

html.wf-language-route body.qdd-account-theme #app .menus {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 56px !important;
    padding: 0 4px !important;
}
