/* 个人中心 — 仪表板 */

.page-account {
  background: #f5f5f5;
}

.page-account .store-main--wide {
  width: calc(100% - 32px);
  max-width: 1680px;
}

.page-account .store-main {
  padding-top: 20px;
  padding-bottom: 48px;
  padding-left: 16px;
  padding-right: 16px;
}

.uc-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  width: 100%;
}

.uc-content {
  min-width: 0;
  width: 100%;
}

.uc-sidebar {
  position: sticky;
  top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.uc-sidebar-profile {
  padding: 20px 16px;
  text-align: center;
}

.uc-sidebar-profile__avatar {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 50%;
  overflow: hidden;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.uc-sidebar-profile__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uc-sidebar-profile__avatar-ph {
  font-size: 24px;
  font-weight: 700;
  color: #9ca3af;
}

.uc-sidebar-profile__email {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  word-break: break-all;
}

.uc-sidebar-profile__id {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: #6b7280;
}

.uc-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.uc-nav__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 999px;
  background: #f0f0f0;
  border: 0;
  color: #111;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.uc-nav__item i {
  width: 18px;
  text-align: center;
  color: #333;
  font-size: 15px;
}

.uc-nav__item:hover {
  background: #e8e8e8;
}

.uc-nav__item.is-active {
  background: #000;
  color: #fff;
}

.uc-nav__item.is-active i {
  color: #fff;
}

.uc-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 20px;
  margin-bottom: 20px;
}

.uc-top-grid--solo {
  grid-template-columns: 1fr;
}

.uc-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.uc-bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.uc-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.uc-profile-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  min-height: 140px;
}

.uc-profile-card__avatar {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.uc-profile-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uc-profile-card__avatar-ph {
  font-size: 28px;
  font-weight: 700;
  color: #9ca3af;
}

.uc-profile-card__email {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  color: #111;
  word-break: break-all;
}

.uc-profile-card__id {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6b7280;
}

.uc-copy-btn {
  border: 0;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  padding: 2px 4px;
}

.uc-copy-btn:hover {
  color: #111;
}

.uc-wallet-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 32px;
  min-height: 140px;
}

.uc-wallet-card__balance-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.uc-wallet-card__amount {
  font-size: 34px;
  font-weight: 800;
  color: #111;
  line-height: 1;
}

.uc-wallet-card__amount.is-hidden-value {
  letter-spacing: 0.08em;
}

.uc-wallet-card__label {
  margin: 10px 0 0;
  font-size: 14px;
  color: #6b7280;
}

.uc-eye-btn {
  border: 0;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  font-size: 18px;
  padding: 4px;
}

