/* Main service entrances directly below the account banner. */
#accountView .account-hub {
  display: grid;
  gap: 10px;
  margin: 0 0 2px;
}

#accountView .account-hub-primary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

#accountView .account-hub-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: space-between;
  align-items: start;
  gap: 10px;
  min-height: 112px;
  padding: 12px 10px;
  overflow: hidden;
  border: 1px solid rgba(190, 211, 235, 0.88);
  border-radius: 18px;
  background: linear-gradient(145deg, #fff, #f2f8ff);
  color: #1f2d40;
  text-align: left;
  box-shadow: 0 12px 30px rgba(38, 82, 132, 0.12);
}

#accountView .account-hub-card::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -28px;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: rgba(84, 153, 235, 0.07);
}

#accountView .account-hub-card > span:nth-child(2) {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  min-width: 0;
}

#accountView .account-hub-card strong {
  color: #1d2c40;
  font-size: 14px;
  font-weight: 780;
  white-space: nowrap;
}

#accountView .account-hub-card small {
  color: #8492a4;
  font-size: 9px;
  line-height: 1.35;
  white-space: normal;
}

#accountView .account-hub-card em {
  position: absolute;
  top: 9px;
  right: 10px;
  color: #9aa9ba;
  font-size: 9px;
  font-style: normal;
}

#accountView .membership-entry {
  border-color: rgba(83, 67, 167, 0.34);
  background: linear-gradient(145deg, #51439f 0%, #7663c7 100%);
  box-shadow: 0 15px 32px rgba(81, 67, 159, 0.27);
}

#accountView .membership-entry::after {
  width: 104px;
  height: 104px;
  right: -36px;
  bottom: -48px;
  background: rgba(255, 255, 255, 0.12);
}

#accountView .membership-entry .account-hub-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff3c4;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

#accountView .membership-entry strong { color: #fff; }
#accountView .membership-entry small { color: rgba(255, 255, 255, 0.80); }

#accountView .account-hub-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: #eaf4ff;
  color: #3d86dc;
  font-size: 17px;
  font-weight: 760;
}

#accountView .account-hub-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#accountView .earnings-entry .account-hub-icon {
  background: #fff4dc;
  color: #b77a16;
}

#accountView .task-center-entry {
  border-color: rgba(35, 119, 220, 0.32);
  background: linear-gradient(145deg, #2478df 0%, #469ff2 100%);
  box-shadow: 0 15px 32px rgba(36, 120, 223, 0.28);
}

#accountView .task-center-entry::after {
  width: 104px;
  height: 104px;
  right: -32px;
  bottom: -45px;
  background: rgba(255, 255, 255, 0.12);
}

#accountView .task-center-entry .account-hub-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

#accountView .task-center-entry strong,
#accountView .task-center-entry small,
#accountView .task-center-entry em {
  color: #fff;
}

#accountView .task-center-entry small { color: rgba(255, 255, 255, 0.82); }
#accountView .task-center-entry em { color: rgba(255, 255, 255, 0.72); }

#accountView .earnings-entry {
  border-color: rgba(217, 145, 24, 0.30);
  background: linear-gradient(145deg, #e89425 0%, #f2b84b 100%);
  box-shadow: 0 15px 32px rgba(209, 137, 23, 0.26);
}

#accountView .earnings-entry::after {
  width: 104px;
  height: 104px;
  right: -32px;
  bottom: -45px;
  background: rgba(255, 255, 255, 0.14);
}

#accountView .earnings-entry .account-hub-icon {
  background: rgba(255, 255, 255, 0.20);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

#accountView .earnings-entry strong,
#accountView .earnings-entry small,
#accountView .earnings-entry em {
  color: #fff;
}

#accountView .earnings-entry small { color: rgba(255, 255, 255, 0.84); }
#accountView .earnings-entry em { color: rgba(255, 255, 255, 0.74); }

#accountView .account-hub-secondary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

#accountView .account-hub-secondary button {
  display: grid;
  align-content: space-between;
  align-items: start;
  justify-items: start;
  gap: 10px;
  min-width: 0;
  min-height: 112px;
  padding: 12px 10px;
  border: 1px solid rgba(196, 213, 235, 0.92);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: #29384b;
  text-align: left;
  box-shadow: 0 10px 25px rgba(38, 82, 132, 0.10);
}

#accountView .account-hub-secondary .account-hub-icon {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: #f1f5fa;
  color: #647b98;
  font-size: 14px;
}

#accountView .account-hub-secondary button:nth-child(1) {
  border-color: rgba(137, 93, 213, 0.30);
  background: linear-gradient(150deg, #f3ecff, #fcf9ff);
}

#accountView .account-hub-secondary button:nth-child(1) .account-hub-icon {
  background: linear-gradient(145deg, #7956c9, #a379e6);
  color: #fff;
  box-shadow: 0 8px 18px rgba(121, 86, 201, 0.24);
}

#accountView .account-hub-secondary button:nth-child(2) {
  border-color: rgba(39, 154, 129, 0.28);
  background: linear-gradient(150deg, #e8f8f3, #f8fdfb);
}

#accountView .account-hub-secondary button:nth-child(2) .account-hub-icon {
  background: linear-gradient(145deg, #229a7c, #4fc0a3);
  color: #fff;
  box-shadow: 0 8px 18px rgba(34, 154, 124, 0.22);
}

#accountView .account-hub-secondary button:nth-child(3) {
  border-color: rgba(226, 118, 47, 0.27);
  background: linear-gradient(150deg, #fff0e7, #fffaf7);
}

#accountView .account-hub-secondary button:nth-child(3) .account-hub-icon {
  background: linear-gradient(145deg, #de7531, #f1a260);
  color: #fff;
  box-shadow: 0 8px 18px rgba(222, 117, 49, 0.22);
}

/* Keep all six service entrances in one visual family. */
#accountView .account-hub .account-hub-card,
#accountView .account-hub .account-hub-secondary button {
  border-color: rgba(119, 151, 188, 0.34);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0) 42%),
    linear-gradient(145deg, #dce8f4 0%, #cddbea 100%);
  color: #1f3147;
  box-shadow:
    0 12px 26px rgba(43, 84, 130, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

#accountView .account-hub .account-hub-card::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(73, 121, 176, 0.08));
}

#accountView .account-hub .account-hub-card strong,
#accountView .account-hub .account-hub-secondary strong {
  color: #26384e;
}

