.account-route-page {
  min-height: calc(100vh - 68px);
  overflow-x: clip;
  color: #172230;
  background: #f3f5f7;
  font-size: 15px;
}

.account-route-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.account-route-header {
  border-bottom: 1px solid #dfe4e8;
  background: #fff;
}

.account-route-header-inner {
  display: grid;
  min-height: 92px;
  grid-template-columns: 170px minmax(0, 1fr) minmax(220px, auto);
  align-items: center;
  gap: 24px;
}

/* The top-level account page has no back control. Keep its mark and title
   in the first grid track instead of reserving the legacy back-button column. */
.account-route-header-inner-primary {
  grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
}

.account-route-back {
  display: inline-flex;
  width: max-content;
  min-height: 42px;
  padding: 0 13px;
  align-items: center;
  gap: 9px;
  border: 1px solid #d8dee4;
  border-radius: 4px;
  color: #344457;
  background: #fff;
  cursor: pointer;
}

.account-route-back:hover { border-color: var(--blue, #2357e8); color: var(--blue-dark, #173a9e); }
.account-route-back span { display: grid; width: 20px; height: 20px; place-items: center; }
.account-route-back .ui-icon { width: 18px; height: 18px; }
.account-route-back b { font-size: 14px; }
.account-route-back-spacer { display: block; min-width: 1px; min-height: 1px; }

.account-route-title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
}

.account-route-title-primary {
  gap: 0;
}

.account-route-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: none;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: var(--navy-2, #142a49);
  font: 800 20px/1 "Space Grotesk", sans-serif;
}
.account-route-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }

.account-route-title small {
  display: block;
  margin-bottom: 4px;
  color: #748293;
  font-size: 11px;
  font-weight: 700;
}

.account-route-title h1 {
  margin: 0;
  font: 700 24px/1.2 "Space Grotesk", sans-serif;
  letter-spacing: 0;
}

.account-route-session {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  text-align: right;
}

.account-route-session > span {
  color: #788696;
  font-size: 12px;
}

