:root {
  --shell-max: 430px;
  --fixed-top-z: 60;
  --blue: #0f6bff;
  --deep: #172033;
  --muted: #7a8499;
  --bg: #eef3f8;
  --card: #ffffff;
  --line: #e7edf5;
  --red: #f04438;
  --green: #12b76a;
}

* {
  box-sizing: border-box;
}

.hidden {
  display: none !important;
}

html {
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background: #dce7f3;
  color: var(--deep);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-x: none;
}

button,
input,
select,
textarea {
  font: inherit;
  max-width: 100%;
  min-width: 0;
}

button {
  border: 0;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.phone-shell {
  width: 100%;
  max-width: var(--shell-max);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
  overflow-x: hidden;
  background: var(--bg);
}

.phone-shell.no-tabbar {
  padding-bottom: env(safe-area-inset-bottom);
}

.pull-refresh {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 430px;
  height: 46px;
  color: #5c6b80;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(23, 32, 51, 0.08);
  font-size: 13px;
  font-weight: 800;
  pointer-events: none;
  transform: translate(-50%, -46px);
  transition: transform 0.18s ease, color 0.18s ease;
}

.pull-refresh.ready,
.pull-refresh.refreshing {
  color: var(--blue);
}

.home-search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  width: 100%;
}

.brand-logo {
  flex: 0 0 auto;
  min-width: 0;
  color: #0b4fb8;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
}

.eyebrow,
h1,
h2,
p {
  margin: 0;
}

.eyebrow {
  color: var(--muted);
  font-size: 12px;
}

h1 {
  margin-top: 3px;
  font-size: 26px;
}

.header-search-btn {
  flex: 0 0 auto;
  width: 56px;
  min-height: 40px;
  border-radius: 10px;
  color: #fff;
  background: var(--blue);
  font-size: 14px;
  font-weight: 700;
  box-shadow: none;
}

h2 {
  font-size: 21px;
}

.icon-btn,
.ghost-btn,
.primary-btn {
  border-radius: 999px;
  padding: 10px 14px;
}

.member-profile img {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.icon-btn,
.ghost-btn {
  color: var(--blue);
  background: #eaf2ff;
}

.primary-btn {
  width: 100%;
  color: #fff;
  background: var(--blue);
  font-weight: 700;
}

main {
  padding: 0 max(14px, env(safe-area-inset-right)) 18px max(14px, env(safe-area-inset-left));
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.back-page {
  position: relative;
  padding-top: calc(68px + env(safe-area-inset-top));
}

.back-page.active::before {
  content: "";
  position: fixed;
  top: 0;
  left: 50%;
  z-index: calc(var(--fixed-top-z) - 2);
  width: 100%;
  max-width: var(--shell-max);
  height: calc(62px + env(safe-area-inset-top));
  background: #fff;
  box-shadow: 0 10px 22px rgba(23, 32, 51, 0.06);
  transform: translateX(-50%);
}

.back-btn {
  position: fixed;
  top: calc(8px + env(safe-area-inset-top));
  left: max(10px, env(safe-area-inset-left), calc((100vw - var(--shell-max)) / 2 + 10px));
  z-index: calc(var(--fixed-top-z) + 2);
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 42px;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--blue);
  background: transparent;
  box-shadow: none;
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}

#detailView.back-page {
  padding-top: calc(8px + env(safe-area-inset-top));
}

#detailView.back-page.active::before {
  display: none;
}

#detailView > .back-btn {
  display: none;
}

.search-card,
.card,
.profile-form,
.order-panel {
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 12px 26px rgba(23, 32, 51, 0.07);
}

.home-search-dock {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: var(--fixed-top-z);
  width: 100%;
  max-width: var(--shell-max);
  margin: 0;
  padding: calc(10px + env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) 0 max(14px, env(safe-area-inset-left));
  background: #fff;
  box-shadow: 0 10px 22px rgba(23, 32, 51, 0.06);
  transform: translateX(-50%);
}

#homeView,
#myLeadsView {
  padding-top: calc(122px + env(safe-area-inset-top));
}

#guideView {
  padding-top: calc(146px + env(safe-area-inset-top));
}

.search-card {
  display: flex;
  gap: 8px;
  align-items: center;
  flex: 1 1 auto;
  max-width: 286px;
  padding: 6px;
  border-radius: 12px;
}

.search-card input,
.profile-form input,
.profile-form select,
.profile-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 9px;
  outline: none;
  background: #f8fafc;
  font-size: 16px;
}

.search-card input {
  min-width: 0;
  flex: 1 1 auto;
}

.filter-bar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 10px -14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.lead-refresh-info {
  position: fixed;
  top: calc(124px + env(safe-area-inset-top));
  left: 50%;
  z-index: 8;
  width: max-content;
  max-width: min(calc(100vw - 28px), 402px);
  padding: 8px 14px;
  overflow: hidden;
  border: 1px solid #d9e7f8;
  border-radius: 999px;
  color: #3f628c;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(23, 53, 91, 0.14);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.lead-refresh-info.visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.filter-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 48px;
  color: #27364a;
  background: #fff;
  font-size: 16px;
}

.filter-tab i {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #c8d0dc;
}

.filter-tab.active {
  color: var(--blue);
}

.filter-tab.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 56px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
  transform: translateX(-50%);
}

.filter-tab.active i {
  border-top: 0;
  border-bottom: 6px solid #69a3ff;
}

.filter-shade {
  position: fixed;
  inset: 0;
  z-index: 9;
  display: none;
  background: transparent;
}

.filter-shade.active {
  display: block;
}

.filter-panel {
  position: fixed;
  left: var(--filter-panel-left, 0);
  top: calc(var(--filter-panel-top, 0) + 6px);
  z-index: 19;
  display: none;
  width: var(--filter-panel-width, 144px);
  max-height: calc(100vh - var(--filter-panel-top, 0px) - 88px);
  max-height: calc(100dvh - var(--filter-panel-top, 0px) - 88px);
  padding: 6px 0 10px;
  overflow-y: auto;
  border: 1px solid #e3eaf3;
  border-radius: 0 0 8px 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(23, 32, 51, 0.14);
}

.filter-panel.active {
  display: block;
}

.filter-panel.region-mode {
  padding: 0 0 12px;
}

.filter-options {
  display: grid;
}

.filter-option {
  min-height: 48px;
  border-bottom: 1px solid #edf1f6;
  color: #172033;
  background: transparent;
  text-align: center;
  font-size: 15px;
}

.filter-option.active {
  color: var(--blue);
  font-weight: 700;
}

.filter-confirm {
  display: block;
  width: calc(100% - 18px);
  min-height: 42px;
  margin: 10px auto 0;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 15px;
  font-weight: 700;
}

.region-picker {
  display: grid;
  grid-template-columns: 126px 1fr;
  min-height: 274px;
  max-height: calc(100vh - var(--filter-panel-top, 0px) - 150px);
  max-height: calc(100dvh - var(--filter-panel-top, 0px) - 150px);
  overflow: hidden;
}

.region-groups,
.region-cities {
  overflow-y: auto;
}

.region-groups {
  background: #f4f6f9;
}

.region-cities {
  display: grid;
  align-content: start;
  background: #fff;
}

.region-group,
.region-city {
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
  color: #172033;
  background: transparent;
  text-align: left;
  font-size: 15px;
}

.region-group.active {
  color: var(--blue);
  background: #fff;
  font-weight: 700;
}

.region-city {
  border-bottom: 1px solid #edf1f6;
}

.region-city.active {
  color: var(--blue);
  font-weight: 700;
}

.filter-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px 14px 0;
}

.filter-actions .filter-confirm {
  width: 100%;
  margin: 0;
}

.filter-reset {
  display: block;
  width: 100%;
  min-height: 42px;
  border-radius: 999px;
  color: #fff;
  background: #ff8b61;
  font-size: 15px;
  font-weight: 700;
}

.chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px 0;
}

.chip {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 8px 14px;
  color: #516070;
  background: #fff;
}

.chip.active {
  color: var(--blue);
  background: #eaf2ff;
}

.lead-list {
  display: grid;
  gap: 14px;
  margin-inline: -14px;
  padding-top: 2px;
}

.card {
  padding: 16px;
}

.lead-card {
  padding: 10px 14px;
  border: 1px solid #eef1f5;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(23, 32, 51, 0.05);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.lead-list .lead-card {
  border-radius: 0;
}

.lead-card:hover,
.lead-card:focus-visible {
  border-color: #bcd7ff;
  box-shadow: 0 16px 30px rgba(15, 107, 255, 0.13);
  outline: 0;
  transform: translateY(-1px);
}

.lead-card-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px 96px;
  gap: 0;
  align-items: stretch;
  margin-right: -14px;
}

.lead-card-main {
  min-width: 0;
  overflow: hidden;
  padding-right: 5px;
}

.lead-card-divider {
  width: 1px;
  min-height: 100%;
  background: #d8dce3;
}

.lead-card-side {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  align-content: stretch;
  justify-items: center;
  gap: 5px;
  min-width: 0;
  color: #151d2b;
}