#accountView .account-hub .account-hub-card small {
  color: #64758b;
}

#accountView .account-hub .account-hub-card em {
  color: #72849a;
}

#accountView .account-hub .membership-entry .account-hub-icon {
  background: linear-gradient(145deg, #ece8fb, #dcd5f2);
  color: #6353a0;
  box-shadow: inset 0 0 0 1px rgba(117, 101, 173, 0.10), 0 8px 16px rgba(76, 65, 132, 0.10);
}

#accountView .account-hub .task-center-entry .account-hub-icon {
  background: linear-gradient(145deg, #e2f0ff, #d2e3f5);
  color: #3c74ad;
  box-shadow: inset 0 0 0 1px rgba(77, 130, 187, 0.10), 0 8px 16px rgba(45, 96, 148, 0.10);
}

#accountView .account-hub .earnings-entry .account-hub-icon {
  background: linear-gradient(145deg, #fff0d2, #eadab8);
  color: #9b6a1f;
  box-shadow: inset 0 0 0 1px rgba(173, 123, 45, 0.10), 0 8px 16px rgba(135, 91, 28, 0.10);
}

#accountView .account-hub .account-hub-secondary button:nth-child(1) .account-hub-icon {
  background: linear-gradient(145deg, #ece8fb, #dcd5f2);
  color: #6353a0;
  box-shadow: inset 0 0 0 1px rgba(117, 101, 173, 0.10), 0 8px 16px rgba(76, 65, 132, 0.10);
}

#accountView .account-hub .account-hub-secondary button:nth-child(2) .account-hub-icon {
  background: linear-gradient(145deg, #dff3ee, #cfe6df);
  color: #287b68;
  box-shadow: inset 0 0 0 1px rgba(53, 138, 117, 0.10), 0 8px 16px rgba(35, 118, 98, 0.10);
}

#accountView .account-hub .account-hub-secondary button:nth-child(3) .account-hub-icon {
  background: linear-gradient(145deg, #ffe9da, #efd5c2);
  color: #a96536;
  box-shadow: inset 0 0 0 1px rgba(189, 117, 69, 0.10), 0 8px 16px rgba(156, 91, 48, 0.10);
}

#accountView .account-hub-secondary strong {
  max-width: 100%;
  overflow: hidden;
  color: #25374e;
  font-size: 14px;
  font-weight: 780;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#accountView .account-hub button:active {
  transform: scale(0.97);
}

#accountView #accountTaskSheet .task-center-invite {
  margin: 4px 0 0;
}

#accountView .task-center-total {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 4px 10px;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eaf4ff, #f7fbff);
}

#accountView .task-center-total span {
  color: #66809e;
  font-size: 11px;
}

#accountView .task-center-total strong {
  grid-column: 1;
  color: #2577d5;
  font-size: 23px;
  line-height: 1;
  font-weight: 850;
}

#accountView .task-center-total small {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: #72869d;
  font-size: 10px;
  text-align: right;
}

html.theme-dark #accountView .account-hub-card,
html.theme-dark #accountView .account-hub-secondary button {
  border-color: rgba(217, 169, 87, 0.16);
  background: linear-gradient(145deg, rgba(25, 24, 21, 0.98), rgba(14, 15, 16, 0.98));
  color: #eee7da;
  box-shadow: none;
}

html.theme-dark #accountView .account-hub-card strong,
html.theme-dark #accountView .account-hub-secondary strong {
  color: #eee7da !important;
}

html.theme-dark #accountView .account-hub-card small,
html.theme-dark #accountView .account-hub-card em {
  color: #9e9586 !important;
}

html.theme-dark #accountView .account-hub-icon {
  background: rgba(217, 169, 87, 0.12);
  color: #dfbd77;
}

html.theme-dark #accountView .task-center-total {
  background: linear-gradient(135deg, rgba(217, 169, 87, 0.14), rgba(217, 169, 87, 0.04));
}

html.theme-dark #accountView .task-center-total strong { color: #e6c47c !important; }
html.theme-dark #accountView .task-center-total span,
html.theme-dark #accountView .task-center-total small { color: #a99e89 !important; }

@media (max-width: 360px) {
  #accountView .account-hub-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    min-height: 106px;
    padding-inline: 8px;
  }

  #accountView .account-hub-secondary button {
    min-height: 106px;
    padding-inline: 8px;
  }

  #accountView .account-hub-card .account-hub-icon {
    width: 36px;
    height: 36px;
  }

  #accountView .account-hub-secondary .account-hub-icon {
    width: 36px;
    height: 36px;
  }

  #accountView .account-hub-card strong { font-size: 14px; }
  #accountView .account-hub-card small { font-size: 9px; }
  #accountView .account-hub-secondary strong { font-size: 14px; }
}

/* account light premium hierarchy v11 */
#accountView .account-hub {
  gap: 10px;
  margin-top: 12px;
}

#accountView .account-hub-primary {
  gap: 9px;
}

#accountView .account-hub-secondary {
  gap: 9px;
}

#accountView .account-hub .account-hub-card {
  min-height: 122px;
  padding: 13px 11px;
  border-radius: 22px;
  box-shadow:
    0 16px 34px rgba(37, 85, 145, 0.16),
    0 4px 10px rgba(37, 85, 145, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.68);
}

#accountView .account-hub .membership-entry {
  border-color: rgba(92, 91, 187, 0.22);
  background:
    radial-gradient(circle at 20% 8%, rgba(255,255,255,0.74), transparent 36%),
    linear-gradient(145deg, #e9e7ff 0%, #d9e2ff 48%, #ccd9fb 100%);
}

#accountView .account-hub .task-center-entry {
  border-color: rgba(43, 126, 216, 0.24);
  background:
    radial-gradient(circle at 18% 6%, rgba(255,255,255,0.72), transparent 34%),
    linear-gradient(145deg, #dff0ff 0%, #cbe2fb 52%, #bdd8f7 100%);
}

#accountView .account-hub .earnings-entry {
  border-color: rgba(202, 148, 43, 0.24);
  background:
    radial-gradient(circle at 18% 6%, rgba(255,255,255,0.74), transparent 34%),
    linear-gradient(145deg, #fff3d7 0%, #f2e3c2 54%, #e9d6af 100%);
}