.uc-wallet-card__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.uc-btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.uc-btn--primary {
  background: var(--store-accent, #ff9900);
  color: #fff;
}

.uc-btn--primary:hover {
  filter: brightness(0.95);
}

.uc-stat-card {
  padding: 24px 28px;
}

.uc-stat-card__label {
  margin: 0 0 12px;
  font-size: 15px;
  color: #666;
}

.uc-stat-card__value {
  margin: 0;
  font-size: 42px;
  font-weight: 800;
  color: #111;
  line-height: 1;
}

.uc-list-card {
  padding: 22px 24px 24px;
  min-height: 280px;
}

.uc-list-card__title {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

.uc-list-card__body {
  min-height: 200px;
}

.uc-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 200px;
  color: #9ca3af;
}

.uc-empty svg {
  width: 120px;
  height: 80px;
}

.uc-mini-product {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto auto;
  gap: 4px 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  color: inherit;
}

.uc-mini-product:last-child {
  border-bottom: 0;
}

.uc-mini-product__img {
  grid-row: 1 / 3;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
}

.uc-mini-product__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uc-mini-product__name {
  font-size: 14px;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uc-mini-product__price {
  font-size: 14px;
  font-weight: 700;
  color: #111;
}

.uc-mini-shop-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.uc-mini-shop-row:last-child {
  border-bottom: 0;
}

.uc-mini-shop-row .uc-mini-shop {
  flex: 1;
  min-width: 0;
  padding: 0;
  border-bottom: 0;
}

.uc-mini-shop__unfollow {
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: #9ca3af;
  font-size: 12px;
  cursor: pointer;
  padding: 4px 0;
}

.uc-mini-shop__unfollow:hover {
  color: #ef4444;
}

.uc-mini-shop {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.uc-mini-shop:last-child {
  border-bottom: 0;
}

.uc-mini-shop__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff7ed;
  color: var(--store-accent, #ff9900);
  display: flex;
  align-items: center;
  justify-content: center;
}

.uc-mini-shop__name {
  font-size: 15px;
  color: #333;
}

@media (max-width: 1100px) {
  .uc-top-grid,
  .uc-bottom-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .uc-layout {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .uc-sidebar {
    position: static;
    min-width: 0;
    max-width: 100%;
  }

  .uc-content {
    min-width: 0;
    max-width: 100%;
  }

  .uc-sidebar-profile {
    display: none;
  }

  .uc-nav {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 4px;
    gap: 8px;
    max-width: 100%;
  }

  .uc-nav__item {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 12px 16px;
  }

  .uc-stat-grid {
    grid-template-columns: 1fr;
  }

  .uc-wallet-card {
    flex-direction: column;
    align-items: stretch;
    max-width: 100%;
    box-sizing: border-box;
  }

  .uc-wallet-card__actions {
    flex-direction: row;
    width: 100%;
    box-sizing: border-box;
  }

  .uc-wallet-card__actions .uc-btn {
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
  }
}

/* ── 子页面通用 ── */
.uc-panel.is-hidden { display: none !important; }

html[data-uc-tab]:not([data-uc-tab="dashboard"]) [data-uc-panel="dashboard"] {
  display: none !important;
}

html[data-uc-tab="wallet"] [data-uc-panel="wallet"],
html[data-uc-tab="orders"] [data-uc-panel="orders"],
html[data-uc-tab="wishlist"] [data-uc-panel="wishlist"],
html[data-uc-tab="shops"] [data-uc-panel="shops"],
html[data-uc-tab="settings"] [data-uc-panel="settings"] {
  display: block !important;
}

.uc-panel-head {
  margin-bottom: 20px;
}

.uc-panel-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.uc-panel-head--row .uc-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.uc-panel-head h2 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 800;
  color: #111;
}

.uc-panel-head__sub {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
}

.uc-panel-head--plain {
  margin-bottom: 20px;
}

.uc-panel-head--plain h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ── 设置页 ── */
.uc-settings-page {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.uc-wallet-card--bar {
  margin-bottom: 0;
  width: 100%;
}

.uc-settings-card {
  padding: 0;
  overflow: hidden;
  width: 100%;
}

.uc-settings-card__title {
  margin: 0;
  padding: 22px 26px 18px;
  font-size: 22px;
  font-weight: 800;
  color: #000;
  border-bottom: 1px solid #f0f0f0;
}

.uc-settings-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.uc-settings-item {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 22px 26px;
  border: 0;
  border-bottom: 1px solid #f0f0f0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  color: #111;
  transition: background 0.15s;
}

.uc-settings-item:last-child {
  border-bottom: 0;
}

.uc-settings-item:hover {
  background: #fafafa;
}

.uc-settings-item:active {
  background: #f5f5f5;
}

.uc-settings-item__icon {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #111;
  font-size: 16px;
}

.uc-settings-item__icon--trade .fa-shield-alt {
  font-size: 17px;
}

.uc-settings-item__icon--trade .fa-yen-sign {
  position: absolute;
  font-size: 9px;
  margin-top: 2px;
}

.uc-settings-item__label {
  flex: 1;
  font-weight: 400;
  line-height: 1.4;
}

.uc-settings-item__arrow {
  flex-shrink: 0;
  color: #bbb;
  font-size: 22px;
  line-height: 1;
  font-weight: 300;
  margin-left: 8px;
}

/* ── 设置弹窗 ── */
.uc-settings-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.uc-settings-modal.is-hidden {
  display: none !important;
}

.uc-settings-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 0;
}

.uc-settings-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  max-height: min(90vh, 720px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border-radius: 18px;
  padding: 28px 28px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.uc-settings-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #9ca3af;
  cursor: pointer;
  z-index: 1;
}

.uc-settings-modal__title {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 800;
  color: #111;
}

.uc-settings-modal__desc {
  margin: -12px 0 20px;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
}

.uc-settings-panel.is-hidden {
  display: none !important;
}

.uc-pin-row--set {
  margin-bottom: 16px;
}

.uc-field--inline {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.uc-field--inline input[type="checkbox"] {
  width: auto;
}

.uc-address-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.uc-address-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #ececec;
  border-radius: 12px;
  background: #fafafa;
}

.uc-address-card.is-default {
  border-color: var(--store-accent, #ff9900);
  background: #fffaf0;
}

.uc-address-card__main {
  flex: 1;
  min-width: 0;
}

.uc-address-card__name {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: #111;
}

.uc-address-card__meta,
.uc-address-card__detail {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}

.uc-address-card__badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--store-accent, #ff9900);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.uc-address-card__actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.uc-address-card__btn {
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 12px;
  cursor: pointer;
  padding: 2px 0;
}

.uc-address-card__btn:hover {
  color: #111;
}

.uc-address-card__btn--danger:hover {
  color: #dc2626;
}

.uc-address-form {
  padding-top: 4px;
  border-top: 1px solid #f0f0f0;
}

.uc-address-form__actions {
  display: flex;
  gap: 12px;
}

.uc-address-form__actions .uc-btn {
  flex: 1;
}

.uc-cancel-box {
  padding: 8px 0;
}

.uc-cancel-box__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.uc-cancel-box__actions .uc-btn {
  width: 100%;
  text-align: center;
  text-decoration: none;
}

.uc-form-hint--confirm {
  margin: 4px 0 8px;
  text-align: center;
}

.uc-cancel-box__actions .uc-btn.is-hidden {
  display: none;
}

.uc-panel-head + .uc-card,
.uc-panel-head + .uc-wallet-summary {
  margin-bottom: 20px;
}

.uc-wallet-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
}

.uc-wallet-summary__label {
  margin: 0 0 8px;
  color: #6b7280;
  font-size: 14px;
}

.uc-wallet-summary__amount {
  margin: 0;
  font-size: 36px;
  font-weight: 800;
  color: #111;
}

.uc-wallet-summary__meta {
  margin: 10px 0 0;
  font-size: 13px;
  color: #9ca3af;
}

.uc-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.uc-form-card {
  padding: 22px 24px;
}

.uc-form-card h3 {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 700;
}

.uc-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.uc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.uc-field span {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

.uc-field input,
.uc-field select,
.uc-select-inline {
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  background: #fff;
}

.uc-form-hint {
  margin: 0;
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.5;
}

.uc-profile-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 6px;
  border-top: 1px solid #f0f0f0;
}

.uc-profile-section__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #111;
}

.uc-profile-section__desc {
  margin: -4px 0 0;
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.5;
}

.uc-withdraw-payout {
  padding: 12px 14px;
  border: 1px solid #fde68a;
  border-radius: 12px;
  background: #fffbeb;
}

.uc-withdraw-payout.is-empty {
  border-color: #fecaca;
  background: #fef2f2;
}

.uc-withdraw-payout__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.uc-withdraw-payout__title {
  font-size: 13px;
  font-weight: 700;
  color: #92400e;
}

.uc-withdraw-payout.is-empty .uc-withdraw-payout__title {
  color: #b91c1c;
}

.uc-withdraw-payout__edit {
  border: 0;
  background: transparent;
  color: #ff9900;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

@media (min-width: 769px) {
  .uc-withdraw-payout:not(.is-empty) .uc-withdraw-payout__edit {
    display: none;
  }
}

.uc-withdraw-payout__summary {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #78350f;
  word-break: break-all;
}

.uc-withdraw-payout.is-empty .uc-withdraw-payout__summary {
  color: #991b1b;
}

html[data-uc-profile-payout-only="1"] .uc-profile-basic {
  display: none !important;
}

html[data-uc-profile-payout-only="1"] .uc-profile-section {
  border-top: 0;
  padding-top: 0;
}

html[data-uc-profile-payout-only="1"] .uc-profile-section__title {
  display: none;
}

.uc-channel-detail {
  margin: 4px 0 12px;
  padding: 14px 16px;
  border: 1px solid #fde68a;
  border-radius: 12px;
  background: #fffbeb;
}

.uc-channel-detail__title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: #92400e;
}

.uc-channel-detail__list {
  margin: 0;
}

.uc-channel-detail__row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px 12px;
  margin: 0 0 8px;
}