.lead-card-time {
  justify-self: center;
  width: 84px;
  max-width: 100%;
  color: #8791a1;
  font-size: 10px;
  line-height: 1.3;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
}

.lead-title,
.detail-title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.24;
  white-space: normal;
  overflow-wrap: anywhere;
}

.lead-card .lead-title {
  display: -webkit-box;
  height: 37px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.lead-desc,
.muted {
  color: var(--muted);
}

.lead-desc {
  display: block;
  margin: 4px 0 0;
  height: 60px;
  overflow: hidden;
  color: #8f98a8;
  font-size: 13px;
  line-height: 20px;
}

.meta,
.row,
.card-footer,
.section-title,
.file-row,
.order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.meta {
  flex-wrap: wrap;
  justify-content: flex-start;
  color: var(--muted);
  font-size: 13px;
}

.lead-address {
  margin-top: 3px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.18;
  height: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow-wrap: anywhere;
}

.lead-quantity {
  color: var(--blue);
  font-weight: 700;
}

.slot-meter {
  margin-top: 12px;
}

.lead-card .slot-meter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.slot-meter-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #5a6575;
  font-size: 12px;
}

.slot-meter-top strong {
  color: var(--deep);
  font-size: 13px;
}

.lead-card .slot-meter-top {
  display: contents;
}

.lead-card .slot-meter-top span {
  display: none;
}

.lead-card .slot-meter-top strong {
  grid-column: 2;
  grid-row: 1;
  color: #7d8794;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.slot-meter.warning .slot-meter-top strong {
  color: var(--blue);
}

.slot-meter.critical .slot-meter-top strong {
  color: var(--blue);
}

.slot-meter.depleted .slot-meter-top strong {
  color: var(--blue);
}

.slot-track {
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: #e9eef5;
}

.lead-card .slot-track {
  grid-column: 1;
  grid-row: 1;
  height: 9px;
  margin-top: 0;
}

.slot-fill {
  display: block;
  min-width: 8px;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.slot-meter.warning .slot-fill {
  background: var(--blue);
}

.slot-meter.critical .slot-fill {
  background: var(--blue);
}

.slot-meter.depleted .slot-fill {
  min-width: 0;
  background: var(--blue);
}

.price {
  color: var(--red);
  font-weight: 800;
}

.lead-card .price {
  font-weight: 400;
}

.normal-price {
  color: #111827;
  font-weight: 400;
}

.member-price {
  color: var(--red);
  font-weight: 400;
}

.card-footer {
  margin-top: 14px;
  align-items: flex-end;
}

.price-stack {
  display: grid;
  justify-items: center;
  gap: 2px;
  margin-top: 0;
  color: #151d2b;
  font-size: 12px;
  line-height: 1.28;
  white-space: normal;
  justify-self: center;
  width: 88px;
  max-width: 100%;
}

.price-item {
  display: grid;
  grid-template-columns: 32px minmax(0, auto);
  align-items: baseline;
  justify-self: center;
  justify-content: start;
  column-gap: 3px;
  min-width: 0;
  width: max-content;
  white-space: nowrap;
}

.price-label {
  color: #151d2b;
  font-size: 10px;
  font-weight: 500;
  text-align: left;
}

.price-item .price {
  text-align: left;
}

.lead-card .price-stack .price {
  font-size: 14px;
  font-weight: 500;
}

.lead-card .price-stack .normal-price,
.lead-card .price-stack .member-price {
  letter-spacing: 0;
}

.lead-card .price-stack {
  justify-self: center;
  width: 88px;
  max-width: 100%;
  min-width: 0;
}

.lead-card .mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  align-self: center;
  width: 70px;
  height: 24px;
  min-width: 70px;
  max-width: 70px;
  padding: 0 8px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.member-price-inline {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.member-price-action-row {
  display: block;
  margin-top: 2px;
}

.join-member-pill {
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--blue);
  background: transparent;
  box-shadow: none;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.join-member-pill:active {
  transform: translateY(1px);
}

.detail-join-member {
  justify-self: start;
  margin-left: 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.2;
}

.detail-member-ad-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  margin: 12px 0;
  padding: 14px 14px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #1167e8 0%, #1f8cff 54%, #0f4ccf 100%);
  box-shadow: 0 12px 28px rgba(18, 105, 232, 0.24);
  text-align: left;
}

.detail-member-ad-card div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.detail-member-ad-card span,
.detail-member-ad-card small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
}

.detail-member-ad-card strong {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.25;
}

.detail-member-ad-card b {
  border-radius: 999px;
  padding: 7px 10px;
  color: #1255d8;
  background: #ffffff;
  font-size: 12px;
  white-space: nowrap;
}

.sold {
  border-radius: 8px;
  padding: 4px 8px;
  color: var(--red);
  background: #fff1f3;
  font-size: 12px;
}

.draft-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 4px 8px;
  color: #7a4a00;
  background: #fff4d7;
  font-size: 12px;
  font-weight: 800;
}

.draft-preview-note {
  justify-content: center;
  color: #7a4a00;
  background: #fff8e8;
  font-weight: 800;
}