#accountView .account-hub .account-hub-card::after {
  width: 92px;
  height: 92px;
  right: -30px;
  bottom: -42px;
  background: radial-gradient(circle, rgba(255,255,255,0.46), rgba(74, 126, 190, 0.10) 62%, transparent 70%);
}

#accountView .account-hub .account-hub-card strong {
  color: #16304e !important;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

#accountView .account-hub .account-hub-card small {
  color: rgba(35, 60, 92, 0.62) !important;
  font-size: 9px;
}

#accountView .account-hub .account-hub-icon {
  width: 40px;
  height: 40px;
  border-radius: 15px;
}

#accountView .account-hub .membership-entry .account-hub-icon {
  background: linear-gradient(145deg, #6653c4, #9a85e5);
  color: #fff;
  box-shadow: 0 10px 18px rgba(95, 79, 186, 0.22), inset 0 1px 0 rgba(255,255,255,0.30);
}

#accountView .account-hub .task-center-entry .account-hub-icon {
  background: linear-gradient(145deg, #236fd4, #54aef4);
  color: #fff;
  box-shadow: 0 10px 18px rgba(37, 111, 212, 0.22), inset 0 1px 0 rgba(255,255,255,0.30);
}

#accountView .account-hub .earnings-entry .account-hub-icon {
  background: linear-gradient(145deg, #d08a22, #f0bd5b);
  color: #fff;
  box-shadow: 0 10px 18px rgba(198, 132, 32, 0.22), inset 0 1px 0 rgba(255,255,255,0.32);
}

#accountView .account-hub .account-hub-secondary button {
  min-height: 96px;
  padding: 12px 10px 11px;
  border-color: rgba(137, 164, 197, 0.24);
  border-radius: 20px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,0.76), transparent 38%),
    linear-gradient(145deg, rgba(247,250,255,0.94), rgba(230,238,248,0.92));
  color: #26384e;
  box-shadow:
    0 10px 22px rgba(39, 82, 132, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.76);
}

#accountView .account-hub .account-hub-secondary strong {
  color: #25384f !important;
  font-size: 13px;
  font-weight: 760;
}

#accountView .account-hub .account-hub-secondary .account-hub-icon {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  background: linear-gradient(145deg, #edf4fb, #dfe9f4);
  color: #52708f;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.78), 0 7px 14px rgba(45, 78, 120, 0.08);
}

#accountView .account-hub .account-hub-secondary button:nth-child(1) .account-hub-icon {
  background: linear-gradient(145deg, #f0ecff, #e1dafa);
  color: #695aa8;
}

#accountView .account-hub .account-hub-secondary button:nth-child(2) .account-hub-icon {
  background: linear-gradient(145deg, #e7f6f2, #d5ebe4);
  color: #2f806f;
}

#accountView .account-hub .account-hub-secondary button:nth-child(3) .account-hub-icon {
  background: linear-gradient(145deg, #fff0e4, #efd9c8);
  color: #a8673e;
}

html.theme-dark #accountView .account-hub {
  margin-top: 10px;
}

/* account service reference layout v12 */
#accountView .account-hub {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

#accountView .account-hub-title {
  margin: 3px 2px 0;
  color: #5f718a;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0.02em;
}

#accountView .account-hub-primary,
#accountView .account-hub-secondary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

#accountView .account-hub .account-hub-card,
#accountView .account-hub .account-hub-secondary button {
  border-radius: 23px;
}

#accountView .account-hub .membership-entry,
#accountView .account-hub .task-center-entry {
  min-height: 128px;
  padding: 17px 15px 15px;
}

#accountView .account-hub .earnings-entry,
#accountView .account-hub .account-hub-secondary button:nth-child(3) {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-content: center;
  align-items: center;
  min-height: 86px;
  padding: 15px 16px;
}

#accountView .account-hub .earnings-entry::before,
#accountView .account-hub .account-hub-secondary button:nth-child(3)::before,
#accountView .account-hub .membership-entry::before,
#accountView .account-hub .task-center-entry::before,
#accountView .account-hub .account-hub-secondary button:nth-child(1)::before,
#accountView .account-hub .account-hub-secondary button:nth-child(2)::before {
  content: "›";
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255,255,255,0.52);
  color: rgba(56, 81, 112, 0.42);
  font-size: 22px;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
}

#accountView .account-hub .earnings-entry::before,
#accountView .account-hub .account-hub-secondary button:nth-child(3)::before {
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
}

#accountView .account-hub .earnings-entry > span:nth-child(2) {
  display: grid;
  gap: 4px;
  min-width: 0;
}

#accountView .account-hub .earnings-entry .account-hub-icon,
#accountView .account-hub .account-hub-secondary button:nth-child(3) .account-hub-icon {
  margin-right: 14px;
}

#accountView .account-hub .account-hub-secondary button {
  position: relative;
  min-height: 126px;
  padding: 17px 15px 15px;
  overflow: hidden;
}

#accountView .account-hub .account-hub-secondary button:nth-child(3) {
  min-height: 86px;
}

#accountView .account-hub .account-hub-secondary button:nth-child(3) strong {
  align-self: center;
}

#accountView .account-hub .account-hub-card strong,
#accountView .account-hub .account-hub-secondary strong {
  font-size: 19px !important;
  line-height: 1.15;
}

#accountView .account-hub .account-hub-card small {
  font-size: 12px !important;
}

#accountView .account-hub .account-hub-icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
}

#accountView .account-hub .account-hub-secondary .account-hub-icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
}

@media (max-width: 360px) {
  #accountView .account-hub-primary,
  #accountView .account-hub-secondary {
    gap: 10px;
  }

  #accountView .account-hub .membership-entry,
  #accountView .account-hub .task-center-entry,
  #accountView .account-hub .account-hub-secondary button {
    min-height: 118px;
    padding: 15px 12px 13px;
  }

  #accountView .account-hub .earnings-entry,
  #accountView .account-hub .account-hub-secondary button:nth-child(3) {
    min-height: 82px;
  }

  #accountView .account-hub .account-hub-card strong,
  #accountView .account-hub .account-hub-secondary strong {
    font-size: 17px !important;
  }
}