.uc-channel-detail__value {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  margin: 0;
}

.uc-channel-detail__value > span {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: #1f2937;
  line-height: 1.6;
  word-break: break-all;
}

.uc-copy-btn {
  flex-shrink: 0;
  border: 1px solid #fcd34d;
  background: #fff;
  color: #92400e;
  border-radius: 6px;
  padding: 2px 10px;
  font-size: 12px;
  line-height: 1.6;
  cursor: pointer;
}

.uc-copy-btn:hover {
  background: #fff7ed;
}

.uc-channel-detail__row:last-child {
  margin-bottom: 0;
}

.uc-channel-detail__row dt {
  margin: 0;
  font-size: 12px;
  color: #78716c;
  line-height: 1.6;
}

.uc-btn--ghost {
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #333;
}

.uc-table-card {
  padding: 0;
  overflow: hidden;
}

.uc-table-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #f0f0f0;
}

.uc-table-card__head h3 {
  margin: 0;
  font-size: 17px;
}

.uc-table-wrap {
  padding: 8px 0;
  min-height: 120px;
}

.uc-fund-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid #f5f5f5;
}

.uc-fund-row:last-child { border-bottom: 0; }

.uc-fund-row__title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

.uc-fund-row__meta {
  margin: 0;
  font-size: 12px;
  color: #9ca3af;
}