.mini-btn {
  border-radius: 999px;
  min-width: 104px;
  padding: 8px 18px;
  color: #fff;
  background: var(--blue);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.mini-btn.is-available {
  color: #fff;
  background: var(--blue);
}

.mini-btn.is-draft {
  background: #f0b85e;
}

.mini-btn.is-sold {
  color: var(--blue);
  background: #eaf3ff;
  box-shadow: inset 0 0 0 1px #bfd8ff;
}

.detail-card,
.order-panel {
  padding: 18px;
}

.checkout-page {
  display: grid;
  gap: 16px;
  padding-bottom: 18px;
}

.checkout-card {
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.checkout-card h2 {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

.checkout-product {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 16px 0 14px;
  border-bottom: 1px solid var(--line);
}

.checkout-doc-icon {
  position: relative;
  width: 40px;
  height: 48px;
  border: 3px solid #767d86;
  border-radius: 4px;
  transform: rotate(-14deg);
}

.checkout-doc-icon::before,
.checkout-doc-icon::after,
.checkout-doc-icon span {
  position: absolute;
  left: 9px;
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: #767d86;
  content: "";
}

.checkout-doc-icon::before {
  top: 12px;
}

.checkout-doc-icon span {
  top: 22px;
}

.checkout-doc-icon::after {
  top: 32px;
  width: 12px;
}

.recharge-doc-icon {
  display: grid;
  place-items: center;
  border-color: #20c02f;
  color: #20a92b;
  background: #effff2;
  transform: none;
}

.recharge-doc-icon::before,
.recharge-doc-icon::after {
  display: none;
}

.recharge-doc-icon span {
  position: static;
  width: auto;
  height: auto;
  background: transparent;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  content: none;
}

.checkout-product-main {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.checkout-product-main strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
}

.checkout-product-main span,
.checkout-product em,
.checkout-summary-card span {
  color: #7a8499;
  font-style: normal;
}

.checkout-product-total {
  padding-top: 14px;
  text-align: right;
  font-size: 15px;
  font-weight: 800;
}

.checkout-line-card,
.checkout-summary-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.checkout-coupon-btn {
  max-width: 230px;
  border-radius: 4px;
  padding: 8px 10px;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
  white-space: normal;
}

.coupon-selector-mask {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(9, 18, 32, 0.36);
}

.coupon-selector {
  width: min(100%, 430px);
  max-height: 78vh;
  overflow-y: auto;
  border-radius: 16px 16px 0 0;
  padding: 16px;
  background: #f5f8fc;
}

.coupon-selector-head,
.coupon-select-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.coupon-selector-head {
  margin-bottom: 12px;
}

.coupon-selector-head strong {
  display: block;
  font-size: 18px;
}

.coupon-selector-head span,
.coupon-select-row span,
.coupon-select-row small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.coupon-selector-head button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e8eef8;
  font-size: 22px;
}

.coupon-selector-group {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.coupon-selector-group p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.coupon-select-row {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  text-align: left;
}

.coupon-select-row.active {
  border-color: var(--blue);
  background: #edf5ff;
}

.coupon-select-row.disabled {
  opacity: 0.58;
}

.coupon-select-row b {
  color: #ff5a33;
  white-space: nowrap;
}

.checkout-line-card input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0;
  text-align: right;
  outline: 0;
}

.checkout-summary-card {
  display: grid;
  gap: 16px;
}

.recharge-summary-card .gift-amount {
  color: #f0a412;
  font-weight: 800;
}

.recharge-summary-card .price {
  color: #1677ff;
  font-weight: 900;
}

.recharge-checkout-page {
  min-height: calc(100dvh - 104px);
  min-height: calc(100vh - 104px);
  margin: -8px -14px 0;
  padding: 14px 14px 22px;
  background:
    radial-gradient(circle at 86% 8%, rgba(47, 131, 255, 0.14), transparent 32%),
    linear-gradient(180deg, #edf6ff 0%, #f6fbff 44%, #eef3f8 100%);
}

.recharge-checkout-page .checkout-card {
  border: 1px solid #dbeafe;
  color: #172033;
  background: #fff;
  box-shadow: 0 10px 24px rgba(47, 123, 255, 0.08);
}

.recharge-checkout-page .checkout-card h2,
.recharge-checkout-page .checkout-product-main strong,
.recharge-checkout-page .checkout-summary-card strong,
.recharge-checkout-page .pay-method strong {
  color: #16243a;
}

.recharge-checkout-page .checkout-product {
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px 0 10px;
  border-bottom-color: #e8f0fb;
}

.recharge-checkout-page .checkout-product-main span,
.recharge-checkout-page .checkout-product em,
.recharge-checkout-page .checkout-summary-card span {
  color: #6b7890;
}

.recharge-checkout-page .checkout-product-main {
  gap: 7px;
}

.recharge-checkout-page .checkout-product-total {
  color: #1269e8;
}

.recharge-checkout-page .recharge-doc-icon {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  color: #1269e8;
  background: linear-gradient(145deg, #eaf4ff, #d8ebff);
  box-shadow: inset 0 0 0 1px #bfdbff;
}

.recharge-checkout-page .recharge-summary-card .gift-amount {
  color: #f59e0b;
}

.recharge-checkout-page .recharge-summary-card .price {
  color: #1269e8;
}

.recharge-checkout-page .checkout-pay-card {
  color: #172033;
  background: #fff;
}

.recharge-checkout-page .checkout-pay-card .pay-method {
  color: #172033;
}

.recharge-checkout-page .checkout-pay-card .pay-method strong {
  color: #172033;
}

.recharge-checkout-page .wechat-icon {
  background: linear-gradient(145deg, #20c02f, #11a721);
}

.recharge-checkout-page .pay-method i {
  border-color: #b8c2d0;
}

.recharge-checkout-page .pay-method.active i {
  border-color: #1269e8;
}

.recharge-checkout-page .checkout-submit {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #2f83ff, #1269e8);
  box-shadow: 0 12px 24px rgba(18, 105, 232, 0.22);
}

.recharge-hero-card {
  padding: 14px;
}

.recharge-order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e8f0fb;
}

.recharge-order-head span {
  color: #6b7890;
  font-size: 12px;
  font-weight: 800;
}

.recharge-order-head h2 {
  margin-top: 3px;
  padding: 0;
  border: 0;
  color: #16243a;
  font-size: 18px;
}

.recharge-order-head strong {
  flex: 0 0 auto;
  color: #1269e8;
  font-size: 22px;
  line-height: 1;
  white-space: nowrap;
}

.recharge-arrival-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  border-radius: 8px;
  padding: 10px 12px;
  background: #eef6ff;
}

.recharge-arrival-strip span {
  color: #51627a;
  font-size: 13px;
  font-weight: 800;
}

.recharge-arrival-strip b {
  color: #1269e8;
  font-size: 18px;
}

.checkout-pay-card {
  display: grid;
  gap: 0;
  padding-top: 18px;
  padding-bottom: 18px;
}

.pay-method {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  border-radius: 0;
  padding: 8px 0;
  color: var(--deep);
  background: transparent;
  text-align: left;
}

.pay-method + .pay-method {
  border-top: 1px solid var(--line);
}

.pay-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  color: #fff;
  font-weight: 800;
}

.balance-icon {
  background: #3b82f6;
}

.wechat-icon {
  background: #20c02f;
}

.pay-method i {
  width: 24px;
  height: 24px;
  border: 2px solid #a9b0ba;
  border-radius: 50%;
}

.pay-method.active i {
  border: 6px solid var(--blue);
}

.checkout-submit {
  width: 100%;
  border-radius: 8px;
  padding: 14px;
  color: #fff;
  background: var(--blue);
  font-size: 16px;
  font-weight: 800;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.detail-tags span {
  border-radius: 8px;
  padding: 6px 9px;
  color: var(--blue);
  background: #eaf2ff;
  font-size: 12px;
}

.block {
  margin-top: 18px;
}

.block strong {
  display: block;
  margin-bottom: 8px;
}

.info-grid {
  display: grid;
  gap: 10px;
}

.buy-bar {
  position: sticky;
  bottom: 84px;
  margin-top: 14px;
  padding: 14px;
}

.detail-page-card,
.detail-panel {
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(23, 32, 51, 0.06);
}

.detail-page-card {
  overflow: hidden;
}

.detail-hero {
  padding: 18px 16px 14px;
  border-bottom: 1px solid var(--line);
}

.detail-title-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
}

.detail-inline-back {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: -1px 0 0 -4px;
  border: 0;
  border-radius: 999px;
  color: var(--blue);
  background: #eef5ff;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.detail-inline-back:active {
  background: #dcecff;
}

.detail-hero h2 {
  color: #1b2638;
  font-size: 18px;
  line-height: 1.45;
}

.detail-hero p {
  margin-top: 10px;
  padding-left: 42px;
  color: #8a94a6;
  font-size: 13px;
}

.detail-section,
.detail-panel {
  padding: 16px;
}

.detail-section + .detail-section {
  border-top: 1px solid var(--line);
}

.detail-panel {
  margin-top: 12px;
}

.detail-section-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  color: #26384f;
  font-size: 16px;
}

.detail-section-title i {
  width: 4px;
  height: 18px;
  border-radius: 999px;
  background: var(--blue);
}

.detail-description {
  color: #526172;
  font-size: 15px;
  line-height: 1.75;
}

.legal-page-card {
  margin: 0 12px 18px;
  padding: 0;
  border: 1px solid #e4ebf5;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.legal-page-intro {
  display: grid;
  gap: 8px;
  padding: 18px 16px 16px;
  background: linear-gradient(180deg, #f6fbff 0%, #ffffff 100%);
}

.legal-page-intro strong {
  color: #172033;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
}

.legal-page-intro span {
  color: #8a94a6;
  font-size: 12px;
}

.legal-page-intro p {
  margin: 0;
  color: #526172;
  font-size: 14px;
  line-height: 1.7;
}

.legal-section-list {
  display: grid;
}

.legal-section {
  padding: 16px;
  border-top: 1px solid #edf1f6;
}

.legal-section h3 {
  margin: 0 0 10px;
  color: #26384f;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
}

.legal-section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: #526172;
  font-size: 14px;
  line-height: 1.7;
}

.legal-section li::marker {
  color: var(--blue);
}

.detail-info-list {
  display: grid;
  gap: 10px;
}

.detail-info-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  color: #5b6676;
  font-size: 14px;
}

.detail-info-row strong {
  min-width: 0;
  color: #253246;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.detail-info-row > span:first-child {
  color: #7b8797;
}

.detail-hint {
  color: var(--blue);
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}

.detail-slot-row {
  grid-template-columns: 82px minmax(120px, 1fr) auto;
}

.detail-slot-inline .slot-meter {
  margin: 0;
}

.detail-slot-inline .slot-meter-top {
  display: none;
}

.detail-file-list {
  display: grid;
  gap: 8px;
}

.detail-file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background: #f8fbff;
}

.file-copy {
  min-width: 0;
}

.file-name {
  display: block;
  color: #253246;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-preview {
  margin-top: 6px;
  color: #607083;
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.file-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.file-action,
.detail-lock {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 13px;
  text-decoration: none;
}

.file-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 30px;
  border: 1px solid #bfd8ff;
  border-radius: 999px;
  padding: 5px 10px;
  background: #fff;
  font-weight: 800;
  line-height: 1;
}

.file-download {
  color: #fff;
  border-color: #2f7bff;
  background: #2f7bff;
}

.detail-lock {
  color: #8a94a6;
}

.detail-empty-row {
  padding: 14px 0;
  color: #8a94a6;
  font-size: 13px;
  text-align: center;
}

.record-table {
  overflow: hidden;
  border: 1px solid #edf1f6;
  border-radius: 8px;
}

.record-head,
.record-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr 74px;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  font-size: 13px;
}

.record-head {
  color: #7b8797;
  background: #f6f9fd;
  font-weight: 700;
}

.record-row {
  border-top: 1px solid #edf1f6;
  color: #36465c;
}

.recommend-list {
  display: grid;
  gap: 10px;
}

.recommend-lead-list .lead-card {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.recommend-lead-list .lead-card:hover,
.recommend-lead-list .lead-card:focus-visible {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.recommend-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background: #fbfdff;
  cursor: pointer;
}

.recommend-card strong {
  display: block;
  color: #26384f;
  font-size: 14px;
  line-height: 1.45;
}

.recommend-card p {
  margin-top: 6px;
  color: #8a94a6;
  font-size: 12px;
}

.recommend-card > span {
  color: var(--red);
  font-weight: 800;
}

.detail-buy-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 16px 16px;
  padding: 12px;
  border: 1px solid rgba(231, 237, 245, 0.9);
  border-radius: 8px;
  background: #fff9f4;
}

.buyout-btn {
  width: 100%;
  border: 1px solid #ff8b61;
  border-radius: 999px;
  color: #f05d2f;
  background: #fff5ef;
  font-weight: 700;
}

.section-title {
  margin: 6px 0 14px;
}

#memberView {
  padding-top: calc(58px + env(safe-area-inset-top));
}