/* account compact service layout v13 */
#accountView .account-hub {
  gap: 9px;
  margin-top: 12px;
}

#accountView .account-hub-title {
  margin-top: 0;
  font-size: 13px;
  font-weight: 560;
}

#accountView .account-hub-primary,
#accountView .account-hub-secondary {
  gap: 9px;
}

#accountView .account-hub .membership-entry,
#accountView .account-hub .task-center-entry,
#accountView .account-hub .account-hub-secondary button {
  min-height: 98px;
  padding: 12px 11px 10px;
  border-radius: 19px;
}

#accountView .account-hub .earnings-entry,
#accountView .account-hub .account-hub-secondary button:nth-child(3) {
  min-height: 68px;
  padding: 11px 13px;
  border-radius: 19px;
}

#accountView .account-hub .account-hub-icon,
#accountView .account-hub .account-hub-secondary .account-hub-icon {
  width: 38px;
  height: 38px;
  border-radius: 13px;
}

#accountView .account-hub .account-hub-icon svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.7;
}

#accountView .account-hub .account-hub-card strong,
#accountView .account-hub .account-hub-secondary strong {
  font-size: 15px !important;
  font-weight: 520 !important;
  letter-spacing: 0;
}

#accountView .account-hub .account-hub-card small {
  font-size: 10px !important;
  font-weight: 400 !important;
}

#accountView .account-hub .earnings-entry .account-hub-icon,
#accountView .account-hub .account-hub-secondary button:nth-child(3) .account-hub-icon {
  margin-right: 11px;
}

#accountView .account-hub .earnings-entry::before,
#accountView .account-hub .account-hub-secondary button:nth-child(3)::before,
#accountView .account-hub .membership-entry::before,
#accountView .account-hub .task-center-entry::before,
#accountView .account-hub .account-hub-secondary button:nth-child(1)::before,
#accountView .account-hub .account-hub-secondary button:nth-child(2)::before {
  right: 13px;
  width: 20px;
  height: 20px;
  font-size: 18px;
}

#accountView .account-hub .membership-entry::before,
#accountView .account-hub .task-center-entry::before,
#accountView .account-hub .account-hub-secondary button:nth-child(1)::before,
#accountView .account-hub .account-hub-secondary button:nth-child(2)::before {
  top: 13px;
}

@media (max-width: 360px) {
  #accountView .account-hub .membership-entry,
  #accountView .account-hub .task-center-entry,
  #accountView .account-hub .account-hub-secondary button {
    min-height: 92px;
    padding: 11px 10px 9px;
  }

  #accountView .account-hub .earnings-entry,
  #accountView .account-hub .account-hub-secondary button:nth-child(3) {
    min-height: 64px;
  }

  #accountView .account-hub .account-hub-card strong,
  #accountView .account-hub .account-hub-secondary strong {
    font-size: 14px !important;
  }
}

/* account regular typography v14 */
#accountView .account-hub-title,
#accountView .account-hub :is(strong, small, em, button, span) {
  font-weight: 400 !important;
}

#accountView .account-hub .account-hub-card strong,
#accountView .account-hub .account-hub-secondary strong {
  color: #263a55 !important;
  font-weight: 430 !important;
}

#accountView .account-hub .account-hub-card small,
#accountView .account-hub .account-hub-card em {
  color: #718094 !important;
  font-weight: 400 !important;
}

#accountView .account-hub-title {
  color: #68788d !important;
}

/* account service breathing room v15 */
#accountView .account-hub {
  gap: 11px;
}

#accountView .account-hub-primary,
#accountView .account-hub-secondary {
  gap: 12px;
}

#accountView .account-hub .membership-entry,
#accountView .account-hub .task-center-entry,
#accountView .account-hub .account-hub-secondary button {
  min-height: 90px;
  padding: 10px 10px 9px;
}

#accountView .account-hub .earnings-entry,
#accountView .account-hub .account-hub-secondary button:nth-child(3) {
  min-height: 62px;
  padding: 10px 12px;
}

#accountView .account-hub .account-hub-icon,
#accountView .account-hub .account-hub-secondary .account-hub-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
}

#accountView .account-hub .account-hub-icon svg {
  width: 17px;
  height: 17px;
}

#accountView .account-hub .account-hub-card strong,
#accountView .account-hub .account-hub-secondary strong {
  font-size: 14px !important;
}

#accountView .account-hub .account-hub-card small {
  font-size: 9px !important;
}

#accountView .account-hub .earnings-entry .account-hub-icon,
#accountView .account-hub .account-hub-secondary button:nth-child(3) .account-hub-icon {
  margin-right: 10px;
}

/* account service reference colors v16 */
#accountView .account-hub .membership-entry {
  border-color: rgba(225, 200, 131, 0.55) !important;
  background:
    radial-gradient(circle at 22% 10%, rgba(255, 242, 190, 0.82), transparent 38%),
    linear-gradient(145deg, #fffaf0 0%, #fffdf8 56%, #ffffff 100%) !important;
  box-shadow: 0 10px 24px rgba(182, 144, 54, 0.10), inset 0 1px 0 rgba(255,255,255,0.88) !important;
}

#accountView .account-hub .task-center-entry {
  border-color: rgba(183, 207, 238, 0.72) !important;
  background:
    radial-gradient(circle at 24% 12%, rgba(226, 239, 255, 0.98), transparent 42%),
    linear-gradient(145deg, #f7fbff 0%, #ffffff 58%, #ffffff 100%) !important;
  box-shadow: 0 10px 24px rgba(74, 117, 190, 0.10), inset 0 1px 0 rgba(255,255,255,0.88) !important;
}

#accountView .account-hub .earnings-entry,
#accountView .account-hub .account-hub-secondary button {
  border-color: rgba(219, 226, 236, 0.88) !important;
  background: linear-gradient(145deg, #ffffff 0%, #fbfdff 100%) !important;
  box-shadow: 0 9px 22px rgba(43, 72, 112, 0.075), inset 0 1px 0 rgba(255,255,255,0.90) !important;
}

#accountView .account-hub .membership-entry .account-hub-icon {
  background: linear-gradient(145deg, #f4c95f, #edae31) !important;
  color: #5c4012 !important;
  box-shadow: 0 8px 15px rgba(203, 148, 42, 0.20), inset 0 1px 0 rgba(255,255,255,0.38) !important;
}