.account-route-session div { min-width: 0; }
.account-route-session b,
.account-route-session small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-route-session b { font-size: 14px; }
.account-route-session small { max-width: 260px; margin-top: 3px; color: var(--blue, #b88a2a); font-size: 12px; font-weight: 700; }

.account-route-context {
  border-bottom: 1px solid #e0e5e9;
  background: #f9fafb;
}

.account-route-context .account-route-shell {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  color: #8793a0;
  font-size: 13px;
}

.account-route-context button {
  padding: 0;
  border: 0;
  color: var(--blue, #2357e8);
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.account-route-context b { color: #435163; font-weight: 600; }
.account-route-content { padding: 30px 0 56px; }

/* Transaction details are a focused child route. Remove the old account
   content offset so the internal back arrow and title sit at the top of the
   page without the retired "My orders" row. */
.account-route-detail-content { padding-top: 0; }
.account-route-detail-content #accountPageMount { width: 100%; }

.account-route-page .member-center {
  min-height: 660px;
  overflow: hidden;
  border: 1px solid #dce2e7;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 28px rgb(35 49 65 / 8%);
  grid-template-columns: 246px minmax(0, 1fr);
}

.account-route-page .member-sidebar {
  padding: 30px 20px;
  background: var(--navy-2, #142a49);
}

.account-route-page .member-identity { padding-bottom: 25px; }
.account-route-page .member-avatar { width: 82px; height: 82px; margin-bottom: 14px; font-size: 29px; }
.account-route-page .member-identity b { font-size: 15px; line-height: 1.4; }
.account-route-page .member-identity small { margin-top: 5px; color: #b0bdca; font-size: 12px; line-height: 1.45; }
.account-route-page .buyer-level { margin-top: 14px; gap: 7px; }
.account-route-page .buyer-level b { color: #eef3f8; font-size: 12px; }
.account-route-page .buyer-level .rep-marks { padding: 6px 9px; }
.account-route-page .buyer-level .rep-icon { width: 13px; height: 14px; font-size: 13px; }

.account-route-page .member-sidebar nav { margin-top: 24px; gap: 7px; }
.account-route-page .member-sidebar nav button {
  min-height: 46px;
  padding: 11px 13px;
  gap: 11px;
  border-radius: 4px;
  color: #bfccd9;
  font-size: 14px;
  cursor: pointer;
}

.account-route-page .member-sidebar nav button:hover { background: #203c61; }
.account-route-page .member-sidebar nav button.active { color: var(--theme-accent-contrast, #fff); background: var(--blue, #2357e8); }
.account-route-page .member-nav-icon {
  width: 24px;
  height: 24px;
  border: 0;
}

.account-route-page .member-main { padding: 38px 42px 48px; }
.account-route-page .member-head { margin-bottom: 27px; align-items: center; }
.account-route-page .member-head h2 { margin-top: 8px; font-size: 28px; letter-spacing: 0; }
.account-route-page .member-head p { max-width: 600px; margin-top: 8px; color: #667586; font-size: 14px; line-height: 1.6; }
.account-route-page .member-head-badge { padding: 6px 9px; border: 1px solid #dde4e9; border-radius: 3px; color: #526273; background: #f7f9fa; font-size: 12px; }
.account-route-page .member-main .kicker { color: #5c6d80; font-size: 11px; }

.account-route-page .member-summary { margin-bottom: 20px; }
.account-route-page .member-summary > div { padding: 21px 22px; }
.account-route-page .member-summary span { font-size: 13px; }
.account-route-page .member-summary strong { margin: 8px 0 4px; font-size: 25px; }
.account-route-page .member-summary small { font-size: 12px; }
.account-route-page .member-summary.member-summary-compact { margin-bottom: 13px; }
.account-route-page .member-summary.member-summary-compact > div { padding: 10px 13px; }
.account-route-page .member-summary-compact span { font-size: 11px; }
.account-route-page .member-summary-compact strong { margin: 3px 0 2px; font-size: 18px; }
.account-route-page .member-summary-compact small { font-size: 10px; }
.account-route-page .member-summary-compact + .game-rank-progress { padding: 10px 13px; margin: -4px 0 11px; }
.account-route-page .member-summary-compact + .game-rank-progress + .game-rank-legend { margin: -2px 0 15px; }
.account-route-page .profile-settings-form { padding: 20px 0 0; }
.account-route-page .avatar-editor b,
.account-route-page .profile-fields label,
.account-route-page .wallet-action h3,
.account-route-page .seller-section-head h3 { font-size: 14px; }
.account-route-page .avatar-editor small,
.account-route-page .transaction-row small,
.account-route-page .member-order-head,
.account-route-page .member-order-title small,
.account-route-page .member-order-total span,
.account-route-page .gift-demo-note,
.account-route-page .coupon-item small { font-size: 12px; }
.account-route-page .avatar-editor label,
.account-route-page .profile-fields input,
.account-route-page .profile-fields select,
.account-route-page .profile-fields button,
.account-route-page .wallet-action input,
.account-route-page .wallet-action button,
.account-route-page .gift-tabs button,
.account-route-page .gift-redeem input,
.account-route-page .gift-redeem button,
.account-route-page .order-tabs button,
.account-route-page .member-order-actions button,
.account-route-page .review-form input,
.account-route-page .review-form select,
.account-route-page .review-form button { min-height: 42px; font-size: 14px; }
.account-route-page .avatar-editor-action { min-height: 36px; font-size: 12px; }
.account-route-page .account-binding span { font-size: 12px; }
.account-route-page .account-binding b { font-size: 14px; }
.account-route-page .account-binding button { min-height: 38px; font-size: 13px; }

.account-route-page .wallet-balance-band { padding: 26px; background: var(--navy-2, #15233a); }
.account-route-page .wallet-balance-band span { font-size: 13px; }
.account-route-page .wallet-balance-band strong { margin: 8px 0; font-size: 31px; }
.account-route-page .wallet-balance-band small { font-size: 12px; }
.account-route-page .wallet-actions { margin: 22px 0 28px; }
.account-route-page .wallet-action { padding: 20px; }
.account-route-page .wallet-action-head p,
.account-route-page .wallet-quick-block > span,
.account-route-page .wallet-amount-form > label,
.account-route-page .wallet-available span { font-size: 12px; }
.account-route-page .wallet-quick-amounts button,
.account-route-page .wallet-input-wrap > span { font-size: 12px; }
.account-route-page .wallet-action .wallet-input-wrap input { font-size: 14px; }
.account-route-page .wallet-action-icon { width: 42px; height: 42px; }
.account-route-page .wallet-action-icon .ui-icon { width: 22px; height: 22px; }
.account-route-page .transaction-row { padding: 15px 16px; }
.account-route-page .transaction-row b { font-size: 14px; }
.account-route-page .transaction-row strong { font-size: 15px; }

.account-route-page .order-tabs { margin-bottom: 20px; }
.account-route-page .order-tabs button { padding: 0 12px; }
.account-route-page .member-order { margin-bottom: 14px; }
.account-route-page .member-order-head { padding: 12px 15px; }
.account-route-page .member-order-body { padding: 15px; }
.account-route-page .member-order-title b { font-size: 14px; line-height: 1.5; }
.account-route-page .member-order-total strong { font-size: 17px; }
.account-route-page .member-order-actions { padding: 12px 15px 15px; }
.account-route-page .delivered-details summary,
.account-route-page .delivered-details code { font-size: 12px; }

.account-route-page .gift-tabs button { padding: 0 15px; }
.account-route-page .gift-redeem { padding: 24px 0; }
.account-route-page .gift-demo-note { margin: 15px 0 24px; }
.account-route-page .coupon-item { padding: 16px; }
.account-route-page .coupon-item b { font-size: 14px; }
.account-route-page .coupon-item strong { font-size: 20px; }
.account-route-page .member-empty { padding: 54px 18px; font-size: 14px; }

.account-route-page .member-core-center:has(.member-review-page) .member-main { width: min(1120px, 100%); }
.account-route-page .member-review-page { min-width: 0; padding: 4px 0 36px; }
.account-route-page .member-review-back {
  display: inline-flex;
  min-height: 42px;
  padding: 0 13px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--blue, #b9892c);
  border-radius: 4px;
  color: var(--theme-accent-contrast, #fff);
  background: var(--blue, #b9892c);
  font-size: 13px;
  font-weight: 800;
}
.account-route-page .member-review-back .ui-icon { width: 18px; height: 18px; }
.account-route-page .member-review-page-head { display: flex; padding: 26px 0 20px; align-items: flex-end; justify-content: space-between; gap: 22px; }
.account-route-page .member-review-page-head h2 { margin: 7px 0 6px; color: #17283c; font-size: 29px; letter-spacing: 0; }
.account-route-page .member-review-page-head p { max-width: 620px; margin: 0; color: #687789; font-size: 14px; line-height: 1.65; }
.account-route-page .member-review-page-head > .verified-order-badge { flex: none; font-size: 12px; }
.account-route-page .member-review-order { display: grid; min-width: 0; padding: 15px 0; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 15px; border-top: 1px solid #dfe5ea; }
.account-route-page .member-review-order img { width: 72px; height: 72px; border: 1px solid #e0e6eb; border-radius: 4px; object-fit: contain; background: #fff; }
.account-route-page .member-review-order div { min-width: 0; }
.account-route-page .member-review-order b,
.account-route-page .member-review-order small { display: block; overflow-wrap: anywhere; }
.account-route-page .member-review-order b { color: #203248; font-size: 15px; line-height: 1.45; }
.account-route-page .member-review-order small { margin-top: 6px; color: #7a8897; font-size: 12px; }
.account-route-page .member-review-order strong { color: var(--blue, #b9892c); font-size: 20px; white-space: nowrap; }
.account-route-page .verified-review-form .review-submit { min-height: 46px; font-size: 14px; }

@media (max-width: 820px) {
  .account-route-shell { width: min(100% - 24px, 1180px); }
  .account-route-header-inner { min-height: 80px; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; }
  .account-route-header-inner-primary { grid-template-columns: minmax(0, 1fr) auto; }
  .account-route-back { width: 42px; padding: 0; justify-content: center; }
  .account-route-back b { display: none; }
  .account-route-back-spacer { width: 42px; height: 42px; }
  .account-route-title { gap: 9px; }
  .account-route-mark { width: 38px; height: 38px; font-size: 17px; }
  .account-route-title h1 { font-size: 20px; }
  .account-route-title small,
  .account-route-session > span,
  .account-route-session b { display: none; }
  .account-route-session small { max-width: 180px; }
  .account-route-content { padding: 18px 0 36px; }
  .account-route-page .member-center { display: block; min-height: 0; }
  .account-route-page .member-sidebar { padding: 18px; }
  .account-route-page .member-identity { grid-template-columns: 58px minmax(0, 1fr) auto; padding-bottom: 16px; }
  .account-route-page .member-identity .member-avatar { width: 58px; height: 58px; }
  .account-route-page .member-sidebar nav { margin-top: 14px; }
  .account-route-page .member-sidebar nav button { min-height: 42px; }
  .account-route-page .member-main { padding: 26px 22px 34px; }
  .account-route-page .member-head h2 { font-size: 24px; }
  .account-route-page .member-review-page { padding-right: 4px; padding-left: 4px; }
}

@media (max-width: 560px) {
  .account-route-shell { width: 100%; }
  .account-route-header-inner { padding: 0 12px; grid-template-columns: auto minmax(0, 1fr); }
  .account-route-title small { display: none; }
  .account-route-session { display: none; }
  .account-route-context .account-route-shell { padding: 0 14px; }
  .account-route-content { padding-top: 0; }
  .account-route-page .member-center { border-width: 0 0 1px; border-radius: 0; box-shadow: none; }
  .account-route-page .member-sidebar { padding: 16px 14px 12px; }
  .account-route-page .member-identity { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; }
  .account-route-page .member-identity .member-avatar { width: 52px; height: 52px; }
  .account-route-page .member-identity .buyer-level { grid-column: auto; align-items: flex-end; }
  .account-route-page .member-identity .buyer-level b { display: block; font-size: 11px; }
  .account-route-page .member-sidebar nav { display: grid; grid-template-columns: repeat(5, minmax(60px, 1fr)); gap: 4px; overflow-x: auto; scrollbar-width: none; }
  .account-route-page .member-sidebar nav::-webkit-scrollbar { display: none; }
  .account-route-page .member-sidebar nav button { min-width: 60px; min-height: 60px; padding: 7px 4px; flex-direction: column; justify-content: center; gap: 5px; text-align: center; font-size: 11px; }
  .account-route-page .member-nav-icon { display: grid; width: 22px; height: 22px; }
  .account-route-page .member-nav-icon .ui-icon { width: 19px; height: 19px; }
  .account-route-page .member-main { padding: 24px 14px 32px; }
  .account-route-page .member-head { align-items: flex-start; }
  .account-route-page .member-head-badge { display: none; }
  .account-route-page .member-head h2 { font-size: 22px; }
  .account-route-page .member-summary > div { padding: 17px; }
  .account-route-page .member-summary.member-summary-compact > div { padding: 9px 8px; }
  .account-route-page .member-summary-compact span { font-size: 10px; }
  .account-route-page .member-summary-compact strong { font-size: 16px; }
  .account-route-page .member-summary-compact small { font-size: 9px; }
  .account-route-page .profile-settings-form { padding: 16px 0 0; }
  .account-route-page .wallet-balance-band { padding: 20px; }
  .account-route-page .wallet-action { padding: 17px; }
  .account-route-page .wallet-quick-amounts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .account-route-page .order-tabs { margin-right: 0; overflow: visible; }
  .account-route-page .order-tabs button { min-width: 0; padding-right: 1px; padding-left: 1px; white-space: normal; }
  .account-route-page .member-review-page { padding: 2px 0 24px; }
  .account-route-page .member-review-back { min-height: 40px; }
  .account-route-page .member-review-page-head { display: block; padding: 20px 0 16px; }
  .account-route-page .member-review-page-head h2 { font-size: 24px; }
  .account-route-page .member-review-page-head p { font-size: 13px; }
  .account-route-page .member-review-page-head > .verified-order-badge { display: inline-flex; margin-top: 10px; }
  .account-route-page .member-review-order { grid-template-columns: 58px minmax(0, 1fr); gap: 11px; }
  .account-route-page .member-review-order img { width: 58px; height: 58px; }
  .account-route-page .member-review-order b { font-size: 14px; }
  .account-route-page .member-review-order strong { grid-column: 2; font-size: 18px; }
}

/* The account center is a page route. It must never inherit the old modal/card layout. */
body.account-route > footer { display: none; }

.account-route-page {
  min-height: calc(100dvh - 110px);
  background: #fff;
}

.account-route-page .member-core-center {
  display: block;
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  grid-template-columns: 1fr;
}

.account-route-page .member-core-center .member-sidebar { display: none !important; }

.account-route-page .member-core-center .member-main {
  width: min(940px, 100%);
  padding: 10px 0 50px;
  margin: 0 auto;
  background: transparent;
}

.account-route-page .member-dashboard-compact {
  gap: 12px;
}

.account-route-page .member-setting-list > button {
  min-height: 56px;
  padding: 10px 16px;
}

.account-route-page .member-setting-list > button > span > b,
.account-route-page .member-order-shortcuts > div > button > b { font-size: 14px; }

.account-route-page .member-setting-list h3,
.account-route-page .member-order-shortcuts h3 { font-size: 16px; }

.account-route-page .monthly-coupon-claim b { font-size: 14px; }
.account-route-page .monthly-coupon-claim p { font-size: 13px; }
.account-route-page .monthly-coupon-claim small { font-size: 12px; }

.account-route-page .member-subpage-center .member-head { margin-top: 0; }

.modal.profile-dialog {
  padding: 62px 24px 26px;
}

.modal.profile-dialog > .modal-close {
  top: 12px;
  right: 12px;
}

@media (max-width: 620px) {
  body.account-route { background: #fff; }
  body.account-route .mobile-nav { z-index: 140; }

  .mobile-nav a.active,
  .mobile-nav button.active {
    color: var(--blue, #c6a451);
    background: transparent;
    box-shadow: none;
  }

  .mobile-nav button:nth-child(3) .nav-icon-shell,
  .mobile-nav a.active .nav-icon-shell,
  .mobile-nav button.active .nav-icon-shell,
  .mobile-nav button:nth-child(3).active .nav-icon-shell {
    color: inherit !important;
    background: transparent !important;
  }

  .mobile-nav a.active .nav-label,
  .mobile-nav button.active .nav-label { color: inherit; }

  .account-route-page {
    min-height: calc(100dvh - 68px - env(safe-area-inset-bottom));
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
  }

  .account-route-header {
    position: relative;
    z-index: 1;
    background: #fff;
  }

  .account-route-header-inner {
    min-height: 64px;
    padding: 0 14px;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .account-route-header-inner-primary {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .account-route-title { justify-content: flex-start; }
  .account-route-title h1 { font-size: 19px; }
  .account-route-mark { width: 36px; height: 36px; }
  .account-route-context { display: none; }
  .account-route-content { width: 100%; padding: 0; }

  .account-route-page .member-core-center,
  .account-route-page .member-center {
    min-height: calc(100dvh - 132px - env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .account-route-page .member-core-center .member-main,
  .account-route-page .member-main {
    width: 100%;
    padding: 15px 13px 30px;
  }

  .account-route-page .member-dashboard-center .member-main { padding-top: 15px; }
  .account-route-page .member-head { margin-bottom: 18px; }
  .account-route-page .member-head h2 { font-size: 23px; }
  .account-route-page .member-head p { font-size: 14px; }
  .account-route-page .member-dashboard-profile { border-radius: 5px; }
  .account-route-page .member-benefit-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-route-page .member-benefit-strip > button,
  .account-route-page .member-benefit-strip > div { min-height: 68px; border-bottom: 1px solid #e7ecf0; }
  .account-route-page .member-benefit-strip > :nth-child(2) { border-right: 0; }
  .account-route-page .member-benefit-strip > :nth-last-child(-n + 2) { border-bottom: 0; }
  .account-route-page .member-benefit-strip span { font-size: 12px; }
  .account-route-page .member-benefit-strip strong { font-size: 17px; }
  .account-route-page .member-order-shortcuts > div > button { min-height: 80px; }
  .account-route-page .member-order-shortcuts > div > button > b { font-size: 12px; }
  .account-route-page .monthly-coupon-claim { grid-template-columns: 40px minmax(0, 1fr); }
  .account-route-page .monthly-coupon-claim > button { grid-column: 1 / -1; width: 100%; min-height: 42px; }
  .account-route-page .member-setting-list > button > span > b { font-size: 15px; }
  .account-route-page .member-setting-list > button { min-height: 58px; }

  body .modal.profile-dialog {
    width: calc(100% - 24px);
    max-width: 460px;
    max-height: calc(100dvh - 92px - env(safe-area-inset-bottom));
    padding: 62px 17px 22px !important;
    margin-bottom: calc(68px + env(safe-area-inset-bottom));
  }

  .modal.profile-dialog > .modal-close {
    top: 11px;
    right: 11px;
  }

  body:has(.modal.member-modal) .mobile-nav { z-index: 140; }
  body:has(.modal.member-modal) .modal-backdrop {
    z-index: 120;
    bottom: calc(68px + env(safe-area-inset-bottom));
    padding: 0;
    align-items: stretch;
    background: #fff;
    backdrop-filter: none;
  }
  body:has(.modal.member-modal) .modal.member-modal {
    width: 100vw !important;
    max-width: 100vw !important;
    height: calc(100dvh - 68px - env(safe-area-inset-bottom));
    max-height: calc(100dvh - 68px - env(safe-area-inset-bottom));
    padding: 64px 0 0 !important;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  body:has(.modal.member-modal) .modal.member-modal > .modal-close {
    top: 11px;
    right: auto;
    left: 12px;
  }
  body:has(.modal.member-tab-settings) .modal.member-modal > .modal-close { display: none; }
  body:has(.modal.member-tab-settings) .modal.member-modal { padding-top: 0 !important; }
  body:has(.modal.member-modal) .modal.member-modal #modalContent { min-height: 100%; }
  body:has(.modal.member-modal) .modal.member-modal .member-core-center { min-height: 100%; }
  body:has(.modal.member-modal) .modal.member-modal .member-main { padding: 15px 13px 30px; }
}

@media (max-width: 560px) {
  .account-route-header-inner-primary {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}
/* Personal home refresh */
.account-route-page .my-home-dashboard{gap:16px;padding:0 2px 8px;background:#f6f8fb}
.account-route-page .my-profile-hero{min-height:144px;padding:24px 26px;grid-template-columns:76px minmax(0,1fr) auto;gap:16px;border:1px solid #e2e8f0;border-radius:10px;color:#1b2b40;background:#fff;box-shadow:0 10px 24px rgb(36 58 86 / 8%)}
.account-route-page .my-profile-avatar{width:76px;height:76px;border:3px solid #fff;background-color:#f45b45;box-shadow:0 0 0 1px #f4b4a8,0 8px 18px rgb(244 91 69 / 22%)}
.account-route-page .my-profile-avatar:hover{transform:none;box-shadow:0 0 0 4px #fff0ed,0 8px 18px rgb(244 91 69 / 22%)}
.account-route-page .my-profile-identity h2{margin:8px 0 6px;color:#172b45;font-size:24px;letter-spacing:0}
.account-route-page .my-section-eyebrow{display:block;color:#f05a43;font-size:10px;font-weight:800;letter-spacing:.08em}
.account-route-page .my-profile-meta{display:flex;min-width:0;align-items:center;gap:10px;flex-wrap:wrap;color:#8190a1;font-size:12px}
.account-route-page .my-profile-meta .buyer-level{margin:0}.account-route-page .my-profile-meta .buyer-level b{color:#576b80}
.account-route-page .my-profile-actions{display:flex;align-items:center;gap:8px}
.account-route-page .my-profile-actions button{display:inline-flex;min-height:36px;padding:0 11px;align-items:center;gap:6px;border:1px solid #dbe4ec;border-radius:5px;color:#53677c;background:#fff;font-size:11px;font-weight:700}
.account-route-page .my-profile-actions button:hover{border-color:#f1a497;color:#e14f3b;background:#fff8f6}
.account-route-page .my-profile-actions .ui-icon{width:15px;height:15px}
.account-route-page .my-wallet-overview{display:grid;min-width:0;grid-template-columns:minmax(220px,1.7fr) repeat(3,minmax(115px,1fr));overflow:hidden;border:1px solid #dce5ee;border-radius:10px;background:#fff}
.account-route-page .my-wallet-primary{min-width:0;padding:20px 22px;color:#fff;background:#286fe8}
.account-route-page .my-wallet-primary span,.account-route-page .my-wallet-primary strong,.account-route-page .my-wallet-primary small{display:block}
.account-route-page .my-wallet-primary span{color:#dce9ff;font-size:12px}.account-route-page .my-wallet-primary strong{margin:8px 0 7px;font-family:"Space Grotesk",sans-serif;font-size:29px;letter-spacing:0}.account-route-page .my-wallet-primary small{color:#c4d9ff;font-size:11px;line-height:1.45}
.account-route-page .my-wallet-stat{position:relative;min-width:0;padding:19px 18px;border-left:1px solid #e8eef4}.account-route-page .my-wallet-stat span,.account-route-page .my-wallet-stat b{display:block;overflow-wrap:anywhere}.account-route-page .my-wallet-stat>span:first-child{color:#7d8c9d;font-size:11px}.account-route-page .my-wallet-stat b{margin-top:9px;color:#1d324b;font-size:21px}.account-route-page .my-wallet-stat button{position:absolute;right:13px;bottom:13px;display:grid;width:24px;height:24px;padding:0;place-items:center;border:0;color:#9aabba;background:transparent}.account-route-page .my-wallet-stat button:hover{color:#286fe8}.account-route-page .my-wallet-stat button .ui-icon{width:14px;height:14px}.account-route-page .my-wallet-level{margin-top:6px;color:#f05a43!important;font-size:11px!important;font-weight:700}
.account-route-page .my-order-panel,.account-route-page .my-service-panel,.account-route-page .my-coupon-panel{border-color:#dce5ee;border-radius:10px;box-shadow:0 5px 15px rgb(36 58 86 / 4%)}
.account-route-page .my-order-panel>header,.account-route-page .my-service-panel>header{min-height:62px;padding:0 20px}.account-route-page .my-order-panel>header h3,.account-route-page .my-service-panel>header h3{margin-top:4px;color:#1b2d43;font-size:16px}.account-route-page .my-order-panel>header button{color:#7d8da0;font-size:11px}
.account-route-page .my-order-panel>div>button{min-height:102px;padding:14px 7px;gap:10px;color:#53677c}.account-route-page .my-order-panel>div>button:hover{color:#286fe8;background:#f3f7ff}.account-route-page .my-order-panel>div>button>span{width:38px;height:38px;color:#286fe8}.account-route-page .my-order-panel>div>button .ui-icon{width:26px;height:26px}.account-route-page .my-order-panel>div>button em{top:-4px;right:-8px;min-width:18px;height:18px;border-color:#fff;background:#f05a43;font-size:9px}.account-route-page .my-order-panel>div>button b{font-size:11px}
.account-route-page .my-action-rail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.account-route-page .my-action-tile{display:grid;min-width:0;min-height:76px;padding:14px;grid-template-columns:38px minmax(0,1fr) 16px;align-items:center;gap:10px;border:1px solid #dce5ee;border-radius:9px;color:#1f344c;background:#fff;text-align:left;box-shadow:0 5px 15px rgb(36 58 86 / 4%)}.account-route-page .my-action-tile:hover{border-color:#9dbcf4;background:#f7faff;transform:translateY(-1px)}.account-route-page .my-action-seller{border-color:#f3c3bb;background:#fff8f6}.account-route-page .my-action-seller:hover{border-color:#ee927f;background:#fff2ee}.account-route-page .my-action-icon{display:grid;width:38px;height:38px;place-items:center;border-radius:8px;color:#286fe8;background:#edf3ff}.account-route-page .my-action-seller .my-action-icon{color:#ef5a43;background:#ffe8e2}.account-route-page .my-action-icon .ui-icon{width:20px;height:20px}.account-route-page .my-action-tile b,.account-route-page .my-action-tile small{display:block;min-width:0;overflow-wrap:anywhere}.account-route-page .my-action-tile b{font-size:12px}.account-route-page .my-action-tile small{margin-top:4px;color:#8493a3;font-size:10px;line-height:1.35}.account-route-page .my-action-tile>.ui-icon{width:15px;height:15px;color:#a1afbc}
.account-route-page .my-coupon-panel{padding:15px 18px;border-color:#f2d1b1;background:#fff9f1}.account-route-page .my-coupon-panel .coupon-claim-icon{color:#fff;background:#f19945}.account-route-page .my-coupon-panel>button{background:#ef7c32}.account-route-page .my-coupon-panel>button:hover{background:#d96721}.account-route-page .my-service-panel>header{border-bottom:1px solid #edf1f5}.account-route-page .my-service-count{padding:4px 8px;border:1px solid #dbe4ec;border-radius:4px;color:#8291a0;background:#f8fafc;font-size:10px}.account-route-page .my-service-panel>button{min-height:56px;padding-left:20px}.account-route-page .my-service-panel>button>span .ui-icon{color:#286fe8}.account-route-page .my-service-panel>button.member-logout-button{color:#bc5a46;background:#fffaf8}.account-route-page .my-service-panel>button.member-logout-button>span .ui-icon{color:#d66a53}
@media (max-width:760px){.account-route-page .my-home-dashboard{gap:11px;padding:0}.account-route-page .my-profile-hero{min-height:0;padding:17px 15px;grid-template-columns:54px minmax(0,1fr);gap:11px;border-radius:8px}.account-route-page .my-profile-avatar{width:54px;height:54px}.account-route-page .my-profile-identity h2{margin-top:5px;font-size:18px}.account-route-page .my-section-eyebrow{font-size:9px}.account-route-page .my-profile-meta{gap:7px;font-size:10px}.account-route-page .my-profile-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;margin-top:2px}.account-route-page .my-profile-actions button{justify-content:center;min-height:34px}.account-route-page .my-wallet-overview{grid-template-columns:repeat(2,minmax(0,1fr));border-radius:8px}.account-route-page .my-wallet-primary{grid-column:1/-1;padding:17px 15px}.account-route-page .my-wallet-primary strong{font-size:26px}.account-route-page .my-wallet-stat{min-height:82px;padding:14px 13px}.account-route-page .my-wallet-stat:nth-child(odd){border-left:0}.account-route-page .my-wallet-stat:nth-child(n+3){border-top:1px solid #e8eef4}.account-route-page .my-order-panel>header,.account-route-page .my-service-panel>header{min-height:54px;padding:0 14px}.account-route-page .my-order-panel>div>button{min-height:80px;padding:10px 3px;gap:7px}.account-route-page .my-order-panel>div>button>span{width:30px;height:30px}.account-route-page .my-order-panel>div>button .ui-icon{width:22px;height:22px}.account-route-page .my-order-panel>div>button b{font-size:10px}.account-route-page .my-action-rail{grid-template-columns:1fr;gap:8px}.account-route-page .my-action-tile{min-height:64px;padding:11px 12px;grid-template-columns:34px minmax(0,1fr) 16px}.account-route-page .my-action-icon{width:34px;height:34px}.account-route-page .my-coupon-panel{grid-template-columns:38px minmax(0,1fr);gap:10px;padding:12px}.account-route-page .my-coupon-panel>button{grid-column:2;justify-self:start;min-height:32px}.account-route-page .my-service-panel>button{min-height:52px;padding-left:14px}}
@media (max-width:390px){.account-route-page .my-order-panel>div>button b{font-size:9px}.account-route-page .my-wallet-primary strong{font-size:24px}}

/* Black-gold account dashboard */
html[data-site-theme="black-gold"] .account-route-page{
  color:#171717;
  background:#f4f4f1;
}
html[data-site-theme="black-gold"] .account-route-header{
  border-color:#302e29;
  background:#101112;
}
html[data-site-theme="black-gold"] .account-route-title small,
html[data-site-theme="black-gold"] .account-route-session>span{color:#aaa397}
html[data-site-theme="black-gold"] .account-route-title h1,
html[data-site-theme="black-gold"] .account-route-session b{color:#f3efe5}
html[data-site-theme="black-gold"] .account-route-mark{color:#17130b;background:#d1a741}
html[data-site-theme="black-gold"] .account-route-session small{color:#d7b666}
html[data-site-theme="black-gold"] .account-route-context{border-color:#ded8ca;background:#f7f1e3}
html[data-site-theme="black-gold"] .account-route-context b{color:#4d4638}
html[data-site-theme="black-gold"] .account-route-context button{color:#815d18}
html[data-site-theme="black-gold"] .account-route-page .member-core-center,
html[data-site-theme="black-gold"] .account-route-page .member-center{border-color:#ded8ca;background:#fffdf8;box-shadow:0 10px 28px rgb(53 45 28 / 9%)}
html[data-site-theme="black-gold"] .account-route-page .member-main{background:#fffdf8}
html[data-site-theme="black-gold"] .account-route-page .my-home-dashboard{background:#f4f4f1}
html[data-site-theme="black-gold"] .account-route-page .my-profile-hero{
  border-color:#302e29;
  color:#f3efe5;
  background:linear-gradient(120deg,#101112 0%,#18191b 72%,#29251d 100%);
  box-shadow:0 12px 26px rgb(23 19 11 / 18%);
}
html[data-site-theme="black-gold"] .account-route-page .my-profile-avatar{
  border-color:#f7f1e3;
  background-color:#d1a741;
  box-shadow:0 0 0 1px #8b6b27,0 8px 18px rgb(23 19 11 / 28%);
}
html[data-site-theme="black-gold"] .account-route-page .my-profile-avatar:hover{box-shadow:0 0 0 4px rgb(215 182 102 / 24%),0 8px 18px rgb(23 19 11 / 28%)}
html[data-site-theme="black-gold"] .account-route-page .my-profile-identity h2{color:#f3efe5}
html[data-site-theme="black-gold"] .account-route-page .my-profile-meta{color:#aaa397}
html[data-site-theme="black-gold"] .account-route-page .my-profile-meta .buyer-level b{color:#d7b666}
html[data-site-theme="black-gold"] .account-route-page .my-profile-actions button{border-color:#504a3e;color:#e7dfcf;background:#18191b}
html[data-site-theme="black-gold"] .account-route-page .my-profile-actions button:hover{border-color:#d1a741;color:#17130b;background:#d1a741}
html[data-site-theme="black-gold"] .account-route-page .my-wallet-overview{border-color:#ded8ca;background:#fffdf8;box-shadow:0 7px 18px rgb(53 45 28 / 6%)}
html[data-site-theme="black-gold"] .account-route-page .my-wallet-primary{color:#f3efe5;background:#18191b}
html[data-site-theme="black-gold"] .account-route-page .my-wallet-primary span{color:#d7b666}
html[data-site-theme="black-gold"] .account-route-page .my-wallet-primary small{color:#aaa397}
html[data-site-theme="black-gold"] .account-route-page .my-wallet-stat{border-color:#e7e0d2}
html[data-site-theme="black-gold"] .account-route-page .my-wallet-stat>span:first-child{color:#777064}
html[data-site-theme="black-gold"] .account-route-page .my-wallet-stat b{color:#171717}
html[data-site-theme="black-gold"] .account-route-page .my-wallet-stat button{color:#958b78}
html[data-site-theme="black-gold"] .account-route-page .my-wallet-stat button:hover{color:#a77c1c}
html[data-site-theme="black-gold"] .account-route-page .my-wallet-level{color:#a77c1c!important}
html[data-site-theme="black-gold"] .account-route-page .my-order-panel,
html[data-site-theme="black-gold"] .account-route-page .my-service-panel,
html[data-site-theme="black-gold"] .account-route-page .my-coupon-panel{border-color:#ded8ca;box-shadow:0 7px 18px rgb(53 45 28 / 6%)}
html[data-site-theme="black-gold"] .account-route-page .my-order-panel>header h3,
html[data-site-theme="black-gold"] .account-route-page .my-service-panel>header h3{color:#171717}
html[data-site-theme="black-gold"] .account-route-page .my-order-panel>header button{color:#777064}
html[data-site-theme="black-gold"] .account-route-page .my-order-panel>div>button{color:#5e574b}
html[data-site-theme="black-gold"] .account-route-page .my-order-panel>div>button:hover{color:#815d18;background:#fbf6e9}
html[data-site-theme="black-gold"] .account-route-page .my-order-panel>div>button>span{color:#a77c1c}
html[data-site-theme="black-gold"] .account-route-page .my-order-panel>div>button em{border-color:#fffdf8;background:#b88a32}
html[data-site-theme="black-gold"] .account-route-page .my-action-tile{border-color:#ded8ca;color:#292721;background:#fffdf8;box-shadow:0 7px 18px rgb(53 45 28 / 6%)}
html[data-site-theme="black-gold"] .account-route-page .my-action-tile:hover{border-color:#c4a34f;background:#fbf6e9}
html[data-site-theme="black-gold"] .account-route-page .my-action-seller{border-color:#a88a3d;background:#f8f1df}
html[data-site-theme="black-gold"] .account-route-page .my-action-seller:hover{border-color:#d1a741;background:#f5e8c5}
html[data-site-theme="black-gold"] .account-route-page .my-action-icon{color:#8b671b;background:#f7f1e3}
html[data-site-theme="black-gold"] .account-route-page .my-action-seller .my-action-icon{color:#17130b;background:#d1a741}
html[data-site-theme="black-gold"] .account-route-page .my-action-tile small{color:#827968}
html[data-site-theme="black-gold"] .account-route-page .my-action-tile>.ui-icon{color:#9c907b}
html[data-site-theme="black-gold"] .account-route-page .my-coupon-panel{border-color:#b99b53;background:#fbf6e9}
html[data-site-theme="black-gold"] .account-route-page .my-coupon-panel .coupon-claim-icon{color:#17130b;background:#d1a741}
html[data-site-theme="black-gold"] .account-route-page .my-coupon-panel>button{color:#17130b;background:#b88a32}
html[data-site-theme="black-gold"] .account-route-page .my-coupon-panel>button:hover{background:#815d18}
html[data-site-theme="black-gold"] .account-route-page .my-service-panel>header{border-color:#e7e0d2}
html[data-site-theme="black-gold"] .account-route-page .my-service-count{border-color:#ded8ca;color:#827968;background:#f7f1e3}
html[data-site-theme="black-gold"] .account-route-page .my-service-panel>button>span .ui-icon{color:#a77c1c}
html[data-site-theme="black-gold"] .account-route-page .my-service-panel>button.member-logout-button{color:#766044;background:#fbf6e9}
html[data-site-theme="black-gold"] .account-route-page .my-service-panel>button.member-logout-button>span .ui-icon{color:#a77c1c}
@media (max-width:760px){
  html[data-site-theme="black-gold"] .account-route-page .my-profile-hero{background:linear-gradient(140deg,#101112,#1b1b1b 70%,#29251d)}
  html[data-site-theme="black-gold"] .account-route-page .my-wallet-stat:nth-child(n+3){border-top-color:#e7e0d2}
}
html[data-site-theme="black-gold"] .account-route-page .my-profile-hero{grid-template-columns:76px minmax(0,1fr)}
@media (max-width:760px){html[data-site-theme="black-gold"] .account-route-page .my-profile-hero{grid-template-columns:54px minmax(0,1fr)}}
/* Orders already have a dedicated dashboard panel above services. */
.account-route-page .member-core-actions > button[data-member-tab="orders"]{display:none!important}
.account-route-page .my-wallet-stat>span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-route-page .my-wallet-rank-value{display:block;width:max-content;min-width:24px;padding:0;border:0;color:inherit;background:transparent;font:inherit;font-weight:800;cursor:pointer;text-align:left}
.account-route-page .my-wallet-rank-value:hover{color:#a77c1c}
.account-route-page .my-wallet-level{display:inline-block!important;margin-right:6px;vertical-align:middle}
.account-route-page .my-wallet-stat>.game-rank-marks{display:inline-flex;vertical-align:middle;gap:2px;cursor:pointer}
.account-route-page .my-wallet-stat>.game-rank-marks .game-rank-icon{width:12px;height:12px}
@media (max-width:760px){
  .account-route-page .my-wallet-overview{grid-template-columns:repeat(3,minmax(0,1fr))}
  .account-route-page .my-wallet-stat{min-width:0;padding:12px 8px;border-left:1px solid #e7e0d2!important;border-top:0!important}
  .account-route-page .my-wallet-stat>span:first-child{font-size:9px;letter-spacing:-.01em}
  .account-route-page .my-wallet-stat>b{margin-top:7px;font-size:18px}
  .account-route-page .my-wallet-stat button{right:7px;bottom:8px}
  .account-route-page .my-wallet-level{margin-right:3px;font-size:9px!important}
  .account-route-page .my-wallet-stat>.game-rank-marks .game-rank-icon{width:10px;height:10px}
}
/* Keep the wallet summary as the first card on the Mine dashboard. */
.account-route-page .my-home-dashboard{display:flex;flex-direction:column}
.account-route-page .my-wallet-overview{order:-1}
.account-route-page .my-wallet-primary strong{font-size:23px}
@media (max-width:760px){.account-route-page .my-wallet-primary strong{font-size:20px}}
/* Combine identity and wallet into one continuous card. */
.account-route-page .my-profile-wallet-card{display:grid;min-width:0;overflow:hidden;border:1px solid #302e29;border-radius:10px;background:#fffdf8;box-shadow:0 12px 26px rgb(23 19 11 / 14%)}
.account-route-page .my-profile-wallet-card .my-profile-hero{min-width:0;margin:0;border:0;border-radius:0;box-shadow:none}
.account-route-page .my-profile-wallet-card .my-wallet-overview{order:initial;border:0;border-top:1px solid #ded8ca;border-radius:0;box-shadow:none}
@media (max-width:760px){.account-route-page .my-profile-wallet-card{border-radius:8px}.account-route-page .my-profile-wallet-card .my-wallet-overview{border-top-color:#ded8ca}}
/* Compact Mine dashboard: halve whitespace and reduce content scale. */
.account-route-page .account-route-content{padding-top:15px;padding-bottom:28px}
.account-route-page .member-main{padding:19px 21px 24px}
.account-route-page .my-home-dashboard{gap:8px;padding:0 1px 4px}
.account-route-page .my-profile-hero{min-height:96px;padding:12px 13px;gap:10px}
.account-route-page .my-profile-avatar{width:51px;height:51px;font-size:16px}
.account-route-page .my-profile-identity h2{margin:5px 0 4px;font-size:16px}
.account-route-page .my-section-eyebrow{font-size:8px}
.account-route-page .my-profile-meta{gap:6px;font-size:8px}
.account-route-page .my-wallet-primary{padding:10px 11px}
.account-route-page .my-wallet-primary span{font-size:8px}
.account-route-page .my-wallet-primary strong{margin:5px 0 4px;font-size:15px}
.account-route-page .my-wallet-primary small{font-size:8px;line-height:1.35}
.account-route-page .my-wallet-stat{padding:9px 9px}
.account-route-page .my-wallet-stat>span:first-child{font-size:8px}
.account-route-page .my-wallet-stat b{margin-top:6px;font-size:14px}
.account-route-page .my-wallet-level{margin-top:4px;font-size:8px!important}
.account-route-page .my-wallet-stat button{right:7px;bottom:7px;width:18px;height:18px}
.account-route-page .my-wallet-stat button .ui-icon{width:11px;height:11px}
.account-route-page .my-order-panel>header,.account-route-page .my-service-panel>header{min-height:41px;padding:0 13px}
.account-route-page .my-order-panel>header h3,.account-route-page .my-service-panel>header h3{margin-top:3px;font-size:11px}
.account-route-page .my-order-panel>header button{font-size:8px}
.account-route-page .my-order-panel>div>button{min-height:68px;padding:9px 5px;gap:7px}
.account-route-page .my-order-panel>div>button>span{width:25px;height:25px}
.account-route-page .my-order-panel>div>button .ui-icon{width:17px;height:17px}
.account-route-page .my-order-panel>div>button em{top:-3px;right:-6px;min-width:14px;height:14px;font-size:7px}
.account-route-page .my-order-panel>div>button b{font-size:8px}
.account-route-page .my-action-rail{gap:5px}
.account-route-page .my-action-tile{min-height:51px;padding:9px;grid-template-columns:25px minmax(0,1fr) 11px;gap:7px}
.account-route-page .my-action-icon{width:25px;height:25px;border-radius:5px}
.account-route-page .my-action-icon .ui-icon{width:14px;height:14px}
.account-route-page .my-action-tile b{font-size:8px}
.account-route-page .my-action-tile small{margin-top:3px;font-size:7px;line-height:1.25}
.account-route-page .my-action-tile>.ui-icon{width:11px;height:11px}
.account-route-page .my-coupon-panel{padding:8px 9px;grid-template-columns:28px minmax(0,1fr) auto;gap:7px}
.account-route-page .my-coupon-panel .coupon-claim-icon{width:28px;height:28px;font-size:12px}
.account-route-page .my-coupon-panel b{font-size:8px}
.account-route-page .my-coupon-panel p{margin:3px 0;font-size:7px}
.account-route-page .my-coupon-panel small{font-size:7px}
.account-route-page .my-coupon-panel>button{min-height:24px;padding:0 9px;font-size:8px}
.account-route-page .my-service-count{padding:3px 5px;font-size:7px}
.account-route-page .my-service-panel>button{min-height:37px;padding:6px 31px 6px 13px;gap:5px}
.account-route-page .my-service-panel>button>span .ui-icon{width:15px;height:15px}
@media (max-width:760px){
  .account-route-page .member-main{padding:10px 7px 16px}
  .account-route-page .account-route-content{padding-top:8px;padding-bottom:18px}
  .account-route-page .my-profile-hero{min-height:0;padding:9px 8px;grid-template-columns:36px minmax(0,1fr);gap:7px}
  .account-route-page .my-profile-avatar{width:36px;height:36px;font-size:12px}
  .account-route-page .my-profile-identity h2{margin-top:3px;font-size:12px}
  .account-route-page .my-profile-meta{gap:4px;font-size:7px}
  .account-route-page .my-wallet-primary{padding:10px 8px}
  .account-route-page .my-wallet-primary strong{font-size:13px}
  .account-route-page .my-wallet-stat{padding:8px 5px}
  .account-route-page .my-wallet-stat>span:first-child{font-size:7px}
  .account-route-page .my-wallet-stat>b{margin-top:5px;font-size:12px}
  .account-route-page .my-wallet-level{font-size:7px!important}
  .account-route-page .my-order-panel>header,.account-route-page .my-service-panel>header{min-height:36px;padding:0 8px}
  .account-route-page .my-order-panel>div>button{min-height:54px;padding:7px 2px;gap:5px}
  .account-route-page .my-order-panel>div>button>span{width:21px;height:21px}
  .account-route-page .my-order-panel>div>button .ui-icon{width:15px;height:15px}
  .account-route-page .my-order-panel>div>button b{font-size:7px}
  .account-route-page .my-action-tile{min-height:43px;padding:7px 8px;grid-template-columns:23px minmax(0,1fr) 10px;gap:6px}
  .account-route-page .my-action-icon{width:23px;height:23px}
  .account-route-page .my-action-tile b{font-size:8px}
  .account-route-page .my-action-tile small{font-size:6px}
  .account-route-page .my-coupon-panel{padding:7px 8px;grid-template-columns:25px minmax(0,1fr);gap:6px}
  .account-route-page .my-coupon-panel .coupon-claim-icon{width:25px;height:25px}
  .account-route-page .my-coupon-panel>button{grid-column:2;justify-self:start;min-height:22px}
  .account-route-page .my-service-panel>button{min-height:35px!important;padding:5px 28px 5px 8px!important}
}
.account-route-page .my-service-panel>button{min-height:37px!important;padding-top:6px!important;padding-bottom:6px!important}
@media (max-width:760px){.account-route-page .my-service-panel>button{min-height:35px!important;padding-top:5px!important;padding-bottom:5px!important}}

/* Keep the compact "My" service rows ahead of the global readability defaults. */
html[data-site-theme="black-gold"] body.account-route .account-route-page .my-service-panel > button {
  min-height: 37px !important;
  padding: 6px 28px 6px 8px !important;
}
@media (max-width:760px) {
  html[data-site-theme="black-gold"] body.account-route .account-route-page .my-service-panel > button {
    min-height: 35px !important;
    padding: 5px 24px 5px 7px !important;
  }
}

/* Tighten the three wallet summary metrics without changing their one-row layout. */
html[data-site-theme="black-gold"] body.account-route .account-route-page .my-wallet-stat {
  min-height: 0 !important;
  padding: 6px 7px !important;
}
html[data-site-theme="black-gold"] body.account-route .account-route-page .my-wallet-stat > b {
  margin-top: 3px !important;
}
html[data-site-theme="black-gold"] body.account-route .account-route-page .my-wallet-stat button {
  right: 4px;
  bottom: 4px;
}
@media (max-width:760px) {
  html[data-site-theme="black-gold"] body.account-route .account-route-page .my-wallet-stat {
    padding: 4px 4px !important;
  }
  html[data-site-theme="black-gold"] body.account-route .account-route-page .my-wallet-stat > b {
    margin-top: 2px !important;
  }
  html[data-site-theme="black-gold"] body.account-route .account-route-page .my-wallet-stat button {
    right: 2px;
    bottom: 2px;
  }
}

/* Restore comfortable reading and touch targets on the Mine dashboard. */
html[data-site-theme="black-gold"] body.account-route .account-route-page .my-profile-meta {
  gap: 8px;
  font-size: 12px !important;
  line-height: 1.4;
}
html[data-site-theme="black-gold"] body.account-route .account-route-page .my-wallet-primary span {
  font-size: 13px !important;
  line-height: 1.35;
}
html[data-site-theme="black-gold"] body.account-route .account-route-page .my-wallet-primary strong {
  margin: 6px 0 5px;
  font-size: 22px !important;
  line-height: 1.15;
}
html[data-site-theme="black-gold"] body.account-route .account-route-page .my-wallet-primary small {
  font-size: 10px !important;
}
html[data-site-theme="black-gold"] body.account-route .account-route-page .my-service-panel > header {
  display: flex;
  min-height: 52px;
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
html[data-site-theme="black-gold"] body.account-route .account-route-page .my-service-panel > header > div { min-width: 0; }
html[data-site-theme="black-gold"] body.account-route .account-route-page .my-service-panel > header h3 {
  margin-top: 4px;
  font-size: 15px;
}
html[data-site-theme="black-gold"] body.account-route .account-route-page .my-service-count {
  padding: 4px 8px;
  font-size: 10px;
}
html[data-site-theme="black-gold"] body.account-route .account-route-page .my-service-panel > button {
  min-height: 54px !important;
  padding: 11px 30px 11px 15px !important;
  gap: 10px;
  line-height: 1.4;
}
html[data-site-theme="black-gold"] body.account-route .account-route-page .my-service-panel > button > span {
  gap: 10px;
}
html[data-site-theme="black-gold"] body.account-route .account-route-page .my-service-panel > button > span .ui-icon {
  width: 19px;
  height: 19px;
}
html[data-site-theme="black-gold"] body.account-route .account-route-page .my-service-panel > button > span b {
  font-size: 14px;
}
@media (max-width:760px) {
  html[data-site-theme="black-gold"] body.account-route .account-route-page .my-profile-meta {
    gap: 6px;
    font-size: 11px !important;
  }
  html[data-site-theme="black-gold"] body.account-route .account-route-page .my-wallet-primary span {
    font-size: 12px !important;
  }
  html[data-site-theme="black-gold"] body.account-route .account-route-page .my-wallet-primary strong {
    font-size: 20px !important;
  }
  html[data-site-theme="black-gold"] body.account-route .account-route-page .my-wallet-primary small {
    font-size: 9px !important;
  }
  html[data-site-theme="black-gold"] body.account-route .account-route-page .my-service-panel > header {
    min-height: 48px;
    padding: 0 12px;
  }
  html[data-site-theme="black-gold"] body.account-route .account-route-page .my-service-panel > header h3 {
    font-size: 14px;
  }
  html[data-site-theme="black-gold"] body.account-route .account-route-page .my-service-count {
    padding: 3px 7px;
    font-size: 9px;
  }
  html[data-site-theme="black-gold"] body.account-route .account-route-page .my-service-panel > button {
    min-height: 51px !important;
    padding: 10px 25px 10px 12px !important;
    gap: 9px;
  }
  html[data-site-theme="black-gold"] body.account-route .account-route-page .my-service-panel > button > span {
    gap: 9px;
  }
  html[data-site-theme="black-gold"] body.account-route .account-route-page .my-service-panel > button > span .ui-icon {
    width: 18px;
    height: 18px;
  }
  html[data-site-theme="black-gold"] body.account-route .account-route-page .my-service-panel > button > span b {
    font-size: 13px;
  }
}

/* Make the wallet metrics easier to scan and show the next rank's icon count. */
html[data-site-theme="black-gold"] body.account-route .account-route-page .my-wallet-stat > span:first-child {
  font-size: 12px !important;
  line-height: 1.35;
}
html[data-site-theme="black-gold"] body.account-route .account-route-page .my-wallet-stat > b {
  margin-top: 5px !important;
  font-size: 18px !important;
  line-height: 1.2;
}
html[data-site-theme="black-gold"] body.account-route .account-route-page .my-wallet-level {
  margin-top: 5px;
  font-size: 11px !important;
}
html[data-site-theme="black-gold"] body.account-route .account-route-page .my-wallet-next-rank-marks {
  display: inline-flex;
  margin-left: 4px;
  vertical-align: middle;
  gap: 2px;
}
html[data-site-theme="black-gold"] body.account-route .account-route-page .my-wallet-next-rank-marks .game-rank-icon {
  width: 14px;
  height: 14px;
}
@media (max-width:760px) {
  html[data-site-theme="black-gold"] body.account-route .account-route-page .my-wallet-stat > span:first-child {
    font-size: 11px !important;
  }
  html[data-site-theme="black-gold"] body.account-route .account-route-page .my-wallet-stat > b {
    font-size: 16px !important;
  }
  html[data-site-theme="black-gold"] body.account-route .account-route-page .my-wallet-level {
    font-size: 10px !important;
  }
  html[data-site-theme="black-gold"] body.account-route .account-route-page .my-wallet-next-rank-marks .game-rank-icon {
    width: 12px;
    height: 12px;
  }
}