#myLeadsView > .section-title,
#memberView > .section-title,
#guideView > .section-title,
.back-page > .section-title {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: calc(var(--fixed-top-z) + 1);
  width: 100%;
  max-width: var(--shell-max);
  min-height: calc(58px + env(safe-area-inset-top));
  margin: 0;
  padding: calc(15px + env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) 5px max(14px, env(safe-area-inset-left));
  background: #fff;
  box-shadow: 0 10px 22px rgba(23, 32, 51, 0.06);
  transform: translateX(-50%);
}

.back-page > .section-title {
  justify-content: center;
  padding-right: max(64px, env(safe-area-inset-right));
  padding-left: max(64px, env(safe-area-inset-left));
}

#myLeadsView > .section-title h2,
#memberView > .section-title h2,
#guideView > .section-title h2,
.back-page > .section-title h2,
.brand-logo {
  color: #0b4fb8;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.25;
}

#memberView > .section-title .ghost-btn {
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
}

.order-filter-bar {
  position: sticky;
  top: 58px;
  z-index: 29;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 -14px 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.my-leads-search-dock .order-filter-bar {
  position: relative;
  top: auto;
  z-index: 1;
  margin: 10px -14px 0;
}

.order-filter-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 46px;
  color: #172033;
  background: #fff;
  font-size: 16px;
}

.order-filter-tab i {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #c8d0dc;
}

.order-filter-tab.active {
  color: var(--blue);
}

.order-filter-tab.active i {
  border-top: 0;
  border-bottom: 6px solid #69a3ff;
}

.order-filter-shade {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: none;
  background: transparent;
}

.order-filter-shade.active {
  display: block;
}

.order-filter-panel {
  position: fixed;
  left: var(--order-filter-left, 0);
  top: var(--order-filter-top, 0);
  z-index: 20;
  display: none;
  width: var(--order-filter-width, 430px);
  max-height: calc(100vh - var(--order-filter-top, 0px) - 74px);
  max-height: calc(100dvh - var(--order-filter-top, 0px) - 74px);
  overflow-y: auto;
  border-top: 1px solid #eef1f5;
  background: #fff;
  box-shadow: 0 18px 34px rgba(23, 32, 51, 0.12);
}

.order-filter-panel.active {
  display: block;
}

.order-filter-option {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border-bottom: 1px solid #eef1f5;
  color: #172033;
  background: #fff;
  text-align: left;
  font-size: 15px;
}

.order-filter-option.active {
  color: var(--blue);
  font-weight: 700;
}

.my-order-card {
  position: relative;
  margin-bottom: 12px;
  cursor: pointer;
}

#ordersBox {
  display: grid;
  gap: 8px;
}

#ordersBox .my-order-card {
  margin-bottom: 0;
  padding: 10px 12px;
  border-radius: 8px;
}

.my-order-card:hover,
.my-order-card:focus-visible {
  outline: 2px solid rgba(15, 107, 255, 0.16);
  outline-offset: 2px;
}

.my-order-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.my-order-card .my-order-head {
  align-items: center;
  gap: 8px;
}

.my-order-card .lead-title {
  display: -webkit-box;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.32;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.my-order-card > .muted {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.3;
}

.my-order-card .status-badge {
  min-width: 54px;
  min-height: 24px;
  border-color: #bfd8ff;
  border-radius: 6px;
  padding: 4px 7px;
  color: #0f6bff;
  background: #eaf3ff;
  font-size: 11px;
}

.my-order-card .block.info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 8px;
  margin-top: 8px;
  color: #435063;
  font-size: 12px;
  line-height: 1.35;
}

.my-order-card .block.info-grid div {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-order-card .block.info-grid div:nth-child(3) {
  grid-column: 1 / -1;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 30px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.status-uncontacted {
  color: #0f6bff;
  border-color: #bfd8ff;
  background: #eaf3ff;
}

.status-contacted {
  color: #0f6bff;
  border-color: #bfd8ff;
  background: #eaf3ff;
}

.status-following {
  color: #0f6bff;
  border-color: #bfd8ff;
  background: #eaf3ff;
}

.status-deal,
.status-won {
  color: #0f6bff;
  border-color: #bfd8ff;
  background: #eaf3ff;
}

.status-unreachable {
  color: #0f6bff;
  border-color: #bfd8ff;
  background: #eaf3ff;
}

.status-other {
  color: #0f6bff;
  border-color: #bfd8ff;
  background: #eaf3ff;
}

.appeal-result,
.appeal-inline {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  margin: 8px 0 0;
  border: 1px solid #c8dcff;
  border-radius: 8px;
  padding: 5px 10px;
  color: #0f4fb8;
  background: #eef6ff;
  font-size: 13px;
  font-weight: 800;
}

.appeal-result.approved,
.appeal-inline.approved {
  color: #0f7a44;
  border-color: #a8e4c3;
  background: #e9fbf1;
}

.appeal-result.rejected,
.appeal-inline.rejected {
  color: #b42318;
  border-color: #ffd0cb;
  background: #fff0ee;
}

.my-order-card .appeal-result {
  min-height: 22px;
  margin-top: 5px;
  border-color: #bfd8ff;
  border-radius: 6px;
  padding: 3px 7px;
  color: #0f6bff;
  background: #eaf3ff;
  font-size: 11px;
}

.order-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.order-lead-focus {
  display: grid;
  gap: 12px;
  margin: 14px 0;
  border: 1px solid #bfd8ff;
  border-radius: 12px;
  padding: 12px;
  background: linear-gradient(180deg, #f7fbff, #ffffff);
}

.order-lead-focus-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #e3efff;
  padding-bottom: 10px;
}

.order-lead-focus-title strong {
  color: #0f4fb8;
  font-size: 17px;
  font-weight: 900;
}

.order-lead-focus-title span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.order-lead-focus-grid {
  display: grid;
  gap: 12px;
}

.order-lead-focus .detail-section {
  margin: 0;
  border: 1px solid #edf3fb;
  border-radius: 10px;
  padding: 12px;
  background: #fff;
}

.lead-contact-list .detail-info-row {
  align-items: start;
}

.lead-contact-list .detail-info-row span:last-child {
  color: #101828;
  font-size: 15px;
  font-weight: 800;
  word-break: break-word;
}

.lead-description {
  margin: 0;
  color: #1f2937;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.75;
}

.lead-attachment-list {
  margin-top: 0;
}

.order-detail-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.order-detail-actions .ghost-btn,
.order-detail-actions .primary-btn {
  width: 100%;
  min-width: 0;
}

.profile-form {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.appeal-form {
  gap: 12px;
}

.appeal-proof-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #dbe6f3;
  border-radius: 8px;
  background: #f8fbff;
}

.appeal-proof-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.appeal-proof-head strong {
  display: block;
  color: #172033;
  font-size: 16px;
}

.appeal-proof-head span,
.appeal-proof-tip {
  color: #8a94a6;
  font-size: 12px;
  line-height: 1.45;
}

.appeal-proof-pick {
  flex: 0 0 auto;
  min-width: 86px;
  padding: 8px 12px;
  font-size: 13px;
}

.appeal-proof-grid {
  display: grid;
  gap: 10px;
}

.appeal-proof-empty {
  color: #9aa3b2;
  font-size: 13px;
}

.appeal-attachment-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #e3eaf5;
  border-radius: 8px;
  background: #fff;
}

.appeal-attachment-meta {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.appeal-attachment-type {
  width: max-content;
  border-radius: 999px;
  padding: 2px 8px;
  color: #0f6bff;
  background: #eaf2ff;
  font-size: 11px;
  font-weight: 800;
}

.appeal-attachment-meta strong {
  overflow: hidden;
  color: #172033;
  font-size: 14px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.appeal-attachment-meta small {
  color: #8a94a6;
  font-size: 12px;
}

.appeal-attachment-item a {
  color: #0f6bff;
  font-size: 13px;
  font-weight: 700;
}

.appeal-attachment-item button {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  padding: 0;
  color: #0f6bff;
  background: #eef4ff;
  font-size: 18px;
  line-height: 1;
}

.appeal-record-card {
  display: grid;
  gap: 10px;
}

.appeal-record-card strong {
  color: #172033;
  font-size: 15px;
  line-height: 1.45;
}

@media (max-width: 380px) {
  .appeal-proof-head {
    flex-direction: column;
    align-items: stretch;
  }

  .appeal-proof-pick {
    width: 100%;
  }

  .appeal-attachment-item {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }

  .appeal-attachment-item a,
  .appeal-attachment-item button {
    justify-self: start;
  }
}

.profile-form label {
  display: grid;
  gap: 7px;
  color: #435063;
  font-weight: 700;
}

.profile-gate-mask {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(12, 22, 38, 0.52);
}

.profile-gate-card {
  display: grid;
  gap: 12px;
  width: min(390px, 100%);
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: 18px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.28);
}

.profile-gate-head {
  display: grid;
  gap: 4px;
}

.profile-gate-head strong {
  color: #111827;
  font-size: 18px;
}

.profile-gate-head span,
.profile-region-field > strong,
.profile-gate-card label {
  color: #5d6675;
  font-size: 13px;
}

.profile-gate-card input {
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  border: 1px solid #dce5f0;
  border-radius: 8px;
  background: #f8fafc;
  font-size: 14px;
}

.profile-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 8px;
  align-items: end;
}

.profile-code-row button,
.profile-gate-submit {
  height: 42px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: var(--blue);
  font-weight: 700;
}

.profile-region-field {
  display: grid;
  gap: 8px;
}

.profile-region-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  max-height: 180px;
  overflow: auto;
  padding: 8px;
  border: 1px solid #dce5f0;
  border-radius: 8px;
  background: #f8fafc;
}