#accountView .account-hub .task-center-entry .account-hub-icon {
  background: linear-gradient(145deg, #5f98ff, #2f6dea) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 15px rgba(57, 109, 226, 0.20), inset 0 1px 0 rgba(255,255,255,0.34) !important;
}

#accountView .account-hub .earnings-entry .account-hub-icon,
#accountView .account-hub .account-hub-secondary .account-hub-icon,
#accountView .account-hub .account-hub-secondary button:nth-child(1) .account-hub-icon,
#accountView .account-hub .account-hub-secondary button:nth-child(2) .account-hub-icon,
#accountView .account-hub .account-hub-secondary button:nth-child(3) .account-hub-icon {
  background: linear-gradient(145deg, #eef3ff, #e3ebff) !important;
  color: #376fd0 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.82), 0 6px 12px rgba(60, 103, 185, 0.08) !important;
}

#accountView .account-hub .account-hub-card strong,
#accountView .account-hub .account-hub-secondary strong {
  color: #15233c !important;
}

#accountView .account-hub .account-hub-card small,
#accountView .account-hub .account-hub-card em {
  color: #727f91 !important;
}

#accountView .account-hub .earnings-entry::before,
#accountView .account-hub .account-hub-secondary button:nth-child(3)::before,
#accountView .account-hub .membership-entry::before,
#accountView .account-hub .task-center-entry::before,
#accountView .account-hub .account-hub-secondary button:nth-child(1)::before,
#accountView .account-hub .account-hub-secondary button:nth-child(2)::before {
  background: rgba(247, 249, 253, 0.72) !important;
  color: rgba(78, 88, 103, 0.34) !important;
}

body.account-core-open {
  overflow: hidden;
}

#accountView .account-core-sheet {
  position: fixed;
  inset: 0;
  z-index: 81;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

#accountView .account-core-mask {
  position: absolute;
  inset: 0;
  background: rgba(12, 24, 39, 0.42);
  backdrop-filter: blur(4px);
}

#accountView .account-core-card {
  position: relative;
  z-index: 1;
  width: min(100%, var(--app-width));
  height: 100vh;
  height: 100dvh;
  max-height: none;
  overflow-y: auto;
  padding: 0 16px calc(24px + env(safe-area-inset-bottom, 0px));
  border: 0;
  border-radius: 0;
  background: #f7faff;
  box-shadow: 0 0 54px rgba(20, 45, 75, 0.18);
  overscroll-behavior: contain;
}

#accountView .account-core-head {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 -16px 14px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 18px 13px;
  border-bottom: 1px solid rgba(207, 221, 238, 0.78);
  background: rgba(247, 250, 255, 0.94);
  backdrop-filter: blur(14px);
}

#accountView .account-core-head > div {
  display: grid;
  gap: 2px;
}

#accountView .account-core-head small { color: #8492a4; font-size: 10px; }
#accountView .account-core-head strong { color: #1b2a3e; font-size: 21px; font-weight: 790; }

#accountView .account-core-head > button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border: 1px solid rgba(137, 158, 184, 0.18);
  border-radius: 999px;
  background: #fff;
  color: #66778c;
  font-size: 22px;
  box-shadow: none;
}

#accountView .account-core-content {
  margin: 0;
}

#accountView .account-core-card > .membership-card {
  padding-top: 2px;
}

#accountView .account-earnings-ledger {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(211, 224, 240, 0.9);
  border-radius: 18px;
  background: #fff;
}

#accountView .account-earnings-ledger-title {
  display: grid;
  gap: 3px;
}

#accountView .account-earnings-ledger-title strong { color: #213248; font-size: 15px; }
#accountView .account-earnings-ledger-title small { color: #8492a4; font-size: 10px; }

html.theme-dark #accountView .account-core-mask { background: rgba(0, 0, 0, 0.68); }
html.theme-dark #accountView .account-core-card { border-color: rgba(217, 169, 87, 0.20); background: #0b0c0d; box-shadow: 0 -18px 54px rgba(0, 0, 0, 0.50); }
html.theme-dark #accountView .account-core-head { border-bottom-color: rgba(217, 169, 87, 0.16); background: rgba(11, 12, 13, 0.94); }
html.theme-dark #accountView .account-core-head strong,
html.theme-dark #accountView .account-earnings-ledger-title strong { color: #f0eadf !important; }
html.theme-dark #accountView .account-core-head small,
html.theme-dark #accountView .account-earnings-ledger-title small { color: #9f9685 !important; }
html.theme-dark #accountView .account-core-head > button,
html.theme-dark #accountView .account-earnings-ledger { border-color: rgba(217, 169, 87, 0.18); background: rgba(24, 23, 20, 0.96); color: #d9bc7c; box-shadow: none; }

body.account-feature-open {
  overflow: hidden;
}

#accountView .account-feature-sheet {
  position: fixed;
  inset: 0;
  z-index: 3180;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

#accountView .account-feature-mask {
  position: absolute;
  inset: 0;
  background: rgba(12, 24, 39, 0.40);
  backdrop-filter: blur(4px);
}

#accountView .account-feature-card {
  position: relative;
  z-index: 1;
  width: min(100%, var(--app-width));
  height: 100vh;
  height: 100dvh;
  max-height: none;
  overflow-y: auto;
  padding: 0 16px calc(24px + env(safe-area-inset-bottom, 0px));
  border: 0;
  border-radius: 0;
  background: #f7faff;
  box-shadow: 0 0 54px rgba(20, 45, 75, 0.16);
  overscroll-behavior: contain;
}

#accountView .account-feature-head {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 -16px 16px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 18px 13px;
  border-bottom: 1px solid rgba(207, 221, 238, 0.78);
  background: rgba(247, 250, 255, 0.94);
  backdrop-filter: blur(14px);
}

#accountView .account-feature-head > div {
  display: grid;
  gap: 3px;
}

#accountView .account-feature-head small {
  color: #8190a3;
  font-size: 10px;
}

#accountView .account-feature-head strong {
  color: #182538;
  font-size: 21px;
  font-weight: 780;
}

#accountView .account-feature-head > button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border: 1px solid rgba(137, 158, 184, 0.18);
  border-radius: 999px;
  background: #fff;
  color: #66778c;
  font-size: 22px;
  box-shadow: none;
}