.uc-fund-row__amount {
  margin: 0 0 4px;
  text-align: right;
  font-size: 15px;
  font-weight: 700;
  color: #111;
}

.uc-fund-row__status {
  margin: 0;
  text-align: right;
  font-size: 12px;
  color: #6b7280;
}

.uc-fund-row__status--rejected {
  color: #dc2626;
  font-weight: 600;
}

.uc-fund-row__reason {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #dc2626;
}

.uc-order-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.uc-order-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.uc-order-card__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
}

.uc-order-card__status {
  color: var(--store-accent, #ff9900);
  font-weight: 600;
}

.uc-order-item {
  font-size: 13px;
  color: #555;
  padding: 4px 0;
}

.uc-order-card__foot {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
  font-size: 13px;
  color: #6b7280;
}

.uc-order-card__amount {
  font-weight: 700;
  color: #111;
}

.uc-order-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.uc-order-card__btn {
  min-height: 34px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #374151;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.uc-order-card__btn:hover:not(:disabled) {
  border-color: var(--store-accent, #ff9900);
  color: var(--store-accent, #ff9900);
}

.uc-order-card__btn--primary {
  border-color: var(--store-accent, #ff9900);
  background: var(--store-accent, #ff9900);
  color: #fff;
}

.uc-order-card__btn--primary:hover:not(:disabled) {
  color: #fff;
  filter: brightness(.96);
}

.uc-order-card__btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.uc-order-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.uc-order-modal.is-hidden {
  display: none !important;
}

.uc-order-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .48);
}

.uc-order-modal__dialog {
  position: relative;
  width: min(620px, 100%);
  max-height: min(80vh, 720px);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .28);
}

.uc-order-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.uc-order-modal__title {
  margin: 0 36px 18px 0;
  font-size: 22px;
}

.uc-order-modal__empty {
  margin: 0;
  color: #6b7280;
}

.uc-order-modal-dl {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px 14px;
  margin: 0;
}

.uc-order-modal-dl dt {
  color: #6b7280;
}

.uc-order-modal-dl dd {
  margin: 0;
  color: #111827;
  word-break: break-word;
}

.uc-order-modal-subtitle {
  margin: 22px 0 12px;
  font-size: 16px;
}

.uc-order-modal-items {
  display: grid;
  gap: 12px;
}

.uc-order-modal-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 10px;
}

.uc-order-modal-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  background: #f3f4f6;
}

.uc-order-modal-item__title {
  margin: 0;
  font-weight: 700;
}

.uc-order-modal-item__meta {
  margin: 4px 0 0;
  color: #6b7280;
  font-size: 13px;
}

.uc-order-logistics {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.uc-order-logistics li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  border-left: 3px solid var(--store-accent, #ff9900);
  padding: 4px 0 4px 12px;
}

.uc-order-logistics time {
  color: #6b7280;
  font-size: 13px;
}

.uc-order-modal__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.uc-wish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.uc-wish-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.uc-wish-card__img {
  display: block;
  aspect-ratio: 1;
  background: #f8fafc;
}

.uc-wish-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uc-wish-card__body {
  padding: 14px;
}

.uc-wish-card__title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  margin-bottom: 6px;
  text-decoration: none;
}

.uc-wish-card__shop {
  margin: 0 0 6px;
  font-size: 12px;
  color: #9ca3af;
}

.uc-wish-card__price {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
}

.uc-wish-card__remove {
  width: 100%;
}

.uc-shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.uc-shop-card-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.uc-shop-card-wrap .uc-shop-card {
  flex: 1;
}