.profile-region-grid label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 7px 8px;
  border-radius: 6px;
  background: #ffffff;
  color: #243044;
  font-size: 12px;
  font-weight: 500;
}

.profile-region-grid input {
  width: 14px;
  height: 14px;
  margin: 0;
  padding: 0;
}

.profile-region-grid span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.member-wallet-page {
  display: grid;
  gap: 14px;
  margin: -6px -14px 0;
  padding-bottom: 18px;
  background:
    linear-gradient(180deg, #eef6ff 0%, #f7fbff 38%, #f4f8fd 100%);
}

.member-wallet-page .member-hero {
  position: relative;
  min-height: 158px;
  padding: 24px 22px 58px;
  overflow: hidden;
  color: #10233f;
  background:
    radial-gradient(circle at 88% 18%, rgba(49, 128, 255, 0.18), transparent 34%),
    linear-gradient(135deg, #eaf4ff 0%, #f8fbff 48%, #edf7ff 100%);
}

.member-wallet-page .member-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-radial-gradient(ellipse at 78% 14%, rgba(47, 123, 255, 0.14) 0 1px, transparent 1px 8px);
  opacity: 0.5;
}

.member-profile {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.member-profile img {
  width: 74px;
  height: 74px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(47, 123, 255, 0.16);
  object-fit: cover;
}

.member-profile b {
  color: #2f7bff;
  font-size: 24px;
}

.member-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.member-name-row strong {
  min-width: 0;
  overflow: hidden;
  font-size: 24px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-name-row button {
  flex: 0 0 auto;
  border: 1px solid #bfdbff;
  border-radius: 5px;
  padding: 5px 10px;
  color: #1269e8;
  background: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.member-profile p {
  margin-top: 4px;
  color: #617189;
  font-size: 19px;
}

.member-balance-card,
.member-recharge-card,
.member-mini-panel {
  position: relative;
  margin: 0 14px;
  border-radius: 8px;
  border: 1px solid #dbeafe;
  background: #fff;
  box-shadow: 0 10px 22px rgba(47, 123, 255, 0.08);
}

.member-balance-card {
  margin-top: -60px;
  min-height: 116px;
  padding: 16px 170px 12px 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.member-balance-card h3,
.member-recharge-card h3 {
  margin: 0;
  color: #161b25;
  font-size: 18px;
  line-height: 1.25;
}

.member-balance-card h3 small {
  font-size: 14px;
}

.member-balance-amount {
  max-width: min(100%, 280px);
  overflow: hidden;
  margin-top: 10px;
  color: #1269e8;
  font-size: clamp(24px, 7vw, 32px);
  font-weight: 800;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-balance-full {
  max-width: min(100%, 280px);
  overflow: hidden;
  margin: 6px 0 0;
  color: #7a8799;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-wallet-actions {
  position: absolute;
  right: 18px;
  top: 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  width: 116px;
}

.member-wallet-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 32px;
  border: 1px solid #bfdbff;
  border-radius: 4px;
  color: #1269e8;
  background: #f8fbff;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.member-recharge-card {
  padding: 10px 18px 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
}

.member-card-line {
  height: 1px;
  margin: 8px 8px 10px;
  background: #d9dde4;
}

.member-recharge-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
}

.member-recharge-row strong {
  color: #172033;
  font-size: 15px;
  white-space: nowrap;
}

.member-recharge-row b,
.member-recharge-amount-input {
  color: #222b38;
  font-size: 24px;
  font-weight: 500;
}

.member-recharge-amount-input {
  width: 96px;
  min-width: 0;
  height: 36px;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 0;
  background: transparent;
  font-size: 16px;
  outline: 0;
}

.member-recharge-amount-input:focus {
  border-bottom-color: #347fff;
}

.member-recharge-row span {
  color: #f0ac1f;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.member-recharge-row button {
  min-width: 86px;
  min-height: 40px;
  border-radius: 7px;
  background: #1269e8;
  font-size: 15px;
  font-weight: 800;
  padding: 0 8px;
}

.member-recharge-card > p {
  margin-top: 8px;
  color: #8a94a6;
  font-size: 12px;
  line-height: 1.35;
}

.member-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.member-plan-btn {
  display: grid;
  justify-items: center;
  min-height: 68px;
  padding: 9px 4px 8px;
  border: 1px solid #bfdbff;
  border-radius: 6px;
  color: #1269e8;
  background: #f8fbff;
}

.member-plan-btn strong {
  font-size: 20px;
  line-height: 1;
}

.member-plan-btn span {
  margin-top: 4px;
  font-size: 12px;
}

.member-plan-btn small {
  margin-top: 5px;
  color: #8a94a6;
  font-size: 11px;
}

.member-banner-carousel {
  margin: 8px 14px 0;
  overflow: hidden;
  border-radius: 8px;
  touch-action: pan-y;
}

.member-banner-track {
  display: flex;
  gap: 0;
  width: 100%;
  overflow: visible;
  transition: transform 0.32s ease;
  padding: 0;
}

.member-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  min-height: 96px;
  padding: 14px 18px;
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.member-banner.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.member-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.28), transparent 34%);
}

.member-banner.orange {
  background: linear-gradient(135deg, #ff8a1f, #ff3159);
}

.member-banner.blue {
  background: linear-gradient(135deg, #2f7bff, #6ab7ff);
}

.member-banner.green {
  background: linear-gradient(135deg, #eaf4ff, #cfe7ff);
  color: #123d73;
}

.member-banner div,
.member-banner em {
  position: relative;
  z-index: 1;
}

.member-banner small {
  display: inline-block;
  border-radius: 4px;
  padding: 3px 18px;
  color: #ff5a33;
  background: #ffe87a;
  font-size: 16px;
}

.member-banner strong {
  display: block;
  margin-top: 7px;
  font-size: 24px;
  line-height: 1.1;
}

.member-banner span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.member-banner em {
  border-radius: 999px;
  padding: 8px 10px;
  color: #9a3500;
  background: #ffe58a;
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
}

.member-banner-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.member-banner-dots span {
  width: 7px;
  height: 3px;
  border-radius: 999px;
  background: #8bb9ff;
}

.member-banner-dots span.active {
  width: 18px;
  background: #2f7bff;
}

.member-mini-panel {
  padding: 16px;
}

.member-mini-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.member-mini-title strong {
  color: #172033;
  font-size: 17px;
}

.member-mini-title button,
.member-mini-title span {
  color: #2f7bff;
  background: transparent;
  font-size: 13px;
}

.member-coupon-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  border-radius: 8px;
  padding: 14px;
  color: #697586;
  background: #f7faff;
}

.member-coupon-summary b {
  color: #f04438;
  font-size: 24px;
}

.vip-page {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 -14px;
  padding-bottom: 112px;
  background: #f3f7fb;
}

.member-banner.green span {
  color: #52657d;
}

.vip-hero {
  position: relative;
  display: grid;
  gap: 16px;
  padding: calc(66px + env(safe-area-inset-top)) 18px 20px;
  color: #fff;
  background: linear-gradient(135deg, #123d73 0%, #2f83ff 56%, #1fb68d 100%);
}

.vip-nav {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: var(--fixed-top-z);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--shell-max);
  min-height: 38px;
  padding: calc(8px + env(safe-area-inset-top)) 14px 8px 10px;
  background: linear-gradient(135deg, #123d73 0%, #2f83ff 56%, #1fb68d 100%);
  box-shadow: 0 10px 22px rgba(18, 61, 115, 0.16);
  transform: translateX(-50%);
}

.vip-back,
.vip-rule {
  color: #fff;
  font-weight: 800;
}

.vip-back {
  display: grid;
  place-items: center;
  width: 34px;
  height: 42px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}

.vip-rule {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 13px;
}

.vip-user {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.vip-user img {
  width: 52px;
  height: 52px;
  border: 2px solid rgba(255, 255, 255, 0.66);
  border-radius: 50%;
  object-fit: cover;
}

.vip-user strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  font-size: 20px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vip-user span {
  display: block;
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 800;
}

.vip-user p {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 700;
}

.vip-hero-copy {
  display: grid;
  gap: 7px;
}

.vip-hero-copy small {
  width: max-content;
  border-radius: 6px;
  padding: 4px 8px;
  color: #123d73;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.vip-hero-copy h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: 0;
}

.vip-hero-copy p {
  max-width: 330px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.vip-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.vip-hero-stats div {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 9px 8px;
  background: rgba(255, 255, 255, 0.13);
}

.vip-hero-stats b,
.vip-hero-stats span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vip-hero-stats b {
  font-size: 17px;
  line-height: 1.1;
}

.vip-hero-stats span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 800;
}

.vip-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 14px 0;
  padding: 4px;
  border-radius: 8px;
  background: #e7eef7;
}

.vip-tabs button {
  display: grid;
  min-width: 0;
  min-height: 54px;
  align-content: center;
  gap: 3px;
  border-radius: 6px;
  color: #667085;
  background: transparent;
  font-size: 12px;
}

.vip-tabs button.active {
  color: #0f4fb8;
  background: #fff;
  box-shadow: 0 8px 18px rgba(27, 77, 138, 0.12);
}

.vip-tabs strong,
.vip-tabs span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vip-tabs strong {
  font-size: 16px;
  line-height: 1.15;
}

.vip-tabs span {
  font-size: 10px;
  font-weight: 800;
}

.vip-plan-section {
  margin: 12px 14px 0;
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(23, 32, 51, 0.06);
}

.vip-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.vip-section-title strong {
  color: #111827;
  font-size: 17px;
  line-height: 1.2;
}

.vip-section-title span {
  min-width: 0;
  color: #7a8799;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
}

.vip-term-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.vip-term-card {
  position: relative;
  display: grid;
  justify-items: start;
  min-height: 116px;
  border: 1px solid #dce7f5;
  border-radius: 8px;
  padding: 14px;
  color: #172033;
  background: #f8fbff;
  text-align: left;
}

.vip-term-card.active {
  border-color: #2f83ff;
  background: #f0f7ff;
  box-shadow: inset 0 0 0 1px rgba(47, 131, 255, 0.12);
}

.vip-term-card em {
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 0 8px 0 8px;
  padding: 4px 8px;
  color: #fff;
  background: #f59e0b;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.vip-term-card strong {
  color: #172033;
  font-size: 15px;
  font-weight: 900;
}

.vip-term-card b {
  margin-top: 12px;
  color: #0f6bff;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.vip-term-card b small {
  margin-right: 2px;
  font-size: 15px;
}

.vip-term-card span {
  margin-top: 10px;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.vip-benefit-card,
.vip-extra-card {
  margin: 12px 14px 0;
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(23, 32, 51, 0.06);
}

.vip-benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.vip-benefit-tile {
  min-width: 0;
  border: 1px solid #e2ebf7;
  border-radius: 8px;
  padding: 11px 8px;
  background: #f8fbff;
}

.vip-benefit-tile b,
.vip-benefit-tile strong,
.vip-benefit-tile span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vip-benefit-tile b {
  color: #0f6bff;
  font-size: 18px;
  line-height: 1.15;
}

.vip-benefit-tile strong {
  margin-top: 7px;
  color: #172033;
  font-size: 13px;
}

.vip-benefit-tile span {
  margin-top: 4px;
  color: #8a94a6;
  font-size: 11px;
  font-weight: 700;
}

.vip-benefit-item {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #eef3f8;
}

.vip-benefit-item b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  color: #0f6bff;
  background: #eaf3ff;
  text-align: center;
  font-size: 13px;
  font-weight: 900;
}

.vip-benefit-item p {
  margin: 2px 0 0;
  color: #435063;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.vip-service {
  flex: 0 0 auto;
  border: 1px solid #d7e5f7;
  border-radius: 6px;
  padding: 7px 10px;
  color: #0f6bff;
  background: #f6fbff;
  font-size: 12px;
  font-weight: 900;
}

.vip-service::before {
  content: none;
}

.vip-pay-bar {
  position: fixed;
  right: max(0px, calc((100vw - 430px) / 2));
  bottom: 0;
  left: max(0px, calc((100vw - 430px) / 2));
  z-index: 12;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 148px;
  align-items: center;
  gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid #e4ebf5;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -10px 24px rgba(23, 32, 51, 0.08);
}

.vip-pay-bar div {
  min-width: 0;
}

.vip-pay-bar span,
.vip-pay-bar strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vip-pay-bar span {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.vip-pay-bar strong {
  margin-top: 3px;
  color: #f05d2f;
  font-size: 22px;
  line-height: 1.1;
}

.vip-pay-btn {
  width: 100%;
  height: 46px;
  border-radius: 8px;
  color: #fff;
  background: #0f6bff;
  font-size: 16px;
  font-weight: 900;
}

@media (max-width: 380px) {
  .lead-card {
    padding: 10px 11px;
  }

  .lead-card-layout {
    grid-template-columns: minmax(0, 1fr) 1px 89px;
    gap: 0;
    margin-right: -11px;
  }

  .lead-card-main {
    padding-right: 4px;
  }

  .lead-card-side {
    gap: 4px;
  }

  .lead-title {
    font-size: 14px;
  }

  .lead-desc {
    font-size: 12px;
    line-height: 18px;
    height: 54px;
  }

  .lead-card-time {
    width: 80px;
    font-size: 9px;
  }

  .price-label {
    font-size: 9px;
  }

  .price-item {
    grid-template-columns: 30px minmax(0, auto);
  }

  .price-stack,
  .lead-card .price-stack {
    width: 82px;
  }

  .lead-card .price-stack .price {
    font-size: 13px;
  }

  .join-member-pill {
    padding: 0;
    font-size: 11px;
  }

  .lead-card .mini-btn {
    width: 56px;
    height: 24px;
    min-width: 56px;
    max-width: 56px;
    padding: 0 5px;
    font-size: 11px;
  }

  .my-order-card .order-actions {
    grid-template-columns: minmax(0, 1fr) 66px 70px;
    gap: 6px;
  }

  .my-order-card .order-actions .primary-btn,
  .my-order-card .order-actions .invoice-order-card-btn {
    font-size: 11px;
  }

  .member-wallet-actions {
    gap: 5px;
  }

  .member-wallet-actions button {
    font-size: 13px;
  }

  .member-recharge-card {
    padding: 16px 14px 20px;
  }

  .member-recharge-row {
    grid-template-columns: auto minmax(42px, 1fr) auto;
  }

  .member-recharge-row button {
    grid-column: 1 / -1;
    justify-self: end;
    width: 112px;
  }

  .member-plan-grid {
    gap: 8px;
  }

  .member-plan-btn strong {
    font-size: 22px;
  }

  .member-plan-btn small {
    font-size: 12px;
  }
}

.member-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.order-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 14px;
}

.my-order-card .order-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px 78px;
  align-items: end;
  justify-content: stretch;
  gap: 8px;
  margin-top: 8px;
}

.my-order-status-control {
  display: grid;
  min-width: 0;
  gap: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.my-order-card .order-actions .primary-btn,
.my-order-card .order-actions .invoice-order-card-btn {
  height: 32px;
  width: 100%;
  min-width: 0;
  padding: 0 6px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
}

.my-order-card .order-actions .invoice-order-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.my-order-attachments {
  display: grid;
  gap: 5px;
  margin-top: 8px;
  border: 1px solid #edf3fb;
  border-radius: 8px;
  padding: 7px 8px;
  background: #f8fbff;
}

.my-order-attachments > strong {
  color: #253246;
  font-size: 12px;
  font-weight: 900;
}

.my-order-file-list {
  display: grid;
  gap: 5px;
}

.my-order-file-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
}

.my-order-file-row span {
  min-width: 0;
  overflow: hidden;
  color: #435063;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-actions select {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 8px;
  background: #fff;
  font-size: 12px;
}

.coupon-card,
.invoice-card {
  margin-bottom: 12px;
}

.coupon-card {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  border: 1px solid #ffd3b0;
  background: linear-gradient(90deg, #fff7ed, #fff);
}

.coupon-group {
  margin-bottom: 18px;
}

.coupon-status-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 12px;
}

.coupon-status-tabs button {
  border-radius: 6px;
  padding: 8px 4px;
  color: var(--muted);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

.coupon-status-tabs button.active {
  color: #fff;
  background: var(--blue);
}

.coupon-status-tabs span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
}

.coupon-group h3 {
  margin: 0 0 10px;
  font-size: 13px;
}

.coupon-card.disabled {
  border-color: #e3e9f2;
  background: #f7f9fc;
  opacity: 0.78;
}

.coupon-card::before {
  content: "";
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ff8a1f;
}

.coupon-card.disabled::before {
  background: #a8b2c2;
}

.coupon-card-main {
  min-width: 0;
}

.coupon-card-main .lead-title,
.coupon-card-main p,
.coupon-card-main small {
  display: block;
  min-width: 0;
}

.coupon-card-main p {
  margin-top: 5px;
  line-height: 1.45;
}

.coupon-card-main small {
  margin-top: 4px;
  color: #9aa4b2;
  font-size: 12px;
}

.coupon-card .price {
  color: #ff5a33;
  font-size: 20px;
  white-space: nowrap;
}

.coupon-card .sold {
  grid-column: 2 / 4;
  justify-self: start;
  margin-top: -4px;
}

.transaction-list {
  display: grid;
  gap: 12px;
}

.transaction-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(23, 32, 51, 0.06);
}

.transaction-row strong,
.transaction-row span,
.transaction-row small {
  display: block;
}

.transaction-row strong {
  color: #172033;
  font-size: 15px;
}

.transaction-row span {
  margin-top: 4px;
  color: #697586;
  font-size: 13px;
  line-height: 1.4;
}

.transaction-row .transaction-meta {
  color: #3d7cff;
  font-weight: 700;
}

.transaction-row small {
  margin-top: 5px;
  color: #9aa4b2;
  font-size: 12px;
}

.transaction-row b {
  color: #12b76a;
  font-size: 18px;
}

.transaction-row b.negative {
  color: #f04438;
}

.member-coupon-list {
  display: grid;
  gap: 8px;
}

.member-mini-coupon {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 1px solid #ffe1c2;
  border-radius: 8px;
  padding: 10px 12px;
  color: #172033;
  background: #fff8ef;
  text-align: left;
}

.member-mini-coupon div {
  min-width: 0;
}

.member-mini-coupon strong,
.member-mini-coupon span,
.member-mini-coupon small {
  display: block;
}

.member-mini-coupon strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.member-mini-coupon span {
  margin-top: 4px;
  color: #7a4a14;
  font-size: 12px;
  line-height: 1.35;
}

.member-mini-coupon small {
  color: #f05d2f;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.order-coupon-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 8px 0;
  border: 1px solid #ffd8b7;
  border-radius: 10px;
  padding: 12px;
  background: #fff8ef;
}

.order-coupon-detail.empty {
  display: block;
  color: #8a929e;
  background: #f8fafc;
  border-color: #edf1f5;
  font-size: 13px;
  font-weight: 700;
}

.order-coupon-detail strong,
.order-coupon-detail span {
  display: block;
}

.order-coupon-detail strong {
  color: #172033;
  font-size: 14px;
}

.order-coupon-detail span {
  margin-top: 4px;
  color: #8a5b22;
  font-size: 12px;
  line-height: 1.35;
}

.order-coupon-detail b {
  color: #f05d2f;
  font-size: 18px;
  white-space: nowrap;
}

.invoice-list {
  margin-top: 14px;
}

.invoice-form {
  gap: 10px;
  padding: 14px;
  border: 1px solid #dbe7f7;
  border-radius: 8px;
  background: #f7fbff;
}

.invoice-form-head,
.invoice-order-summary,
.invoice-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.invoice-form-head strong {
  color: #17345d;
  font-size: 17px;
}

.invoice-form-head span,
.invoice-order-summary span,
.invoice-order-summary em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.invoice-order-summary {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #d9e8fb;
  border-radius: 6px;
  background: #fff;
}

.invoice-order-summary.empty {
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
}

.invoice-order-summary div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.invoice-order-summary strong,
.invoice-order-summary span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invoice-order-summary b {
  color: #f05d2f;
  font-size: 18px;
  white-space: nowrap;
}

.invoice-type-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.profile-form.invoice-form .invoice-type-toggle label {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 40px;
  border: 1px solid #d9e4f2;
  border-radius: 6px;
  padding: 0 10px;
  background: #fff;
  color: #28425f;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  writing-mode: horizontal-tb;
}

.invoice-type-toggle label span {
  display: inline-block;
  flex: 0 0 auto;
  white-space: nowrap;
  word-break: keep-all;
  writing-mode: horizontal-tb;
}

.profile-form.invoice-form .invoice-type-toggle label:has(input:checked) {
  border-color: #2f83ff;
  color: #0f4fb8;
  background: #f0f7ff;
  box-shadow: inset 0 0 0 1px rgba(47, 131, 255, 0.08);
}

.profile-form.invoice-form .invoice-type-toggle input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--blue);
}