#accountView .account-feature-body {
  display: grid;
  gap: 12px;
}

#accountView .account-mall-intro,
#accountView .course-history-entry {
  display: grid;
  gap: 4px;
  padding: 13px 14px;
  border-radius: 16px;
  background: #eaf4ff;
}

#accountView .account-mall-intro strong,
#accountView .course-history-entry span {
  color: #245f9f;
  font-size: 14px;
  font-weight: 750;
}

#accountView .account-mall-intro small,
#accountView .course-history-entry small {
  color: #70849b;
  font-size: 11px;
}

#accountView .account-mall-grid {
  display: grid;
  gap: 9px;
}

#accountView .account-mall-grid article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 13px;
  border: 1px solid rgba(211, 224, 240, 0.9);
  border-radius: 17px;
  background: #fff;
}

#accountView .account-mall-grid article > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #f0f6fd;
  color: #3e7fc9;
  font-size: 13px;
  font-weight: 800;
}

#accountView .account-mall-grid article > div {
  display: grid;
  gap: 4px;
}

#accountView .account-mall-grid strong { color: #213147; font-size: 14px; }
#accountView .account-mall-grid small { color: #8492a4; font-size: 10px; }
#accountView .account-mall-grid button {
  min-width: 62px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef3f8;
  color: #8a98a9;
  font-size: 10px;
}

#accountView .daily-course-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(207, 222, 239, 0.9);
  border-radius: 20px;
  background: linear-gradient(145deg, #fff, #f2f8ff);
  box-shadow: 0 12px 32px rgba(39, 83, 135, 0.08);
}

#accountView .daily-course-time {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#accountView .daily-course-time span { color: #3d83d4; font-size: 12px; font-weight: 720; }
#accountView .daily-course-time strong { color: #2d79cf; font-size: 19px; }
#accountView .daily-course-card > small { color: #8492a4; font-size: 10px; }
#accountView .daily-course-card h3 { margin: 0; color: #192b42; font-size: 18px; line-height: 1.4; }
#accountView .daily-course-card ul { display: grid; gap: 7px; margin: 0; padding-left: 20px; color: #5e6f84; font-size: 12px; line-height: 1.45; }
#accountView .daily-course-card > button { min-height: 42px; border-radius: 14px; background: #438fe8; color: #fff; font-size: 13px; font-weight: 760; }

#accountView .course-catalog {
  display: grid;
  gap: 9px;
}

#accountView .course-catalog-head {
  display: grid;
  gap: 3px;
  padding: 3px 2px;
}

#accountView .course-catalog-head strong { color: #25374d; font-size: 14px; }
#accountView .course-catalog-head small { color: #8492a4; font-size: 10px; }

#accountView .course-catalog article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(211, 224, 240, 0.9);
  border-radius: 16px;
  background: #fff;
}

#accountView .course-catalog article > div { display: grid; gap: 4px; }
#accountView .course-catalog article strong { color: #26384e; font-size: 13px; }
#accountView .course-catalog article small { color: #8492a4; font-size: 10px; }
#accountView .course-type { padding: 4px 7px; border-radius: 999px; font-size: 9px; font-weight: 760; }
#accountView .course-type.free { background: #e8f7ef; color: #29835a; }
#accountView .course-type.paid { background: #fff1d8; color: #a56a0c; }
#accountView .course-catalog article button { min-width: 54px; min-height: 30px; padding: 0 9px; border-radius: 999px; background: #438fe8; color: #fff; font-size: 10px; }
#accountView .course-catalog article button:disabled { background: #eef3f8; color: #8b98a8; }

#accountView .project-hall-filters {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 3px;
}

#accountView .project-hall-filters span {
  flex: 0 0 auto;
  padding: 7px 11px;
  border-radius: 999px;
  background: #edf2f7;
  color: #697b91;
  font-size: 11px;
}

#accountView .project-hall-filters span.active { background: #e6f2ff; color: #367fd2; }

#accountView .project-hall-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 38px 20px;
  border: 1px dashed rgba(151, 174, 201, 0.48);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

#accountView .project-hall-empty > span { color: #73a1d4; font-size: 30px; }
#accountView .project-hall-empty strong { color: #26384e; font-size: 15px; }
#accountView .project-hall-empty small { max-width: 260px; color: #8290a2; font-size: 11px; line-height: 1.6; }

html.theme-dark #accountView .account-feature-mask { background: rgba(0, 0, 0, 0.66); }
html.theme-dark #accountView .account-feature-card { border-color: rgba(217, 169, 87, 0.20); background: #0b0c0d; box-shadow: 0 -18px 54px rgba(0, 0, 0, 0.48); }
html.theme-dark #accountView .account-feature-head { border-bottom-color: rgba(217, 169, 87, 0.16); background: rgba(11, 12, 13, 0.94); }
html.theme-dark #accountView .account-feature-head strong,
html.theme-dark #accountView .daily-course-card h3,
html.theme-dark #accountView .account-mall-grid strong,
html.theme-dark #accountView .project-hall-empty strong { color: #f0eadf !important; }
html.theme-dark #accountView .account-feature-head > button,
html.theme-dark #accountView .account-mall-grid article,
html.theme-dark #accountView .daily-course-card,
html.theme-dark #accountView .course-catalog article,
html.theme-dark #accountView .project-hall-empty { border-color: rgba(217, 169, 87, 0.18); background: rgba(24, 23, 20, 0.96); color: #d9bc7c; box-shadow: none; }
html.theme-dark #accountView .account-mall-intro,
html.theme-dark #accountView .course-history-entry { background: rgba(217, 169, 87, 0.10); }

/* account dark redesign v308 */
html.theme-dark #accountView {
  --profile-bg: #0a0a0c;
  --profile-panel: #131316;
  --profile-panel-2: #1a1a1e;
  --profile-hair: rgba(245, 243, 237, 0.09);
  --profile-hair-strong: rgba(245, 243, 237, 0.16);
  --profile-ink: #f5f3ed;
  --profile-ink-dim: #9c9aa3;
  --profile-ink-faint: #6c6a73;
  --profile-acid: #e4ff3d;
  --profile-acid-dim: rgba(228, 255, 61, 0.14);
  --profile-violet: #8c78ff;
  --profile-coral: #ff7a5c;
  --profile-cyan: #5cd9ff;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(600px 300px at 15% -5%, rgba(228, 255, 61, 0.07), transparent 60%),
    radial-gradient(500px 260px at 100% 10%, rgba(140, 120, 255, 0.05), transparent 60%),
    var(--profile-bg) !important;
  color: var(--profile-ink);
}