.uc-shop-card-wrap .uc-shop-card__unfollow {
  align-self: flex-start;
  min-height: 32px;
  padding: 0 12px;
  font-size: 12px;
}

.uc-shop-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.uc-shop-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff7ed;
  color: var(--store-accent, #ff9900);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.uc-shop-card__name {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
}

.uc-shop-card__go {
  font-size: 12px;
  color: #9ca3af;
}

.uc-mini-shop {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  color: inherit;
  text-decoration: none;
}

.uc-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
}

.uc-pager__btn {
  padding: 8px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.uc-pager__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.uc-pager__info {
  font-size: 13px;
  color: #6b7280;
}

@media (max-width: 900px) {
  .uc-form-grid {
    grid-template-columns: 1fr;
  }

  .uc-panel-head--row {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ── 交易密码弹窗 ── */
.uc-trade-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.uc-trade-modal.is-hidden {
  display: none !important;
}

.uc-trade-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.uc-trade-modal__dialog {
  position: relative;
  width: min(420px, 100%);
  background: #fff;
  border-radius: 18px;
  padding: 28px 28px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.uc-trade-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #9ca3af;
  cursor: pointer;
}

.uc-trade-modal__title {
  margin: 0 0 8px;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: #111;
}

.uc-trade-modal__desc {
  margin: 0 0 24px;
  text-align: center;
  font-size: 14px;
  color: #6b7280;
}

.uc-pin-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.uc-pin-row input {
  width: 46px;
  height: 52px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #111;
  outline: none;
}

.uc-pin-row input:focus {
  border-color: var(--store-accent, #ff9900);
  box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.15);
}

.uc-trade-modal__submit {
  width: 100%;
}

body.uc-modal-open {
  overflow: hidden;
}

body.uc-modal-open #mobileTabbar {
  display: none !important;
}

@media (max-width: 768px) {
  .uc-settings-modal {
    align-items: flex-end;
    padding: 0;
    z-index: 1500;
  }

  .uc-settings-modal__dialog {
    width: 100%;
    max-height: min(92vh, 820px);
    border-radius: 18px 18px 0 0;
    padding: 24px 16px calc(24px + env(safe-area-inset-bottom, 0px));
  }

  .uc-settings-modal__dialog .uc-profile-save {
    width: 100%;
    min-height: 44px;
    margin-top: 4px;
    -webkit-appearance: none;
    appearance: none;
    touch-action: manipulation;
  }

  .uc-form-hint#ucProfileHint {
    min-height: 18px;
    margin-top: 10px;
    text-align: center;
  }
}

/* 手机端新首页 — PC 默认隐藏 */
.uc-mobile-home,
.uc-m-subhead {
  display: none;
}

@media (max-width: 768px) {
  body.page-account,
  body.page-account.page-mobile-cart {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
    background: #fafafa;
  }

  html[data-uc-tab="dashboard"] body.page-account #storeHeader {
    display: none !important;
  }

  html[data-uc-tab="dashboard"] body.page-account .store-main {
    padding: 0 0 16px;
  }

  html.uc-mobile-sub body.page-account .store-main {
    padding: 0 12px 16px;
  }

  body.page-account .store-main--wide {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  body.page-account .store-footer,
  body.page-account #storeFooter,
  body.page-account #storeFooterLinks,
  body.page-account #storeFooterLinksSection,
  body.page-account.page-mobile-cart .store-footer,
  body.page-account.page-mobile-cart #storeFooter,
  body.page-account.page-mobile-cart #storeFooterLinks,
  body.page-account.page-mobile-cart #storeFooterLinksSection {
    display: none !important;
  }

  body.page-account #mobileTabbar.tk-tabbar,
  body.page-account.page-mobile-cart #mobileTabbar.tk-tabbar {
    display: flex !important;
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 600;
    height: calc(56px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
  }

  .uc-layout {
    display: block;
    min-width: 0;
  }

  .uc-sidebar {
    display: none !important;
  }

  .uc-content {
    min-width: 0;
    max-width: 100%;
  }

  .uc-desktop-dash {
    display: none !important;
  }

  .uc-mobile-home {
    display: block;
  }

  html.uc-page-loading #ucMobileHome {
    visibility: hidden;
  }

  html[data-uc-tab="dashboard"] .uc-mobile-home {
    min-height: calc(100dvh - 56px - env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
  }

  html[data-uc-tab="dashboard"] .uc-m-section {
    flex: 1;
    margin-bottom: 12px;
  }

  html[data-uc-tab="dashboard"] .uc-m-hero {
    padding-bottom: 44px;
  }

  html[data-uc-tab="dashboard"] .uc-m-asset {
    margin-bottom: 10px;
  }

  html.uc-mobile-sub .uc-mobile-home {
    display: none !important;
  }

  .uc-m-subhead {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 12px 4px 14px;
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fafafa;
  }

  html.uc-mobile-sub .uc-m-subhead,
  html.uc-mobile-sub body.page-account .store-main {
    background: #fafafa;
  }

  html.uc-mobile-sub .uc-m-subhead {
    display: flex;
  }

  .uc-m-subhead__back {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  }

  .uc-m-subhead__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #111;
  }

  html.uc-mobile-sub .uc-panel-head {
    display: none;
  }

  html.uc-mobile-sub .uc-settings-page > .uc-wallet-card--bar {
    display: none;
  }

  /* ── 头部（对齐首页 #fafafa 风格） ── */
  .uc-m-hero {
    background: #fafafa;
    padding: calc(16px + env(safe-area-inset-top, 0px)) 16px 52px;
    color: #111;
  }

  .uc-m-hero__name,
  .uc-m-hero__id,
  .uc-m-hero__account,
  .uc-m-quick {
    text-shadow: none;
  }

  .uc-m-hero__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
  }

  .uc-m-hero__user {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
  }

  .uc-m-hero__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: #f3f4f6;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ececec;
    box-shadow: none;
  }

  .uc-m-hero__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .uc-m-hero__avatar-ph {
    font-size: 22px;
    font-weight: 700;
    color: #666;
  }

  .uc-m-hero__info {
    min-width: 0;
  }

  .uc-m-hero__name {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .uc-m-hero__name span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .uc-m-hero__name i {
    color: var(--store-accent, #ff9900);
    font-size: 14px;
    flex-shrink: 0;
  }

  .uc-m-hero__id,
  .uc-m-hero__account {
    margin: 0;
    font-size: 13px;
    color: #888;
    opacity: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .uc-m-hero__account span {
    color: #666;
  }

  .uc-m-hero__edit {
    flex-shrink: 0;
    border: 1px solid #eee;
    border-radius: 999px;
    padding: 8px 14px;
    background: #fff;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    box-shadow: none;
  }

  .uc-m-hero__quick {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .uc-m-quick {
    border: 0;
    background: transparent;
    color: #666;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 4px 2px;
    cursor: pointer;
    font-size: 12px;
  }

  .uc-m-quick i {
    font-size: 22px;
    color: #333;
    opacity: 1;
  }

  /* ── 资产卡片 ── */
  .uc-m-asset {
    margin: -36px 12px 12px;
    padding: 18px 16px 0;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }

  .uc-m-asset__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
  }

  .uc-m-asset__balance {
    min-width: 0;
    flex: 1;
  }

  .uc-m-asset__label {
    display: block;
    font-size: 13px;
    color: #888;
    margin-bottom: 6px;
  }

  .uc-m-asset__amount {
    font-size: 28px;
    font-weight: 800;
    color: #111;
    line-height: 1.1;
  }

  .uc-m-asset__amount.is-hidden-value {
    letter-spacing: 0.08em;
  }

  .uc-m-asset__eye {
    border: 0;
    background: transparent;
    color: #aaa;
    font-size: 16px;
    padding: 4px;
    margin-left: 4px;
    cursor: pointer;
    vertical-align: middle;
  }

  .uc-m-asset__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
  }

  .uc-m-asset__recharge,
  .uc-m-asset__withdraw {
    flex-shrink: 0;
    border: 0;
    border-radius: 999px;
    padding: 8px 16px;
    background: var(--store-accent-search, #ffb800);
    color: #111;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    min-width: 72px;
  }

  .uc-m-asset__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    text-align: center;
    padding: 14px 0;
  }

  .uc-m-asset__stat {
    position: relative;
    padding: 4px 8px;
  }

  .uc-m-asset__stat--btn {
    border: 0;
    background: transparent;
    font: inherit;
    color: inherit;
    cursor: pointer;
    width: 100%;
  }

  .uc-m-asset__stat + .uc-m-asset__stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: #eee;
  }

  .uc-m-asset__stat strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #111;
    margin-bottom: 4px;
  }

  .uc-m-asset__stat span {
    font-size: 12px;
    color: #999;
  }

  /* ── 服务区块 ── */
  .uc-m-section {
    margin: 0 12px 12px;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }

  .uc-m-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
  }

  .uc-m-section__head h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #111;
  }

  .uc-m-section__arrow {
    color: #999;
    font-size: 20px;
    line-height: 1;
  }

  .uc-m-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 8px;
  }

  .uc-m-grid__item {
    border: 0;
    background: transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: inherit;
    text-decoration: none;
    font: inherit;
  }

  .uc-m-grid__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    background: #fafafa;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
  }

  .uc-m-grid__label {
    font-size: 12px;
    color: #666;
    text-align: center;
    line-height: 1.3;
  }

  .uc-m-grid__item--logout .uc-m-grid__label {
    color: #ef4444;
  }

  .uc-m-grid__item--logout .uc-m-grid__icon {
    color: #ef4444;
    border-color: #fecaca;
    background: #fff5f5;
  }

  /* ── 底部信息 ── */
  .uc-m-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 16px 4px;
    font-size: 12px;
    color: #888;
  }

  .uc-m-footer__logout {
    border: 0;
    background: transparent;
    color: #ef4444;
    font-size: 12px;
    cursor: pointer;
    padding: 0;
  }

  /* ── 子页面内容适配 ── */
  html.uc-mobile-sub .uc-panel .uc-card,
  html.uc-mobile-sub .uc-order-list,
  html.uc-mobile-sub .uc-wish-grid,
  html.uc-mobile-sub .uc-shop-grid {
    border-radius: 14px;
  }

  html.uc-mobile-sub .uc-form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  html.uc-mobile-sub[data-uc-wallet-mode="recharge"] #ucWallet .uc-wallet-page-head,
  html.uc-mobile-sub[data-uc-wallet-mode="recharge"] #ucWallet .uc-wallet-page-summary,
  html.uc-mobile-sub[data-uc-wallet-mode="recharge"] #ucWallet .uc-wallet-withdraw-card,
  html.uc-mobile-sub[data-uc-wallet-mode="recharge"] #ucWallet .uc-wallet-funds-card,
  html.uc-mobile-sub[data-uc-wallet-mode="recharge"] #ucWallet .uc-wallet-records-grid,
  html.uc-mobile-sub[data-uc-wallet-mode="recharge"] #ucWallet .uc-wallet-log-card,
  html.uc-mobile-sub[data-uc-wallet-mode="withdraw"] #ucWallet .uc-wallet-page-head,
  html.uc-mobile-sub[data-uc-wallet-mode="withdraw"] #ucWallet .uc-wallet-page-summary,
  html.uc-mobile-sub[data-uc-wallet-mode="withdraw"] #ucWallet .uc-wallet-recharge-card,
  html.uc-mobile-sub[data-uc-wallet-mode="withdraw"] #ucWallet .uc-wallet-funds-card,
  html.uc-mobile-sub[data-uc-wallet-mode="withdraw"] #ucWallet .uc-wallet-records-grid,
  html.uc-mobile-sub[data-uc-wallet-mode="withdraw"] #ucWallet .uc-wallet-log-card,
  html.uc-mobile-sub[data-uc-wallet-mode="recharge-records"] #ucWallet .uc-wallet-page-head,
  html.uc-mobile-sub[data-uc-wallet-mode="recharge-records"] #ucWallet .uc-wallet-page-summary,
  html.uc-mobile-sub[data-uc-wallet-mode="recharge-records"] #ucWallet .uc-wallet-form-grid,
  html.uc-mobile-sub[data-uc-wallet-mode="recharge-records"] #ucWallet .uc-wallet-funds-card,
  html.uc-mobile-sub[data-uc-wallet-mode="recharge-records"] #ucWallet .uc-wallet-withdraw-records,
  html.uc-mobile-sub[data-uc-wallet-mode="recharge-records"] #ucWallet .uc-wallet-log-card,
  html.uc-mobile-sub[data-uc-wallet-mode="withdraw-records"] #ucWallet .uc-wallet-page-head,
  html.uc-mobile-sub[data-uc-wallet-mode="withdraw-records"] #ucWallet .uc-wallet-page-summary,
  html.uc-mobile-sub[data-uc-wallet-mode="withdraw-records"] #ucWallet .uc-wallet-form-grid,
  html.uc-mobile-sub[data-uc-wallet-mode="withdraw-records"] #ucWallet .uc-wallet-funds-card,
  html.uc-mobile-sub[data-uc-wallet-mode="withdraw-records"] #ucWallet .uc-wallet-recharge-records,
  html.uc-mobile-sub[data-uc-wallet-mode="withdraw-records"] #ucWallet .uc-wallet-log-card,
  html.uc-mobile-sub[data-uc-wallet-mode="funds"] #ucWallet .uc-wallet-page-head,
  html.uc-mobile-sub[data-uc-wallet-mode="funds"] #ucWallet .uc-wallet-page-summary,
  html.uc-mobile-sub[data-uc-wallet-mode="funds"] #ucWallet .uc-wallet-form-grid,
  html.uc-mobile-sub[data-uc-wallet-mode="funds"] #ucWallet .uc-wallet-records-grid,
  html.uc-mobile-sub[data-uc-wallet-mode="funds"] #ucWallet .uc-wallet-log-card {
    display: none !important;
  }

  html.uc-mobile-sub[data-uc-wallet-mode="recharge"] #ucWallet .uc-wallet-form-grid,
  html.uc-mobile-sub[data-uc-wallet-mode="withdraw"] #ucWallet .uc-wallet-form-grid {
    margin-bottom: 0;
  }

  html.uc-mobile-sub[data-uc-wallet-mode="recharge-records"] #ucWallet .uc-wallet-records-grid,
  html.uc-mobile-sub[data-uc-wallet-mode="withdraw-records"] #ucWallet .uc-wallet-records-grid {
    display: block;
    margin-bottom: 0;
  }

  html.uc-mobile-sub[data-uc-wallet-mode="recharge-records"] #ucWallet .uc-wallet-recharge-records,
  html.uc-mobile-sub[data-uc-wallet-mode="withdraw-records"] #ucWallet .uc-wallet-withdraw-records,
  html.uc-mobile-sub[data-uc-wallet-mode="funds"] #ucWallet .uc-wallet-funds-card {
    margin: 0 12px;
  }

  html.uc-mobile-sub[data-uc-wallet-mode="recharge"] #ucWallet .uc-wallet-recharge-card h3,
  html.uc-mobile-sub[data-uc-wallet-mode="withdraw"] #ucWallet .uc-wallet-withdraw-card h3,
  html.uc-mobile-sub[data-uc-wallet-mode="recharge-records"] #ucWallet .uc-wallet-recharge-records h3,
  html.uc-mobile-sub[data-uc-wallet-mode="withdraw-records"] #ucWallet .uc-wallet-withdraw-records h3,
  html.uc-mobile-sub[data-uc-wallet-mode="funds"] #ucWallet .uc-wallet-funds-card h3 {
    display: none;
  }

  html.uc-mobile-sub[data-uc-wallet-mode] #ucWallet .uc-wallet-recharge-card,
  html.uc-mobile-sub[data-uc-wallet-mode] #ucWallet .uc-wallet-withdraw-card {
    margin: 0 12px;
  }

  html.uc-mobile-sub[data-uc-wallet-mode="withdraw"] #ucWallet .uc-wallet-withdraw-payout {
    display: none !important;
  }

  html.uc-mobile-sub .uc-wallet-card {
    padding: 18px 16px;
  }

  html.uc-mobile-sub .uc-wallet-card__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    width: 100%;
  }

  html.uc-mobile-sub .uc-wallet-card__actions .uc-btn {
    width: 100%;
    min-width: 0;
    padding: 12px 8px;
    font-size: 14px;
  }

  /* ── 收藏列表：一行样式 ── */
  .uc-wish-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }

  .uc-wish-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid #f0f0f0;
  }

  .uc-wish-card:last-child {
    border-bottom: 0;
  }

  .uc-wish-card__img {
    flex: 0 0 88px;
    width: 88px;
    aspect-ratio: auto;
    align-self: stretch;
    min-height: 88px;
    background: #f8fafc;
  }

  .uc-wish-card__img img {
    width: 100%;
    height: 100%;
    min-height: 88px;
    object-fit: cover;
  }

  .uc-wish-card__body {
    flex: 1;
    min-width: 0;
    padding: 10px 12px 10px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
  }

  .uc-wish-card__title {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
  }

  .uc-wish-card__shop {
    margin: 0;
    font-size: 12px;
    color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .uc-wish-card__price {
    margin: 2px 0 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--store-accent, #ff9900);
  }

  .uc-wish-card__remove {
    width: auto;
    align-self: flex-start;
    margin-top: 6px;
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 999px;
  }
}
