/* 用户资料直接显示在页面背景上，只为会员、钱包保留横条。 */
body.user-home-page #buyerAppView .account-card-stack {
  margin: 8px 12px 0;
  padding: 8px 14px 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}

body.user-home-page #buyerAppView .identity {
  position: relative;
  margin: 0;
  padding: 0 0 20px !important;
  overflow: visible;
  border-radius: 0;
  background: transparent !important;
  color: #292d34;
}

body.user-home-page #buyerAppView .identity-head {
  gap: 11px;
  overflow: visible;
}

body.user-home-page #buyerAppView .avatar {
  width: 50px;
  height: 50px;
  flex-basis: 50px;
}

body.user-home-page #buyerAppView .identity-name strong {
  color: #292d34;
  font-size: 14px;
}

body.user-home-page #buyerAppView .identity-meta {
  margin-top: 6px;
}

body.user-home-page #buyerAppView .identity-uid {
  padding: 3px 6px;
  border-radius: 5px;
  background: rgba(89, 70, 82, .07);
  color: #806d78;
  font-size: 10px;
}

body.user-home-page #buyerAppView #buyerAuthorizationOpen {
  min-height: 30px;
  margin-right: -14px;
  padding: 0 12px;
  border: 0;
  border-radius: 16px 0 0 16px;
  background: #4c3744;
  color: #fff5fa;
  font-size: 11px;
}

body.user-home-page #buyerAppView .balance-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(215, 165, 115, .2);
  border-radius: 12px;
  background: #fbedda !important;
}

body.user-home-page #buyerAppView .account-summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  min-width: 0;
  min-height: 48px;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #66513d;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

body.user-home-page #buyerAppView .account-summary-item + .account-summary-item {
  position: relative;
}

body.user-home-page #buyerAppView .account-summary-item + .account-summary-item::before {
  position: absolute;
  left: 0;
  top: calc(50% - 8px);
  width: 1px;
  height: 16px;
  background: rgba(177, 138, 96, .3);
  content: "";
}

body.user-home-page #buyerAppView .account-summary-item img {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  object-fit: contain;
}

body.user-home-page #buyerAppView .account-summary-item span {
  flex: 0 0 auto;
  font-size: 11px;
}

body.user-home-page #buyerAppView .account-summary-item strong {
  min-width: 0;
  margin-left: auto;
  overflow: hidden;
  color: #56391c;
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.user-home-page #buyerAppView #buyerCommonFunctions .quick-item .quick-icon {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.user-home-page #buyerCommonFunctions .quick-item .quick-icon img {
  width: 24px;
  height: 24px;
}

/* 参照分区示例，两个独立白色区块共用无底色图标。 */
body.user-home-page #buyerAppView #buyerCommonFunctions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.user-home-page #buyerAppView #buyerCommonFunctions .user-account-functions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 10px 0 12px;
  border-radius: 12px;
  background: #fff;
}

body.user-home-page #buyerAppView #buyerCommonFunctions .user-tool-services {
  display: grid;
  gap: 0;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #fff;
}

body.user-home-page #buyerAppView #buyerCommonFunctions h2 {
  margin: 0;
  padding: 10px 14px 0;
  color: #333;
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
}

body.user-home-page #buyerAppView #buyerCommonFunctions .user-service-functions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 0;
  padding: 10px 0 14px;
}

body.user-home-page #buyerAppView #buyerCommonFunctions .quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 3px;
  min-height: 49px;
  padding: 0 2px;
  border-radius: 8px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

body.user-home-page #buyerAppView #buyerCommonFunctions .quick-icon {
  width: 28px;
  height: 28px;
  border-radius: 0;
}

body.user-home-page #buyerAppView #buyerCommonFunctions .quick-item strong {
  color: #333;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
}

body.user-home-page #buyerAppView #buyerCommonFunctions #buyerLogout strong {
  color: #e07a7a;
}

/* 账户推广与工具服务使用同一标题尺度，右侧不再放查看详情。 */
body.user-home-page #buyerAppView #buyerInviteSummary {
  padding: 10px 14px 14px !important;
  border-radius: 12px;
}

body.user-home-page #buyerAppView #buyerInviteSummary .section-title {
  min-height: 21px;
  margin: 0 0 10px;
}

body.user-home-page #buyerAppView #buyerInviteSummary .section-title h2 {
  margin: 0;
  color: #333;
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
}

body.user-home-page #buyerAppView #buyerCommonFunctions .quick-item:focus-visible {
  outline: 2px solid #806d78;
  outline-offset: 2px;
}

html.front-night body.user-home-page #buyerAppView #buyerCommonFunctions h2 {
  color: #c5c7ce;
}

html.front-night body.user-home-page #buyerAppView #buyerCommonFunctions .user-tool-services {
  background: #24282e;
}

html.front-night body.user-home-page #buyerAppView #buyerCommonFunctions .user-account-functions {
  background: #24282e;
}

html.front-night body.user-home-page #buyerAppView .identity-name strong {
  color: #f1e8ee;
}

html.front-night body.user-home-page #buyerAppView .identity-uid {
  background: rgba(255, 255, 255, .08);
  color: #cfc1ca;
}

html.front-night body.user-home-page #buyerAppView .balance-band {
  background: #40352a !important;
}

html.front-night body.user-home-page #buyerAppView .account-summary-item {
  color: #dfc6a8;
}

html.front-night body.user-home-page #buyerAppView .account-summary-item strong {
  color: #f7dec0;
}

@media (max-width: 360px) {
  body.user-home-page #buyerAppView .account-card-stack { padding-right: 12px; padding-left: 12px; }
  body.user-home-page #buyerAppView #buyerAuthorizationOpen { margin-right: -12px; padding-right: 9px; padding-left: 9px; }
  body.user-home-page #buyerAppView .account-summary-item { gap: 4px; padding-right: 7px; padding-left: 7px; }
  body.user-home-page #buyerAppView .account-summary-item img { width: 15px; height: 15px; flex-basis: 15px; }
  body.user-home-page #buyerAppView .account-summary-item strong { font-size: 11px; }
}
