/* R12 profile layout. Every rule is confined to this Vue profile scope. */
#app .container.safari_only.mall-page[data-v-c1207243] {
  scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  background: #f7f8f5 !important;
}

@media (max-width: 480px) {
  #app .container.safari_only.mall-page[data-v-c1207243] {
    min-height: 0 !important;
    height: calc(100dvh - 56px) !important;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
}

  .mall-page[data-v-c1207243] .mall-nav {
    background: #fff;
    border-bottom-color: #edf0e9;
  }

  .mall-page[data-v-c1207243] .mall-main {
    width: calc(100% - 24px);
    min-width: 0;
    margin: 12px auto 0;
  padding: 14px 16px calc(28px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border: 1px solid #eef0eb;
    border-bottom: 0;
    border-radius: 15px 15px 0 0;
  }

  .mall-page[data-v-c1207243] .mall-account,
  .mall-page[data-v-c1207243] .mall-orders {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
  }

  .mall-page[data-v-c1207243] .mall-brand {
    justify-content: center;
    min-height: 42px;
    padding: 0 0 7px;
  }

  #app .mall-page[data-v-c1207243] .mall-brand img {
    width: 114px;
    height: auto;
    max-height: 46px;
    aspect-ratio: 5 / 2;
    object-fit: contain;
    object-position: center;
  }

  .mall-page[data-v-c1207243] .mall-account-columns {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .mall-page[data-v-c1207243] .mall-identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 0;
    text-align: center;
  }

  .mall-page[data-v-c1207243] .mall-avatar-button {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    border: 0;
    background: #eef4ee;
    box-shadow: 0 0 0 2px #e7eee8, 0 2px 8px #38564d1a;
  }

  /* Vant's 2.75rem inline image size must follow the new avatar button. */
  .mall-page[data-v-c1207243] .mall-avatar-button .van-image,
  .mall-page[data-v-c1207243] .mall-avatar-button .van-image__img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }

  .mall-page[data-v-c1207243] .mall-identity-text {
    flex: 0 1 auto;
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .mall-page[data-v-c1207243] .mall-identity-text strong {
    color: #263b32;
    font-size: 15px;
    line-height: 1.35;
  }

  .mall-page[data-v-c1207243] .mall-identity-text span {
    margin-top: 3px;
    color: #77857b;
    font-size: 12px;
    line-height: 1.4;
  }

  .mall-page[data-v-c1207243] .mall-balance {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 76px;
    padding: 10px 14px 12px;
    color: #fff;
    text-align: center;
    background: linear-gradient(105deg, #33845f 0%, #167a60 100%);
    border-radius: 9px;
  }

  .mall-page[data-v-c1207243] .mall-balance-toggle {
    justify-content: center;
    min-height: 44px;
    color: #effaf2;
  }

  .mall-page[data-v-c1207243] .mall-balance-toggle span {
    font-size: 12px;
  }

  .mall-page[data-v-c1207243] .mall-balance-value {
    margin-top: 0;
    color: #fff;
    font-size: clamp(21px, 6vw, 25px);
    line-height: 1.25;
  }

  .mall-page[data-v-c1207243] .mall-money-actions {
    gap: 8px;
    margin-top: 10px;
    padding-top: 0;
    border-top: 0;
  }

  .mall-page[data-v-c1207243] .mall-money-actions button {
    min-height: 48px;
    padding: 7px 8px;
    color: #2b604d;
    background: #eaf3f8;
    border: 0;
    border-radius: 8px;
    font-size: 13px;
  }

  .mall-page[data-v-c1207243] .mall-money-actions button:first-child {
    color: #315f7a;
    background: #ebf3f9;
  }

  .mall-page[data-v-c1207243] .mall-money-actions button:last-child {
    color: #2f6d52;
    background: #eaf6ee;
  }

  .mall-page[data-v-c1207243] .mall-orders {
    margin-top: 15px;
    padding-top: 9px;
    border-top: 1px solid #edf0e9;
  }

  .mall-page[data-v-c1207243] .mall-section-heading {
    padding: 0;
  }

  .mall-page[data-v-c1207243] .mall-section-heading h2,
  .mall-page[data-v-c1207243] .mall-services h2,
  .mall-page[data-v-c1207243] .mall-tools h2 {
    color: #38564d;
    font-size: 14px;
    font-weight: 750;
  }

  .mall-page[data-v-c1207243] .mall-all-orders {
    min-height: 44px;
    color: #567866;
    font-size: 12px;
  }

  .mall-page[data-v-c1207243] .mall-order-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    margin-top: 0;
  }

  .mall-page[data-v-c1207243] .mall-order-shortcut {
    gap: 4px;
    min-height: 72px;
    padding: 7px 2px;
  }

  .mall-page[data-v-c1207243] .mall-order-icon {
    width: 30px;
    height: 30px;
    color: #3f7057;
    background: #eff5ec;
  }

  .mall-page[data-v-c1207243] .mall-order-label {
    font-size: 11px;
  }

  .mall-page[data-v-c1207243] .mall-services,
  .mall-page[data-v-c1207243] .mall-tools {
    margin-top: 12px;
  }

  .mall-page[data-v-c1207243] .mall-services h2,
  .mall-page[data-v-c1207243] .mall-tools h2 {
    margin-bottom: 5px;
  }

  .mall-page[data-v-c1207243] .mall-service-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .mall-page[data-v-c1207243] .mall-service {
    width: 100%;
    min-height: 49px;
    padding: 7px 5px;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #f0f2ed;
    border-radius: 0;
    font-size: 13px;
    font-weight: 600;
  }

  .mall-page[data-v-c1207243] .mall-service-icon,
  .mall-page[data-v-c1207243] .mall-tool-icon {
    width: 29px;
    height: 29px;
    color: #5b8069;
    background: #f2f6ef;
    border-radius: 8px;
  }

  .mall-page[data-v-c1207243] .mall-tool-list {
    background: #fff;
    border: 0;
    border-radius: 0;
  }

  .mall-page[data-v-c1207243] .mall-tool-row {
    min-height: 49px;
    padding: 7px 5px;
  }

  .mall-page[data-v-c1207243] .mall-tool-row + .mall-tool-row {
    border-top: 1px solid #f0f2ed;
  }

  .mall-page[data-v-c1207243] .mall-tool-label {
    font-size: 13px;
  }

  .mall-page[data-v-c1207243] .mall-logout,
  .mall-page[data-v-c1207243] .mall-logout .mall-tool-icon {
    color: #b56c61;
  }

  .mall-page[data-v-c1207243] button:focus-visible {
    outline-color: #38564d;
  }

@media (max-width: 350px) {
  .mall-page[data-v-c1207243] .mall-main {
    width: calc(100% - 16px);
    padding-right: 12px;
    padding-left: 12px;
  }

  .mall-page[data-v-c1207243] .mall-identity-text strong {
    font-size: 14px;
  }
}