.invoice-special-fields {
  display: grid;
  gap: 10px;
}

.invoice-admin-remark {
  margin: 0;
  padding: 8px 10px;
  border-radius: 6px;
  background: #fff5f2;
  color: #b14d2f;
  font-size: 13px;
  line-height: 1.45;
}

.invoice-form-actions {
  justify-content: flex-start;
}

.invoice-files {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.invoice-files a {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dbe7f7;
  border-radius: 6px;
  padding: 8px 10px;
  background: #f7fbff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invoice-edit-btn {
  margin-top: 8px;
}

.guide-intro {
  border: 1px solid #c8dcff;
  background: #f7fbff;
}

.guide-card {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  margin-top: 14px;
}

.guide-index {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  text-align: center;
  font-weight: 800;
  line-height: 32px;
}

.guide-card ol {
  margin: 10px 0 0;
  padding-left: 19px;
  color: #435063;
  line-height: 1.7;
}

.guide-card li + li {
  margin-top: 4px;
}

.guide-theme-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  margin: 16px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.guide-theme-tabs button {
  position: relative;
  flex: 0 0 auto;
  min-width: 0;
  min-height: 46px;
  padding: 0;
  color: #586170;
  background: transparent;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.guide-theme-tabs button.active {
  color: #2f83ff;
}

.guide-theme-tabs button.active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: #2f83ff;
  content: "";
}

.guide-list {
  display: grid;
  gap: 12px;
  width: 100%;
  padding: 0 14px 18px;
}

.guide-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 62px;
  border-radius: 8px;
  padding: 14px 16px;
  color: #0d1218;
  background: #fff;
  text-align: left;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}