html.theme-dark #accountView .account-card {
  position: relative;
  margin: 14px 20px 18px;
  padding: 24px 20px;
  overflow: hidden;
  border: 1px solid var(--profile-hair-strong) !important;
  border-radius: 20px !important;
  background: linear-gradient(165deg, #101012 0%, #0b0b0d 100%) !important;
  box-shadow: none !important;
}

html.theme-dark #accountView .account-card::before,
html.theme-dark #accountView .account-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

html.theme-dark #accountView .account-card::before {
  top: 12px;
  left: 12px;
  border-top: 2px solid var(--profile-acid);
  border-left: 2px solid var(--profile-acid);
  border-radius: 4px 0 0 0;
}

html.theme-dark #accountView .account-card::after {
  right: 12px;
  bottom: 12px;
  border-right: 2px solid var(--profile-acid);
  border-bottom: 2px solid var(--profile-acid);
  border-radius: 0 0 4px 0;
}

html.theme-dark #accountView .account-card > * {
  position: relative;
  z-index: 2;
}

html.theme-dark #accountView .account-card-bg {
  display: none !important;
}

html.theme-dark #accountView .account-user {
  align-items: flex-start;
  gap: 16px;
}

html.theme-dark #accountView .avatar.avatar-upload {
  width: 78px;
  height: 78px;
  flex: 0 0 78px;
  border: 1px solid var(--profile-hair-strong) !important;
  border-radius: 18px !important;
  background: linear-gradient(160deg, #2a2a30, #111114) !important;
  box-shadow: inset 0 0 0 1px rgba(228, 255, 61, 0.08) !important;
}

html.theme-dark #accountView .avatar.avatar-upload::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(228, 255, 61, 0.10), transparent 55%);
  pointer-events: none;
}

html.theme-dark #accountView .avatar.avatar-upload span,
html.theme-dark #accountView #accountAvatarText {
  color: var(--profile-acid) !important;
  font-size: 22px;
  font-weight: 800;
}

html.theme-dark #accountView .account-name-row {
  gap: 9px;
  margin-bottom: 6px;
}

html.theme-dark #accountView .account-name-row h2,
html.theme-dark #accountView #accountUser {
  color: var(--profile-ink) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: 0.2px;
}

html.theme-dark #accountView .profile-edit-button,
html.theme-dark #accountView #editProfileBtn,
html.theme-dark #accountView #accountSettingsBtn {
  border: 1px solid var(--profile-hair-strong) !important;
  background: transparent !important;
  color: var(--profile-ink-faint) !important;
  box-shadow: none !important;
}

html.theme-dark #accountView .profile-edit-button {
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
}

html.theme-dark #accountView #accountSettingsBtn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

html.theme-dark #accountView .account-card p,
html.theme-dark #accountView #accountPhone,
html.theme-dark #accountView #accountLevelHint {
  color: var(--profile-ink-faint) !important;
}

html.theme-dark #accountView .account-level-summary {
  align-items: center;
  gap: 7px;
  color: var(--profile-ink-dim);
}

html.theme-dark #accountView #accountLevelBadge {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--profile-acid) !important;
  color: #0a0a0c !important;
  font-size: 11px;
  font-weight: 800;
}

html.theme-dark #accountView .account-invite-code {
  margin-top: 16px;
  padding: 11px 14px;
  border: 1px solid var(--profile-hair) !important;
  border-radius: 12px !important;
  background: var(--profile-panel-2) !important;
  box-shadow: none !important;
}

html.theme-dark #accountView .account-invite-code span,
html.theme-dark #accountView #inviteCodeLabel {
  color: var(--profile-ink-faint) !important;
  font-size: 11.5px;
  font-weight: 600;
}

html.theme-dark #accountView .account-invite-code strong,
html.theme-dark #accountView #inviteCodeValue {
  color: var(--profile-ink) !important;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
}

html.theme-dark #accountView .account-invite-code button,
html.theme-dark #accountView #copyInviteCodeBtn,
html.theme-dark #accountView #accountRechargeShortcut {
  border: 0 !important;
  background: var(--profile-acid) !important;
  color: #0a0a0c !important;
  box-shadow: none !important;
}

html.theme-dark #accountView #copyInviteCodeBtn {
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 800;
}

html.theme-dark #accountView .account-recharge-zone {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--profile-hair) !important;
}

html.theme-dark #accountView #balanceLabel {
  color: var(--profile-ink) !important;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

html.theme-dark #accountView #accountRechargeShortcut {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 800;
}

html.theme-dark #accountView .account-hub {
  padding: 0 20px 22px;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html.theme-dark #accountView .account-hub-title {
  margin: 0 0 10px;
  color: var(--profile-ink-faint) !important;
  font-size: 12px;
  font-weight: 700;
}

html.theme-dark #accountView .account-hub-primary,
html.theme-dark #accountView .account-hub-secondary {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px !important;
}

html.theme-dark #accountView .account-hub-secondary {
  margin-top: 10px;
}

html.theme-dark #accountView .account-hub .account-hub-card,
html.theme-dark #accountView .account-hub-secondary button {
  min-height: 112px;
  padding: 16px 14px 15px;
  align-content: space-between;
  justify-items: start;
  border: 1px solid var(--profile-hair-strong) !important;
  border-radius: 16px !important;
  background: var(--profile-panel-2) !important;
  box-shadow: none !important;
  color: var(--profile-ink) !important;
}

html.theme-dark #accountView .account-hub .account-hub-card::after,
html.theme-dark #accountView .account-hub-secondary button::after {
  display: none !important;
}

html.theme-dark #accountView .account-hub-icon {
  width: 32px !important;
  height: 32px !important;
  border-radius: 9px !important;
  background: rgba(245, 243, 237, 0.08) !important;
  color: var(--profile-acid) !important;
}

html.theme-dark #accountView .account-hub-icon svg {
  width: 19px;
  height: 19px;
  stroke: currentColor !important;
  fill: none !important;
}

html.theme-dark #accountView .account-hub .account-hub-card strong,
html.theme-dark #accountView .account-hub-secondary strong {
  margin-top: 12px;
  color: var(--profile-ink) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

html.theme-dark #accountView .account-hub .account-hub-card small,
html.theme-dark #accountView .account-hub .account-hub-card em {
  color: var(--profile-ink-faint) !important;
  font-size: 10.5px !important;
  line-height: 1.4;
}

html.theme-dark #accountView .account-hub .membership-entry {
  border-color: rgba(228, 255, 61, 0.80) !important;
  background: var(--profile-acid) !important;
}

html.theme-dark #accountView .account-hub .membership-entry .account-hub-icon {
  background: rgba(10, 10, 12, 0.12) !important;
  color: #0a0a0c !important;
}

html.theme-dark #accountView .account-hub .membership-entry strong,
html.theme-dark #accountView .account-hub .membership-entry small,
html.theme-dark #accountView .account-hub .membership-entry em {
  color: #0a0a0c !important;
}

html.theme-dark #accountView .account-hub .membership-entry small,
html.theme-dark #accountView .account-hub .membership-entry em {
  opacity: 0.62;
}

html.theme-dark #accountView .account-hub .earnings-entry .account-hub-icon,
html.theme-dark #accountView .account-hub-secondary button:nth-child(2) .account-hub-icon {
  color: var(--profile-violet) !important;
}

html.theme-dark #accountView .account-hub-secondary button:nth-child(1) .account-hub-icon {
  color: var(--profile-coral) !important;
}

html.theme-dark #accountView .account-hub-secondary button:nth-child(3) .account-hub-icon {
  color: var(--profile-cyan) !important;
}

html.theme-dark #accountView .account-settings-mask,
html.theme-dark #accountView .account-core-mask,
html.theme-dark #accountView .account-feature-mask {
  background: rgba(0, 0, 0, 0.72) !important;
}

html.theme-dark #accountView .account-settings-card,
html.theme-dark #accountView .account-core-card,
html.theme-dark #accountView .account-feature-card {
  border-color: var(--profile-hair-strong) !important;
  background:
    radial-gradient(420px 220px at 20% 0%, rgba(228, 255, 61, 0.06), transparent 62%),
    var(--profile-bg) !important;
  color: var(--profile-ink) !important;
  box-shadow: 0 -18px 54px rgba(0, 0, 0, 0.50) !important;
}

html.theme-dark #accountView .account-settings-head,
html.theme-dark #accountView .account-core-head,
html.theme-dark #accountView .account-feature-head {
  border-bottom-color: var(--profile-hair) !important;
  background: rgba(10, 10, 12, 0.94) !important;
}

html.theme-dark #accountView .account-settings-group,
html.theme-dark #accountView .account-mall-grid article,
html.theme-dark #accountView .daily-course-card,
html.theme-dark #accountView .course-catalog article,
html.theme-dark #accountView .project-hall-empty,
html.theme-dark #accountView .account-earnings-ledger {
  border-color: var(--profile-hair-strong) !important;
  background: var(--profile-panel) !important;
  box-shadow: none !important;
}

html.theme-dark #accountView .account-settings-head strong,
html.theme-dark #accountView .account-core-head strong,
html.theme-dark #accountView .account-feature-head strong,
html.theme-dark #accountView .account-settings-group-title span {
  color: var(--profile-ink) !important;
}

@media (max-width: 420px) {
  html.theme-dark #accountView .account-card {
    margin-inline: 16px;
    padding: 22px 18px;
  }

  html.theme-dark #accountView .account-hub {
    padding-inline: 16px;
  }

  html.theme-dark #accountView .account-hub .account-hub-card,
  html.theme-dark #accountView .account-hub-secondary button {
    padding: 14px 11px;
    min-height: 104px;
  }
}

/* Account page body edge expansion v443: match the works grid edge-to-edge feel. */
#accountView {
  width: calc(100% + 20px) !important;
  max-width: calc(100% + 20px) !important;
  margin-left: -10px !important;
  margin-right: -10px !important;
  padding-left: 4px !important;
  padding-right: 4px !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}

#accountView .account-card,
#accountView .account-hub {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

#accountView .account-hub,
html.theme-dark #accountView .account-hub {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

html.theme-dark #accountView .account-card {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Account secondary pages body edge expansion v447 */
#accountView :is(#accountMembershipSheet, #accountEarningsSheet, #accountFeatureSheet, #goldConvertSheet) :is(.account-core-card, .account-feature-card) {
  width: min(100vw, var(--app-width)) !important;
  max-width: min(100vw, var(--app-width)) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 4px !important;
  padding-right: 4px !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}

#accountView :is(#accountMembershipSheet, #accountEarningsSheet, #accountFeatureSheet, #goldConvertSheet) :is(.account-core-head, .account-feature-head) {
  margin-left: -4px !important;
  margin-right: -4px !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
}

#accountView #accountFeatureSheet .account-feature-body {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

#accountView #accountFeatureSheet :is(.account-mall-intro, .course-history-entry, .account-mall-grid, .daily-course-card, .course-catalog, .project-hall-filters, .project-hall-empty) {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

html.mahua-apk-webview #accountView :is(#accountMembershipSheet, #accountEarningsSheet, #accountFeatureSheet, #goldConvertSheet) :is(.account-core-card, .account-feature-card),
body.mahua-apk-webview #accountView :is(#accountMembershipSheet, #accountEarningsSheet, #accountFeatureSheet, #goldConvertSheet) :is(.account-core-card, .account-feature-card),
html.mahua-mini-program-review #accountView :is(#accountMembershipSheet, #accountEarningsSheet, #accountFeatureSheet, #goldConvertSheet) :is(.account-core-card, .account-feature-card),
body.mahua-mini-program-review #accountView :is(#accountMembershipSheet, #accountEarningsSheet, #accountFeatureSheet, #goldConvertSheet) :is(.account-core-card, .account-feature-card),
body.mini-program-review #accountView :is(#accountMembershipSheet, #accountEarningsSheet, #accountFeatureSheet, #goldConvertSheet) :is(.account-core-card, .account-feature-card) {
  width: 100vw !important;
  max-width: 100vw !important;
}