.guide-list-item span {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}

.guide-list-item .draft-badge {
  flex: 0 0 auto;
  font-style: normal;
}

.guide-detail-card {
  max-width: 620px;
  margin: 0 auto;
  padding: 28px 26px 44px;
  background: #fff;
}

.guide-detail-card h2 {
  margin-bottom: 24px;
  text-align: center;
  color: #07111f;
  font-size: 24px;
  line-height: 1.35;
}

.guide-detail-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 26px;
  color: #8a929e;
  font-size: 16px;
}

.guide-detail-content {
  color: #07111f;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.45;
}

.guide-detail-content p {
  margin: 0 0 24px;
}

.guide-detail-content .spark-line {
  margin-left: 4px;
}

.tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  max-width: 430px;
  transform: translateX(-50%);
  padding: 8px max(8px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
  border-top: 1px solid var(--line);
  background: #fff;
}

.tab {
  border-radius: 0;
  min-height: 44px;
  padding: 8px 4px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  line-height: 1.2;
}

.tab.active {
  color: var(--blue);
  background: #eaf2ff;
}

.empty {
  padding: 42px 0;
  text-align: center;
}

#toast {
  position: fixed;
  left: 50%;
  bottom: calc(92px + env(safe-area-inset-bottom));
  z-index: 20;
  display: none;
  max-width: 80vw;
  transform: translateX(-50%);
  border-radius: 999px;
  padding: 10px 14px;
  color: #fff;
  background: rgba(0, 0, 0, 0.78);
}

#toast.shelf-toast {
  animation: shelfToastFade 0.3s ease-in-out both;
}

@keyframes shelfToastFade {
  0% {
    opacity: 0;
    transform: translate(-50%, 8px);
  }

  35%,
  65% {
    opacity: 1;
    transform: translate(-50%, 0);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 8px);
  }
}

@media (min-width: 700px) {
  body {
    padding: 0;
    background: #eef3f8;
  }

  .phone-shell {
    min-height: 100vh;
    min-height: 100dvh;
    border-radius: 0;
    overflow-x: hidden;
    box-shadow: none;
  }

  .phone-shell.guide-active {
    border-radius: 0;
  }

  .tabbar {
    border-radius: 0;
  }
}

/* Member center screenshot-style override */
.member-wallet-page {
  gap: 12px;
  margin: 0 -14px;
  padding-bottom: 18px;
  background: #f4f6fa;
}

.member-wallet-page .member-hero {
  min-height: 154px;
  padding: 24px 16px 56px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 255, 255, 0.18), transparent 32%),
    radial-gradient(circle at 18% 34%, rgba(255, 255, 255, 0.12), transparent 24%),
    linear-gradient(135deg, #1787f2 0%, #33a1ff 48%, #158be8 100%);
}

.member-wallet-page .member-hero::after {
  opacity: 0.38;
  background:
    radial-gradient(circle at 62% 24%, rgba(255, 255, 255, 0.22), transparent 36%),
    radial-gradient(circle at 80% 52%, rgba(255, 255, 255, 0.14), transparent 30%),
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.05) 100%);
}

.member-wallet-page .member-profile {
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px;
}

.member-wallet-page .member-profile img {
  width: 72px;
  height: 72px;
  border: 0;
  box-shadow: none;
}

.member-wallet-page .member-name-row {
  gap: 10px;
}

.member-wallet-page .member-name-row strong {
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}

.member-wallet-page .member-name-row button {
  height: 28px;
  border: 0;
  border-radius: 999px;
  padding: 0 12px;
  color: #fff;
  background: linear-gradient(180deg, #ffb13e 0%, #f68100 100%);
  font-size: 12px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.member-hero-arrow {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  font-weight: 300;
}

.member-wallet-page .member-balance-card {
  margin-top: -56px;
  min-height: 120px;
  padding: 18px 18px 16px;
  border-radius: 8px;
  border-color: #eff2f7;
  box-shadow: 0 8px 20px rgba(15, 107, 255, 0.06);
}

.member-card-caret {
  position: absolute;
  top: 17px;
  right: 18px;
  width: 16px;
  height: 16px;
  border: 0;
  background: transparent;
}

.member-card-caret::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 8px solid #c8cdd6;
}

.member-wallet-page .member-balance-card h3 {
  font-size: 18px;
  font-weight: 700;
}

.member-wallet-page .member-balance-card h3 small {
  font-size: 14px;
  font-weight: 700;
}

.member-wallet-page .member-balance-amount {
  max-width: 100%;
  margin-top: 12px;
  color: #0f72f5;
  font-size: 33px;
  font-weight: 800;
}

.member-wallet-page .member-wallet-actions {
  position: static;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  margin-top: 18px;
}

.member-wallet-page .member-wallet-actions button {
  gap: 8px;
  height: 46px;
  border-radius: 3px;
  border-color: #1885f7;
  background: #fff;
  color: #1280f1;
  font-size: 16px;
  font-weight: 700;
}

.member-wallet-page .member-wallet-actions button span {
  font-size: 18px;
}

.member-wallet-page .member-recharge-card {
  margin: 0 12px;
  padding: 10px 12px 12px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(15, 107, 255, 0.05);
}

.member-wallet-page .member-recharge-card h3 {
  font-size: 16px;
  font-weight: 700;
}

.member-wallet-page .member-card-line {
  margin: 10px 2px 12px;
  background: #e0e0e0;
}

.member-wallet-page .member-recharge-row {
  display: grid;
  grid-template-columns: auto 76px minmax(0, 1fr) 82px;
  grid-template-areas: "label amount gift button";
  align-items: center;
  gap: 4px;
}

.member-wallet-page .member-recharge-row strong {
  grid-area: label;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.member-wallet-page .member-recharge-amount-input {
  grid-area: amount;
  justify-self: start;
  width: 100%;
  height: 36px;
  min-width: 0;
  padding: 0;
  color: #2a2f36;
  font-size: 28px;
  font-weight: 500;
  line-height: 36px;
  text-align: center;
}

.member-wallet-page #rechargeGiftText {
  grid-area: gift;
  min-width: 0;
  justify-self: start;
  padding-left: 0;
  white-space: nowrap;
  color: #f0ad1f;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
}

.member-wallet-page .member-recharge-row button {
  grid-area: button;
  min-width: 82px;
  height: 36px;
  border-radius: 4px;
  padding: 0 8px;
  color: #fff;
  background: #1484f3;
  font-size: 13px;
  font-weight: 800;
}

.member-wallet-page #rechargeNowBtn {
  width: 82px;
  min-width: 82px;
  max-width: 82px;
  padding: 0;
  color: #fff;
  font-size: 12px;
  justify-self: end;
}

.member-wallet-page .member-recharge-card > p {
  margin-top: 10px;
  color: #9b9b9b;
  font-size: 11px;
  line-height: 1.35;
}

.member-wallet-page .member-plan-grid {
  gap: 8px;
  margin-top: 12px;
}

.member-wallet-page .member-plan-btn {
  min-height: 118px;
  padding: 12px 5px 10px;
  border-color: #1a88f6;
  border-radius: 6px;
  color: #1081f6;
  background: #fff;
  box-shadow: none;
}

.member-wallet-page .member-plan-btn strong {
  font-size: 26px;
  font-weight: 500;
}

.member-wallet-page .member-plan-btn span {
  margin-top: 5px;
  color: #1081f6;
  font-size: 14px;
}

.member-wallet-page .member-plan-btn small {
  margin-top: 8px;
  color: #9aa0aa;
  font-size: 12px;
}

.member-wallet-page .member-banner-carousel {
  margin: 10px 14px 0;
  border-radius: 8px;
  overflow: hidden;
}

.member-wallet-page .member-banner.verify-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 88px;
  padding: 12px 10px 12px 14px;
  border: 0;
  border-radius: 8px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  background: linear-gradient(135deg, #08c393 0%, #0aac72 100%);
  text-align: left;
}

.member-wallet-page .member-banner.verify-banner .member-banner-tag {
  position: absolute;
  top: 8px;
  left: 12px;
  margin: 0;
  border-radius: 999px;
  padding: 3px 12px;
  color: #fff;
  background: linear-gradient(180deg, #ffb13e 0%, #f68100 100%);
  font-size: 12px;
  font-weight: 700;
}

.member-wallet-page .member-banner.verify-banner .member-banner-copy {
  margin: 12px 8px 0 0;
  border: 2px solid #ffbf47;
  border-radius: 8px;
  padding: 12px 12px 10px;
  background: #f8f0d9;
  color: #08a67a;
}

.member-wallet-page .member-banner.verify-banner .member-banner-copy strong {
  margin: 0;
  color: #08a67a;
  font-size: 18px;
  line-height: 1.2;
}

.member-wallet-page .member-banner.verify-banner em {
  width: 68px;
  height: 68px;
  padding: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffbf3c 0%, #ff8b00 100%);
  color: #fff;
  font-size: 14px;
  line-height: 1.1;
}

.member-wallet-page .member-banner-dots {
  margin-top: 10px;
}

.member-wallet-page .member-banner-dots span {
  width: 8px;
  height: 4px;
  background: #3b80f6;
}

.member-wallet-page .member-banner-dots span.active {
  width: 16px;
  background: #2f7bff;
}

.member-wallet-page .member-service-card,
.member-wallet-page .member-settings-card {
  margin: 0 14px;
  border-radius: 8px;
  border: 1px solid #eff2f7;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 107, 255, 0.04);
}

.member-wallet-page .member-service-card {
  padding: 10px 12px 12px;
}

.member-wallet-page .member-service-card h3 {
  margin: 0 0 8px;
  color: #222;
  font-size: 16px;
  font-weight: 700;
}

.member-wallet-page .member-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 6px;
}

.member-wallet-page .member-service-grid button {
  display: grid;
  justify-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #222;
  font-size: 12px;
  font-weight: 500;
}

.member-wallet-page .member-service-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 5px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.member-wallet-page .member-service-icon.cyan {
  background: linear-gradient(180deg, #18dbe0 0%, #17bcd8 100%);
}

.member-wallet-page .member-service-icon.orange {
  background: linear-gradient(180deg, #ff9b07 0%, #ff8a00 100%);
}

.member-wallet-page .member-service-icon.purple {
  background: linear-gradient(180deg, #b86af2 0%, #9759eb 100%);
}

.member-wallet-page .member-service-icon.red {
  background: linear-gradient(180deg, #ff5470 0%, #ff355f 100%);
}

.member-wallet-page .member-service-icon.blue {
  background: linear-gradient(180deg, #20a1ff 0%, #1687f3 100%);
}

.member-wallet-page .member-service-icon.yellow {
  background: linear-gradient(180deg, #ffc208 0%, #ffb100 100%);
}

.member-wallet-page .member-service-icon.pink {
  background: linear-gradient(180deg, #ff6797 0%, #ff4f7d 100%);
}

.member-wallet-page .member-settings-card {
  margin-top: 10px;
  overflow: hidden;
}

.member-wallet-page .member-settings-card button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-bottom: 1px solid #ededed;
  border-radius: 0;
  color: #222;
  background: #fff;
  font-size: 14px;
}

.member-wallet-page .member-settings-card button:last-child {
  border-bottom: 0;
}

.member-wallet-page .member-settings-card b {
  color: #a7a7a7;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

@media (max-width: 380px) {
  .member-wallet-page .member-hero {
    min-height: 136px;
    padding: 18px 12px 46px;
  }

  .member-wallet-page .member-profile {
    grid-template-columns: 60px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .member-wallet-page .member-profile img {
    width: 60px;
    height: 60px;
  }

  .member-wallet-page .member-name-row strong {
    font-size: 18px;
  }

  .member-wallet-page .member-balance-card {
    margin-top: -44px;
  }

  .member-wallet-page .member-wallet-actions {
    gap: 10px;
  }

  .member-wallet-page .member-wallet-actions button {
    height: 38px;
    font-size: 13px;
  }

  .member-wallet-page .member-recharge-row {
    grid-template-columns: auto 70px minmax(0, 1fr) 78px;
    gap: 3px;
  }

  .member-wallet-page .member-recharge-amount-input {
    font-size: 26px;
  }

  .member-wallet-page .member-recharge-row button {
    min-width: 78px;
    font-size: 13px;
  }

  .member-wallet-page #rechargeNowBtn {
    width: 78px;
    min-width: 78px;
    max-width: 78px;
    font-size: 12px;
  }

  .member-wallet-page .member-plan-btn strong {
    font-size: 24px;
  }

  .member-wallet-page .member-plan-btn span {
    font-size: 13px;
  }

  .member-wallet-page .member-plan-btn small {
    font-size: 11px;
  }

  .member-wallet-page .member-banner.verify-banner {
    min-height: 86px;
  }

  .member-wallet-page .member-banner.verify-banner .member-banner-copy strong {
    font-size: 16px;
  }

  .member-wallet-page .member-banner.verify-banner em {
    width: 64px;
    height: 64px;
    font-size: 13px;
  }

  .member-wallet-page .member-service-grid {
    gap: 8px 4px;
  }

  .member-wallet-page .member-service-grid button {
    font-size: 12px;
  }
}
