@import url("../fonts/dingtalk-jinbuti/font.css");

.qm-uc-active .qm-ecl-header-status[data-qm-ecl-mounted="1"] {
  display: none !important;
}

/* Membership entry and compact renew modal */
.qm-uc-header-status {
  gap: 10px;
}

.qm-uc-header-member-entry {
  position: relative;
  flex: 0 0 auto;
}

.qm-uc-header-member-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 13px;
  background: linear-gradient(135deg, #3f4758, #1f2937);
  color: #f8d48a;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
}

.qm-uc-header-member-button span {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: #d8a44b;
  color: #111827;
  font-size: 13px;
}

.qm-uc-header-member-card {
  position: absolute;
  top: calc(100% + 12px);
  right: -52px;
  z-index: 100060;
  display: grid;
  gap: 12px;
  width: 330px;
  padding: 14px;
  border: 1px solid #e5edf5;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.qm-uc-header-member-entry:hover .qm-uc-header-member-card,
.qm-uc-header-member-entry:focus-within .qm-uc-header-member-card {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.qm-uc-header-member-card::before {
  position: absolute;
  top: -7px;
  right: 70px;
  width: 14px;
  height: 14px;
  content: "";
  background: #fff;
  border-top: 1px solid #e5edf5;
  border-left: 1px solid #e5edf5;
  transform: rotate(45deg);
}

.qm-uc-header-member-plan {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 122px;
  border-radius: 12px;
  padding: 16px;
  overflow: hidden;
  color: #fff;
}

.qm-uc-header-member-plan--vip {
  background: linear-gradient(135deg, #f4cf88 0%, #e9a93d 100%);
  color: #754b0b;
}

.qm-uc-header-member-plan--svip {
  background: linear-gradient(135deg, #1552bd 0%, #51c1f2 100%);
}

.qm-uc-header-member-plan div {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.qm-uc-header-member-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.qm-uc-header-member-icon svg,
.qm-uc-header-member-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qm-uc-header-member-plan strong {
  font-size: 18px;
  font-weight: 900;
}

.qm-uc-header-member-plan p {
  margin: 0;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.55;
  opacity: 0.9;
}

.qm-uc-header-member-plan button {
  justify-self: start;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  background: linear-gradient(135deg, #ffcf3f, #ff3d21);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.qm-uc-header-member-plan--svip button {
  background: linear-gradient(135deg, #237cff, #113ee8);
}

.qm-uc-renew-panel--simple {
  box-sizing: border-box;
  width: min(610px, calc(100vw - 28px));
  max-height: min(820px, calc(100vh - 28px));
  border-radius: 14px;
  padding: 20px 22px 0;
  background: #fff;
  box-shadow: 0 22px 64px rgba(15, 23, 42, 0.28);
}

.qm-uc-renew-panel--simple .qm-uc-modal-close {
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 24px;
}

.qm-uc-renew-simple-head {
  padding: 2px 40px 14px 10px;
}

.qm-uc-renew-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qm-uc-renew-brand-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #1667f2;
  color: #fff;
  font-size: 16px;
}

.qm-uc-renew-brand strong {
  display: block;
  color: #0f172a;
  font-size: 14px;
  font-weight: 900;
}

.qm-uc-renew-brand p {
  margin: 3px 0 0;
  color: #ff4d72;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.qm-uc-renew-level-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.qm-uc-renew-level-tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 78px;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 10px 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.qm-uc-renew-level-tab--vip {
  background: linear-gradient(135deg, #f4cf88 0%, #edb454 100%);
  color: #7a4f12;
}

.qm-uc-renew-level-tab--svip {
  background: linear-gradient(135deg, #1253bd 0%, #55c4f0 100%);
  color: #fff;
}

.qm-uc-renew-level-tab.is-active {
  border-color: #ff4d72;
}

.qm-uc-renew-level-check {
  position: absolute;
  top: 8px;
  left: 8px;
  display: none;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ff4d72;
  color: #fff;
  font-size: 12px;
}

.qm-uc-renew-level-tab.is-active .qm-uc-renew-level-check {
  display: grid;
}

.qm-uc-renew-tab-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

.qm-uc-renew-tab-icon svg,
.qm-uc-renew-tab-icon img,
.qm-uc-renew-detail-icon svg,
.qm-uc-renew-detail-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qm-uc-renew-level-tab strong {
  font-size: 20px;
  font-weight: 900;
}

.qm-uc-renew-detail {
  display: none;
  grid-template-columns: 210px 1fr;
  gap: 18px;
  margin-top: 14px;
}

.qm-uc-renew-detail.is-active {
  display: grid;
}

.qm-uc-renew-benefit-side {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 9px;
  padding: 6px 6px 0;
  text-align: center;
}

.qm-uc-renew-detail-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
}

.qm-uc-renew-benefit-side h3 {
  margin: 0;
  color: #fb7640;
  font-size: 15px;
  font-weight: 900;
}

.qm-uc-renew-benefits {
  display: grid;
  gap: 4px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  color: #4b5563;
  font-size: 14px;
  font-weight: 780;
  line-height: 1.55;
}

.qm-uc-renew-choice-side {
  display: grid;
  gap: 12px;
}

.qm-uc-renew-specs--simple {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.qm-uc-renew-specs--simple button {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 86px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px 10px;
  background: #f7f7f8;
  text-align: center;
}

.qm-uc-renew-specs--simple button.is-active {
  border-color: #ff4d72;
  background: #fff;
}

.qm-uc-renew-specs--simple em {
  top: -10px;
  right: 12px;
  min-height: 20px;
  border-radius: 4px;
  padding: 0 8px;
  background: #ff7a1a;
  color: #fff;
  font-size: 11px;
  line-height: 20px;
}

.qm-uc-renew-specs--simple strong {
  color: #ff4d72;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.1;
}

.qm-uc-renew-specs--simple span {
  margin-top: 8px;
  color: #2487ff;
  font-size: 14px;
  font-weight: 850;
}

.qm-uc-renew-notice {
  border-radius: 8px;
  padding: 12px 14px;
  background: #f6f6f6;
  color: #9a9a9a;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
}

.qm-uc-renew-notice p {
  margin: 0;
}

.qm-uc-payment-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.qm-uc-payment-methods button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 1px solid #e5e7eb;
  border-radius: 7px;
  background: #fff;
  color: #334155;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.qm-uc-payment-methods button.is-active {
  border-color: #3478ff;
  box-shadow: inset 0 0 0 1px #3478ff;
}

.qm-uc-payment-methods span {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #16a34a;
  color: #fff;
  font-size: 15px;
  font-weight: 950;
}

.qm-uc-payment-methods [data-qm-uc-pay-method="alipay"] span {
  background: #1677ff;
}

.qm-uc-renew-panel--simple .qm-uc-pay-panel {
  grid-template-columns: 1fr 190px;
  gap: 12px;
  margin-top: 14px;
  border-radius: 10px;
  padding: 14px;
}

.qm-uc-renew-panel--simple .qm-uc-pay-panel h3 {
  font-size: 17px;
}

.qm-uc-renew-panel--simple .qm-uc-pay-body {
  justify-content: flex-end;
  gap: 12px;
}

.qm-uc-renew-panel--simple .qm-uc-pay-qr {
  width: 104px;
  height: 104px;
  border-width: 8px;
  border-radius: 10px;
}

.qm-uc-renew-panel--simple .qm-uc-pay-info strong {
  font-size: 24px;
}

.qm-uc-renew-panel--simple .qm-uc-renew-footer {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 16px -22px 0;
  border-top: 1px solid #edf2f7;
  padding: 13px 22px;
}

.qm-uc-renew-panel--simple .qm-uc-renew-footer button {
  min-width: 150px;
  min-height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff765f, #ff2e35);
}

@media (max-width: 680px) {
  .qm-uc-header-member-card {
    right: -88px;
    width: min(318px, calc(100vw - 24px));
  }

  .qm-uc-renew-panel--simple {
    padding: 16px 14px 0;
  }

  .qm-uc-renew-detail {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .qm-uc-renew-benefit-side {
    justify-items: start;
    text-align: left;
  }

  .qm-uc-renew-benefits {
    font-size: 13px;
  }

  .qm-uc-renew-panel--simple .qm-uc-pay-panel {
    grid-template-columns: 1fr;
  }

  .qm-uc-renew-panel--simple .qm-uc-pay-body {
    justify-content: flex-start;
  }

  .qm-uc-renew-panel--simple .qm-uc-renew-footer {
    margin-right: -14px;
    margin-left: -14px;
    padding: 12px 14px;
  }
}

.qm-uc-renew-button {
  border: 0;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(0, 200, 135, 0.22);
}

.qm-uc-renew-button:hover,
.qm-uc-renew-button:focus {
  transform: translateY(-1px);
  box-shadow: 0 22px 46px rgba(0, 200, 135, 0.28);
}

.qm-uc-badge {
  gap: 7px;
}

.qm-uc-badge-icon,
.qm-uc-plan-icon,
.qm-uc-renew-icon,
.qm-uc-feature-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
}

.qm-uc-badge-icon {
  width: 20px;
  height: 20px;
}

.qm-uc-badge-icon svg,
.qm-uc-badge-icon img,
.qm-uc-plan-icon svg,
.qm-uc-plan-icon img,
.qm-uc-renew-icon svg,
.qm-uc-renew-icon img,
.qm-uc-feature-icon svg,
.qm-uc-feature-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qm-uc-plans button > span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.qm-uc-plan-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.72);
}

.qm-uc-renew-modal[hidden] {
  display: none !important;
}

.qm-uc-renew-modal {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.qm-uc-renew-panel {
  position: relative;
  width: min(1040px, 100%);
  max-height: min(820px, calc(100vh - 36px));
  overflow: auto;
  border: 1px solid #dfe8f3;
  border-radius: 24px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.98)),
    #fff;
  color: #0f172a;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.24);
}

.qm-uc-renew-head {
  padding: 4px 46px 18px 4px;
}

.qm-uc-renew-head > span,
.qm-uc-pay-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 10px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 12px;
  font-weight: 900;
}

.qm-uc-renew-head h2 {
  margin: 12px 0 6px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
}

.qm-uc-renew-head p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}

.qm-uc-renew-levels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.qm-uc-renew-card {
  display: grid;
  gap: 16px;
  border: 1px solid #e5edf5;
  border-radius: 20px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.qm-uc-renew-card.is-active {
  border-color: #13c7a2;
  box-shadow: 0 18px 44px rgba(19, 199, 162, 0.14);
  transform: translateY(-1px);
}

.qm-uc-renew-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.qm-uc-renew-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #f8fafc;
}

.qm-uc-renew-card h3 {
  margin: 0;
  color: #0f172a;
  font-size: 22px;
  font-weight: 900;
}

.qm-uc-renew-card p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.qm-uc-renew-features {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qm-uc-renew-features li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #334155;
  font-size: 14px;
  font-weight: 750;
}

.qm-uc-feature-icon {
  width: 18px;
  height: 18px;
}

.qm-uc-renew-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.qm-uc-renew-specs button {
  position: relative;
  min-height: 84px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px;
  background: #f8fafc;
  color: #0f172a;
  text-align: left;
  cursor: pointer;
}

.qm-uc-renew-specs button.is-active {
  border-color: #0f766e;
  background: #ecfdf5;
}

.qm-uc-renew-specs em {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #ef4444;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.qm-uc-renew-specs strong,
.qm-uc-renew-specs span {
  display: block;
}

.qm-uc-renew-specs strong {
  font-size: 15px;
  font-weight: 900;
}

.qm-uc-renew-specs span {
  margin-top: 10px;
  color: #0f766e;
  font-size: 22px;
  font-weight: 950;
}

.qm-uc-pay-panel {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  border: 1px solid #dbeafe;
  border-radius: 20px;
  padding: 18px;
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdfa 100%);
}

.qm-uc-renew-footer {
  position: sticky;
  bottom: -24px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px -24px -24px;
  border-top: 1px solid #e5edf5;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.qm-uc-renew-footer div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.qm-uc-renew-footer span {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 850;
}

.qm-uc-renew-footer strong {
  color: #0f172a;
  font-size: 15px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qm-uc-renew-footer button {
  flex: 0 0 auto;
  min-width: 150px;
  min-height: 46px;
  border: 0;
  border-radius: 14px;
  padding: 0 22px;
  background: linear-gradient(135deg, #08e0a1 0%, #00c887 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 200, 135, 0.2);
}

.qm-uc-pay-panel[hidden] {
  display: none !important;
}

.qm-uc-pay-panel h3 {
  margin: 12px 0 8px;
  font-size: 22px;
  font-weight: 900;
}

.qm-uc-pay-panel p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
}

.qm-uc-pay-body {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.qm-uc-pay-qr {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 3px;
  width: 142px;
  height: 142px;
  border: 10px solid #fff;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.qm-uc-pay-qr span {
  border-radius: 2px;
  background: #e2e8f0;
}

.qm-uc-pay-qr span.is-on {
  background: #0f172a;
}

.qm-uc-pay-info {
  display: grid;
  gap: 6px;
  min-width: 130px;
}

.qm-uc-pay-info strong {
  color: #0f766e;
  font-size: 30px;
  font-weight: 950;
}

.qm-uc-pay-info span {
  color: #475569;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .qm-uc-renew-panel {
    padding: 18px;
    border-radius: 18px;
  }

  .qm-uc-renew-levels,
  .qm-uc-pay-panel {
    grid-template-columns: 1fr;
  }

  .qm-uc-pay-body {
    justify-content: flex-start;
  }

  .qm-uc-renew-footer {
    align-items: stretch;
    flex-direction: column;
    margin-right: -18px;
    margin-bottom: -18px;
    margin-left: -18px;
    padding: 14px 18px;
  }

  .qm-uc-renew-footer button {
    width: 100%;
  }

  .qm-uc-renew-head h2 {
    font-size: 23px;
  }
}

body.qm-uc-page-active {
  overflow-x: hidden;
}

body.qm-uc-page-active .container.container-page {
  display: block;
}

body.qm-uc-page-active .container.container-page .main {
  width: 100%;
}

body.qm-uc-page-active .container.container-page .sidebar {
  display: none;
}

.qm-uc-has-status,
.qm-uc-has-status .headnav,
.qm-uc-has-status .h-container,
.qm-uc-has-status .header-r,
.qm-uc-has-status .inner,
.qm-uc-rk-header-slot,
.qm-uc-header-right-mounted,
.qm-uc-header-buttons-mounted {
  overflow: visible !important;
}

.qm-uc-has-status {
  position: relative;
  z-index: 10020;
}

.qm-uc-rk-inner-mounted {
  position: relative;
}

.qm-uc-rk-header-slot {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 10030;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
}

.qm-uc-rk-inner-mounted .search-form {
  right: 82px;
}

.qm-uc-header-status {
  position: relative;
  z-index: 10031;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.qm-uc-header-status *,
.qm-uc-header-status *::before,
.qm-uc-header-status *::after {
  box-sizing: border-box;
}

.qm-uc-header-profile {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.qm-uc-avatar-button {
  width: 56px;
  height: 56px;
  border: 3px solid #ff7b84;
  border-radius: 50%;
  padding: 0;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
  cursor: pointer;
  overflow: hidden;
}

.qm-uc-avatar-button img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.qm-uc-header-card {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  width: 538px;
  max-width: calc(100vw - 32px);
  border: 1px solid #d9e2ec;
  border-radius: 32px;
  padding: 28px 32px 32px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.qm-uc-header-card::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 25px;
  width: 20px;
  height: 20px;
  border-top: 1px solid #d9e2ec;
  border-left: 1px solid #d9e2ec;
  background: #fff;
  transform: rotate(45deg);
}

.qm-uc-header-profile:hover .qm-uc-header-card,
.qm-uc-header-profile:focus-within .qm-uc-header-card {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.qm-uc-card-summary {
  display: none;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
}

.qm-uc-card-summary strong,
.qm-uc-card-summary span {
  display: block;
}

.qm-uc-card-summary strong {
  color: #0f172a;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
}

.qm-uc-card-summary span {
  margin-top: 5px;
  color: #64748b;
  font-size: 16px;
  font-weight: 700;
}

.qm-uc-card-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
}

.qm-uc-card-meta {
  display: grid;
  gap: 18px;
  margin: 0 0 24px;
}

.qm-uc-card-meta div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.qm-uc-card-meta dt,
.qm-uc-card-meta dd {
  margin: 0;
  font-size: 25px;
  line-height: 1.2;
}

.qm-uc-card-meta dt {
  color: #6b7c93;
  font-weight: 800;
}

.qm-uc-card-meta dd {
  max-width: 280px;
  color: #0f172a;
  font-weight: 900;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qm-uc-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.qm-uc-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  border-radius: 22px;
  padding: 0 22px;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none !important;
  white-space: nowrap;
}

.qm-uc-card-action--primary,
.qm-uc-card-action--primary:hover,
.qm-uc-card-action--primary:focus {
  background: #111827;
  color: #fff;
}

.qm-uc-card-action--danger,
.qm-uc-card-action--danger:hover,
.qm-uc-card-action--danger:focus {
  background: #e82b2f;
  color: #fff;
}

.qm-uc-login-button {
  min-width: 62px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: #111827;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 42px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.qm-uc-page {
  min-height: 70vh;
  margin: 0;
  padding: 32px 0 54px;
  background: #f8fafc;
  color: #0f172a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.qm-uc-page *,
.qm-uc-page *::before,
.qm-uc-page *::after {
  box-sizing: border-box;
}

.qm-uc-wrap {
  width: min(1428px, 100%);
  margin: 0 auto;
}

.qm-uc-hero,
.qm-uc-growth,
.qm-uc-panel,
.qm-uc-login-panel {
  border: 1px solid #edf2f7;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
}

.qm-uc-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 280px;
  padding: 52px 54px;
}

.qm-uc-hero-profile {
  display: flex;
  align-items: center;
  gap: 36px;
  min-width: 0;
}

.qm-uc-hero-avatar {
  width: 168px;
  height: 168px;
  flex: 0 0 auto;
  border: 5px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}

.qm-uc-hero-copy {
  min-width: 0;
}

.qm-uc-hero-title-row {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.qm-uc-hero h1 {
  margin: 0;
  color: #0f172a;
  font-size: 44px;
  font-weight: 900;
  line-height: 1.15;
}

.qm-uc-badge {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 0 20px;
  background: linear-gradient(135deg, #ff9f43 0%, #ff6b6b 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(255, 107, 107, 0.22);
}

.qm-uc-hero p {
  margin: 18px 0 0;
  color: #64748b;
  font-size: 21px;
  font-weight: 700;
}

.qm-uc-renew-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 246px;
  min-height: 90px;
  border-radius: 24px;
  background: linear-gradient(135deg, #08e0a1 0%, #00c887 100%);
  color: #fff !important;
  font-size: 26px;
  font-weight: 900;
  text-decoration: none !important;
  box-shadow: 0 18px 34px rgba(0, 200, 135, 0.28);
}

.qm-uc-growth {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  margin-top: 38px;
  padding: 52px;
}

.qm-uc-growth h2,
.qm-uc-panel h2 {
  margin: 0;
  color: #0f172a;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
}

.qm-uc-growth h2 {
  color: #64748b;
  font-size: 24px;
}

.qm-uc-growth p {
  margin: 14px 0 0;
}

.qm-uc-growth strong {
  color: #06d6a0;
  font-size: 42px;
  font-weight: 900;
}

.qm-uc-growth span {
  color: #94a3b8;
  font-size: 28px;
  font-weight: 800;
}

.qm-uc-growth-note {
  align-self: center;
  color: #94a3b8;
  font-size: 18px;
  font-weight: 800;
}

.qm-uc-progress {
  grid-column: 1 / -1;
  height: 20px;
  border-radius: 999px;
  background: #eef4f7;
  overflow: hidden;
}

.qm-uc-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, #06d6a0 0%, #00b894 100%);
}

.qm-uc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
  margin-top: 38px;
}

.qm-uc-panel {
  min-height: 378px;
  padding: 38px 40px;
}

.qm-uc-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 42px;
}

.qm-uc-panel-head a {
  color: #94a3b8;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none !important;
}

.qm-uc-text-action {
  border: 0;
  padding: 0;
  background: transparent;
  color: #38bdf8;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.qm-uc-panel-head a:hover,
.qm-uc-panel-head a:focus,
.qm-uc-text-action:hover,
.qm-uc-text-action:focus {
  color: #00c887;
}

.qm-uc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 24px;
  font-size: 31px;
  font-style: normal;
  line-height: 1;
}

.qm-uc-icon--orange {
  background: #fff4e5;
}

.qm-uc-icon--blue {
  background: #edf5ff;
}

.qm-uc-icon--yellow {
  background: #fffbdc;
}

.qm-uc-icon--red {
  background: #fff0f3;
}

.qm-uc-icon--green {
  background: #e9fff6;
  color: #00b894;
}

.qm-uc-order-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.qm-uc-order-stats div {
  position: relative;
  min-height: 110px;
  border-radius: 16px;
  padding: 22px 10px 16px;
  background: #f8fafc;
  text-align: center;
}

.qm-uc-order-stats span,
.qm-uc-order-stats strong {
  display: block;
}

.qm-uc-order-stats span {
  color: #64748b;
  font-size: 17px;
  font-weight: 700;
}

.qm-uc-order-stats strong {
  margin-top: 10px;
  color: #0f172a;
  font-size: 28px;
  font-weight: 900;
}

.qm-uc-order-stats em {
  position: absolute;
  top: -9px;
  right: -8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: #f43f5e;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.qm-uc-info-list {
  display: grid;
  gap: 24px;
  margin: 30px 0 0;
}

.qm-uc-info-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.qm-uc-info-list dt,
.qm-uc-info-list dd {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
}

.qm-uc-info-list dt {
  color: #94a3b8;
  font-weight: 700;
}

.qm-uc-info-list dd {
  color: #334155;
  font-weight: 900;
  text-align: right;
  overflow-wrap: anywhere;
}

.qm-uc-wechat-avatar {
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.qm-uc-contact-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.qm-uc-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 36px;
  border: 0;
  border-radius: 10px;
  padding: 6px 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.qm-uc-contact-row:hover strong,
.qm-uc-contact-row:focus strong {
  color: #0ea5e9;
}

.qm-uc-contact-row span {
  flex: 0 0 auto;
  color: #94a3b8;
  font-size: 15px;
  font-weight: 800;
}

.qm-uc-contact-row strong {
  min-width: 0;
  color: #334155;
  font-size: 15px;
  font-weight: 850;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.16s ease;
}

.qm-uc-contact-row .qm-uc-wechat-avatar {
  width: 28px;
  height: 28px;
}

.qm-uc-info-list--security dd.is-ok::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 50%;
  background: #00c887;
  vertical-align: middle;
}

.qm-uc-info-list--security dd.is-ok {
  color: #00c887;
}

.qm-uc-plans {
  display: grid;
  gap: 20px;
  margin-top: 26px;
}

.qm-uc-plans button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 98px;
  border: 1px solid transparent;
  border-radius: 18px;
  padding: 18px 22px;
  background: #f8fafc;
  color: #0f172a;
  text-align: left;
  cursor: pointer;
}

.qm-uc-plans button.is-selected {
  border-color: #06d6a0;
  background: #e8fff6;
}

.qm-uc-plans strong,
.qm-uc-plans small {
  display: block;
}

.qm-uc-plans strong {
  font-size: 19px;
  font-weight: 900;
}

.qm-uc-plans small {
  margin-top: 6px;
  color: #64748b;
  font-size: 15px;
  font-weight: 800;
}

.qm-uc-plans i {
  width: 30px;
  height: 30px;
  border: 3px solid #cbd5e1;
  border-radius: 50%;
}

.qm-uc-plans .is-selected i {
  border-color: #06d6a0;
  background: radial-gradient(circle at center, #06d6a0 0 38%, transparent 42%);
}

.qm-uc-plans b {
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 0 18px 0 12px;
  padding: 5px 13px;
  background: #ff5c73;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.qm-uc-recent-orders {
  min-height: 0;
  margin-top: 38px;
}

.qm-uc-order-table {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.qm-uc-order-row {
  display: grid;
  grid-template-columns: 1fr 120px 110px 120px;
  gap: 18px;
  align-items: center;
  min-height: 62px;
  border-radius: 16px;
  padding: 0 18px;
  background: #f8fafc;
}

.qm-uc-order-row span,
.qm-uc-order-row strong,
.qm-uc-order-row em,
.qm-uc-order-row time {
  font-size: 16px;
  line-height: 1.2;
}

.qm-uc-order-row span {
  color: #0f172a;
  font-weight: 800;
}

.qm-uc-order-row strong {
  color: #334155;
  font-weight: 900;
}

.qm-uc-order-row em {
  color: #00a878;
  font-style: normal;
  font-weight: 900;
}

.qm-uc-order-row time {
  color: #94a3b8;
  font-weight: 700;
  text-align: right;
}

.qm-uc-footer {
  padding: 40px 0 0;
  text-align: center;
}

.qm-uc-footer a {
  color: #94a3b8;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none !important;
}

.qm-uc-footer a:hover,
.qm-uc-footer a:focus {
  color: #ef4444;
}

.qm-uc-page--guest {
  display: flex;
  align-items: center;
  justify-content: center;
}

.qm-uc-login-panel {
  width: min(520px, 100%);
  padding: 42px;
  text-align: center;
}

.qm-uc-login-panel h1 {
  margin: 0;
  color: #0f172a;
  font-size: 34px;
  font-weight: 900;
}

.qm-uc-login-panel p {
  margin: 16px 0 28px;
  color: #64748b;
  font-size: 17px;
  font-weight: 700;
}

.qm-uc-login-panel button {
  min-width: 160px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 980px) {
  .qm-uc-page {
    padding-top: 24px;
  }

  .qm-uc-hero,
  .qm-uc-growth,
  .qm-uc-panel {
    border-radius: 24px;
  }

  .qm-uc-hero {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    padding: 28px;
  }

  .qm-uc-hero-profile {
    gap: 18px;
  }

  .qm-uc-hero-avatar {
    width: 96px;
    height: 96px;
  }

  .qm-uc-hero-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .qm-uc-hero h1 {
    font-size: 30px;
  }

  .qm-uc-hero p {
    margin-top: 10px;
    font-size: 16px;
  }

  .qm-uc-renew-button {
    width: 100%;
    min-height: 58px;
    border-radius: 16px;
    font-size: 18px;
  }

  .qm-uc-growth {
    grid-template-columns: 1fr;
    margin-top: 20px;
    padding: 28px;
  }

  .qm-uc-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

  .qm-uc-panel {
    min-height: 0;
    padding: 28px;
  }

  .qm-uc-order-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px;
  }

  .qm-uc-order-row time {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .qm-uc-rk-inner-mounted .search-form {
    right: 70px;
  }

  .qm-uc-avatar-button {
    width: 42px;
    height: 42px;
  }

  .qm-uc-header-card {
    right: -8px;
    width: min(360px, calc(100vw - 24px));
    border-radius: 22px;
    padding: 18px;
  }

  .qm-uc-card-summary {
    display: flex;
  }

  .qm-uc-card-meta {
    gap: 12px;
  }

  .qm-uc-card-meta dt,
  .qm-uc-card-meta dd {
    font-size: 16px;
  }

  .qm-uc-card-actions {
    gap: 12px;
  }

  .qm-uc-card-action {
    min-height: 50px;
    border-radius: 14px;
    padding: 0 12px;
    font-size: 16px;
  }

  .qm-uc-page {
    padding-left: 12px;
    padding-right: 12px;
  }

  .qm-uc-hero-profile {
    align-items: flex-start;
  }

  .qm-uc-hero h1 {
    font-size: 26px;
  }

  .qm-uc-growth h2,
  .qm-uc-panel h2 {
    font-size: 23px;
  }

  .qm-uc-growth strong {
    font-size: 32px;
  }

  .qm-uc-growth span {
    font-size: 20px;
  }

  .qm-uc-order-stats {
    gap: 12px;
  }

  .qm-uc-order-stats div {
    min-height: 88px;
    padding-top: 16px;
  }

  .qm-uc-order-stats span,
  .qm-uc-order-row span,
  .qm-uc-order-row strong,
  .qm-uc-order-row em,
  .qm-uc-order-row time {
    font-size: 14px;
  }

  .qm-uc-info-list dt,
  .qm-uc-info-list dd {
    font-size: 16px;
  }
}

/* Compact mode: keep the user center consistent with a content-heavy blog UI. */
.qm-uc-avatar-button {
  width: 48px;
  height: 48px;
  border-width: 2px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.qm-uc-header-card {
  top: calc(100% + 12px);
  width: 368px;
  border-radius: 18px;
  padding: 18px 20px 20px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

.qm-uc-header-card::before {
  top: -8px;
  right: 22px;
  width: 16px;
  height: 16px;
}

.qm-uc-card-meta {
  gap: 12px;
  margin-bottom: 18px;
}

.qm-uc-card-meta dt,
.qm-uc-card-meta dd {
  font-size: 17px;
}

.qm-uc-card-meta dd {
  max-width: 190px;
}

.qm-uc-card-actions {
  gap: 12px;
}

.qm-uc-card-action {
  min-height: 48px;
  border-radius: 12px;
  padding: 0 14px;
  font-size: 17px;
  font-weight: 800;
}

.qm-uc-page {
  padding-top: 20px;
  padding-bottom: 36px;
}

.qm-uc-wrap {
  width: min(1040px, 100%);
}

.qm-uc-hero,
.qm-uc-growth,
.qm-uc-panel,
.qm-uc-login-panel {
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.035);
}

.qm-uc-hero {
  min-height: 170px;
  gap: 22px;
  padding: 28px 34px;
}

.qm-uc-hero-profile {
  gap: 24px;
}

.qm-uc-hero-avatar {
  width: 104px;
  height: 104px;
  border-width: 4px;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
}

.qm-uc-hero-title-row {
  gap: 14px;
}

.qm-uc-hero h1 {
  font-size: 30px;
  font-weight: 850;
}

.qm-uc-badge {
  min-height: 30px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(255, 107, 107, 0.16);
}

.qm-uc-hero p {
  margin-top: 12px;
  font-size: 16px;
}

.qm-uc-renew-button {
  min-width: 168px;
  min-height: 56px;
  border-radius: 14px;
  gap: 10px;
  font-size: 18px;
  font-weight: 850;
  box-shadow: 0 12px 22px rgba(0, 200, 135, 0.18);
}

.qm-uc-growth {
  gap: 16px;
  margin-top: 22px;
  padding: 30px 34px;
}

.qm-uc-growth h2 {
  font-size: 18px;
}

.qm-uc-panel h2 {
  font-size: 22px;
}

.qm-uc-growth p {
  margin-top: 10px;
}

.qm-uc-growth strong {
  font-size: 30px;
}

.qm-uc-growth span {
  font-size: 20px;
}

.qm-uc-growth-note {
  font-size: 14px;
}

.qm-uc-progress {
  height: 12px;
}

.qm-uc-grid {
  gap: 22px;
  margin-top: 22px;
}

.qm-uc-panel {
  min-height: 250px;
  padding: 26px 28px;
}

.qm-uc-panel-head {
  gap: 12px;
  margin-bottom: 26px;
}

.qm-uc-panel-head a {
  font-size: 13px;
}

.qm-uc-icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  font-size: 22px;
}

.qm-uc-order-stats {
  gap: 14px;
  margin-top: 22px;
}

.qm-uc-order-stats div {
  min-height: 78px;
  border-radius: 12px;
  padding: 15px 8px 12px;
}

.qm-uc-order-stats span {
  font-size: 13px;
}

.qm-uc-order-stats strong {
  margin-top: 6px;
  font-size: 21px;
}

.qm-uc-order-stats em {
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  border-width: 2px;
  font-size: 11px;
}

.qm-uc-info-list {
  gap: 16px;
  margin-top: 22px;
}

.qm-uc-info-list div {
  gap: 14px;
}

.qm-uc-info-list dt,
.qm-uc-info-list dd {
  font-size: 15px;
}

.qm-uc-info-list--security dd.is-ok::before {
  width: 7px;
  height: 7px;
  margin-right: 6px;
}

.qm-uc-plans {
  gap: 12px;
  margin-top: 20px;
}

.qm-uc-plans button {
  min-height: 68px;
  border-radius: 12px;
  padding: 14px 16px;
}

.qm-uc-plans strong {
  font-size: 15px;
}

.qm-uc-plans small {
  margin-top: 4px;
  font-size: 12px;
}

.qm-uc-plans i {
  width: 22px;
  height: 22px;
  border-width: 2px;
}

.qm-uc-plans b {
  border-radius: 0 12px 0 10px;
  padding: 4px 10px;
  font-size: 11px;
}

.qm-uc-recent-orders {
  margin-top: 22px;
}

.qm-uc-order-table {
  gap: 10px;
  margin-top: 20px;
}

.qm-uc-order-row {
  grid-template-columns: 1fr 92px 84px 96px;
  gap: 12px;
  min-height: 50px;
  border-radius: 12px;
  padding: 0 14px;
}

.qm-uc-order-row span,
.qm-uc-order-row strong,
.qm-uc-order-row em,
.qm-uc-order-row time {
  font-size: 13px;
}

.qm-uc-footer {
  padding-top: 26px;
}

.qm-uc-footer a {
  font-size: 14px;
}

.qm-uc-login-panel {
  width: min(420px, 100%);
  padding: 30px;
}

.qm-uc-login-panel h1 {
  font-size: 26px;
}

.qm-uc-login-panel p {
  margin: 12px 0 22px;
  font-size: 15px;
}

.qm-uc-login-panel button {
  min-width: 132px;
  height: 44px;
  font-size: 14px;
}

.qm-uc-modal[hidden] {
  display: none !important;
}

.qm-uc-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.qm-uc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(2px);
}

.qm-uc-modal-panel {
  position: relative;
  width: min(560px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  border: 1px solid #e5edf5;
  border-radius: 18px;
  padding: 22px;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}

.qm-uc-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  font-size: 22px;
  line-height: 30px;
  cursor: pointer;
}

.qm-uc-modal-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 36px;
}

.qm-uc-modal-head img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.qm-uc-modal-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 850;
}

.qm-uc-modal-head p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.qm-uc-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 20px 0;
  padding: 5px;
  border-radius: 14px;
  background: #f8fafc;
}

.qm-uc-tabs button,
.qm-uc-methods button {
  border: 0;
  border-radius: 10px;
  padding: 10px 8px;
  background: transparent;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.qm-uc-tabs button.is-active,
.qm-uc-methods button.is-active {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}

.qm-uc-methods button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.qm-uc-modal-form {
  display: none;
}

.qm-uc-modal-form.is-active {
  display: grid;
  gap: 14px;
}

.qm-uc-modal-form label {
  display: grid;
  gap: 7px;
  margin: 0;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.qm-uc-modal-form input {
  width: 100%;
  height: 42px;
  border: 1px solid #dbe5ef;
  border-radius: 10px;
  padding: 0 12px;
  background: #fff;
  color: #0f172a;
  font-size: 14px;
  outline: none;
}

.qm-uc-modal-form input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12);
}

.qm-uc-code-row {
  display: grid;
  grid-template-columns: 1fr 112px;
  gap: 10px;
}

.qm-uc-code-row button,
.qm-uc-password-method button,
.qm-uc-submit {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  padding: 0 14px;
  background: #111827;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.qm-uc-code-row button {
  background: #eaf3ff;
  color: #2563eb;
}

.qm-uc-submit {
  width: 100%;
  margin-top: 2px;
}

.qm-uc-submit:disabled,
.qm-uc-code-row button:disabled,
.qm-uc-password-method button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.qm-uc-form-message {
  min-height: 18px;
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.4;
}

.qm-uc-form-message--success {
  color: #059669;
}

.qm-uc-form-message--error {
  color: #dc2626;
}

.qm-uc-wechat-box {
  display: grid;
  justify-items: center;
  gap: 10px;
  border: 1px dashed #dbe5ef;
  border-radius: 14px;
  padding: 18px;
  background: #f8fafc;
  text-align: center;
}

.qm-uc-wechat-current {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.qm-uc-wechat-current span {
  display: grid;
  gap: 2px;
}

.qm-uc-wechat-current em {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.qm-uc-wechat-box img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.qm-uc-wechat-box strong {
  font-size: 16px;
}

.qm-uc-wechat-box span,
.qm-uc-password-verify p,
.qm-uc-password-method span {
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.qm-uc-wechat-qr {
  display: grid;
  place-items: center;
  width: min(240px, 100%);
  min-height: 240px;
  overflow: hidden;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  background: #fff;
}

.qm-uc-wechat-qr iframe {
  width: 240px !important;
  height: 240px !important;
  max-width: 100%;
  border: 0;
}

.qm-uc-password-verify {
  display: grid;
  gap: 12px;
  border: 1px solid #edf2f7;
  border-radius: 14px;
  padding: 14px;
  background: #f8fafc;
}

.qm-uc-password-verify p {
  margin: 0;
}

.qm-uc-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.qm-uc-password-method {
  display: none;
  gap: 10px;
}

.qm-uc-password-method.is-active {
  display: grid;
}

@media (max-width: 980px) {
  .qm-uc-hero {
    padding: 22px;
  }

  .qm-uc-hero-avatar {
    width: 76px;
    height: 76px;
  }

  .qm-uc-hero h1 {
    font-size: 24px;
  }

  .qm-uc-hero p {
    font-size: 14px;
  }

  .qm-uc-renew-button {
    min-height: 46px;
    font-size: 15px;
  }

  .qm-uc-growth {
    margin-top: 14px;
    padding: 22px;
  }

  .qm-uc-grid {
    gap: 14px;
    margin-top: 14px;
  }

  .qm-uc-panel {
    padding: 22px;
  }
}

@media (max-width: 620px) {
  .qm-uc-avatar-button {
    width: 38px;
    height: 38px;
  }

  .qm-uc-header-card {
    right: -8px;
    width: min(300px, calc(100vw - 24px));
    border-radius: 16px;
    padding: 14px;
  }

  .qm-uc-card-summary {
    gap: 10px;
    padding-bottom: 12px;
  }

  .qm-uc-card-avatar {
    width: 44px;
    height: 44px;
  }

  .qm-uc-card-summary strong {
    font-size: 16px;
  }

  .qm-uc-card-summary span {
    margin-top: 2px;
    font-size: 13px;
  }

  .qm-uc-card-meta {
    gap: 9px;
    margin-bottom: 14px;
  }

  .qm-uc-card-meta dt,
  .qm-uc-card-meta dd {
    font-size: 14px;
  }

  .qm-uc-card-actions {
    gap: 8px;
  }

  .qm-uc-card-action {
    min-height: 42px;
    border-radius: 10px;
    padding: 0 10px;
    font-size: 14px;
  }

  .qm-uc-page {
    padding: 14px 10px 28px;
  }

  .qm-uc-hero {
    gap: 16px;
    padding: 18px;
  }

  .qm-uc-hero-profile {
    gap: 14px;
  }

  .qm-uc-hero-avatar {
    width: 64px;
    height: 64px;
  }

  .qm-uc-hero-title-row {
    gap: 8px;
  }

  .qm-uc-hero h1 {
    font-size: 21px;
  }

  .qm-uc-badge {
    min-height: 24px;
    padding: 0 10px;
    font-size: 12px;
  }

  .qm-uc-growth h2,
  .qm-uc-panel h2 {
    font-size: 18px;
  }

  .qm-uc-growth strong {
    font-size: 26px;
  }

  .qm-uc-growth span {
    font-size: 17px;
  }

  .qm-uc-growth-note {
    font-size: 13px;
  }

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

  .qm-uc-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    font-size: 19px;
  }

  .qm-uc-order-stats {
    gap: 8px;
  }

  .qm-uc-order-stats div {
    min-height: 66px;
    padding-top: 12px;
  }

  .qm-uc-info-list {
    gap: 13px;
  }
}

.qm-uc-renew-modal .qm-uc-renew-panel--simple {
  box-sizing: border-box;
  width: min(610px, calc(100vw - 28px));
  max-height: min(820px, calc(100vh - 28px));
  border-radius: 14px;
  padding: 20px 22px 0;
  background: #fff;
}

.qm-uc-renew-modal .qm-uc-renew-panel--simple .qm-uc-renew-level-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.qm-uc-renew-modal .qm-uc-renew-panel--simple .qm-uc-renew-detail {
  display: none;
}

.qm-uc-renew-modal .qm-uc-renew-panel--simple .qm-uc-renew-detail.is-active {
  display: grid;
}

.qm-uc-renew-modal .qm-uc-renew-panel--simple .qm-uc-renew-benefits li {
  display: block;
  gap: 0;
}

.qm-uc-renew-modal .qm-uc-renew-panel--simple .qm-uc-renew-benefits li::before,
.qm-uc-renew-modal .qm-uc-renew-panel--simple .qm-uc-renew-features li::before {
  content: none !important;
}

.qm-uc-renew-modal .qm-uc-renew-panel--simple .qm-uc-renew-specs--simple {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.qm-uc-renew-modal .qm-uc-renew-panel--simple .qm-uc-renew-specs--simple button {
  min-height: 86px;
  border-width: 2px;
  border-radius: 8px;
  text-align: center;
}

.qm-uc-renew-modal .qm-uc-renew-panel--simple .qm-uc-pay-panel {
  grid-template-columns: 1fr 190px;
  border-radius: 10px;
}

@media (max-width: 680px) {
  .qm-uc-renew-modal .qm-uc-renew-panel--simple {
    padding: 16px 14px 0;
  }

  .qm-uc-renew-modal .qm-uc-renew-panel--simple .qm-uc-renew-detail.is-active,
  .qm-uc-renew-modal .qm-uc-renew-panel--simple .qm-uc-pay-panel {
    grid-template-columns: 1fr;
  }
}

/* Refined membership modal, closer to the compact VIP selector reference. */
.qm-uc-renew-modal .qm-uc-renew-panel--simple {
  width: min(620px, calc(100vw - 28px));
  border: 1px solid #d9e1ea;
  border-radius: 12px;
  padding: 22px 22px 0;
  background: #fff;
  box-shadow: 0 18px 54px rgba(15, 23, 42, 0.28);
}

.qm-uc-renew-modal .qm-uc-renew-simple-head {
  padding: 0 42px 16px 0;
}

.qm-uc-renew-modal .qm-uc-renew-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, #2175ff 0%, #1457e7 100%);
  color: transparent;
  box-shadow: 0 8px 18px rgba(33, 117, 255, 0.18);
}

.qm-uc-renew-modal .qm-uc-renew-brand-icon::before {
  width: 15px;
  height: 8px;
  content: "";
  border-radius: 2px;
  background: #fff;
  transform: skewX(-18deg);
}

.qm-uc-renew-modal .qm-uc-renew-brand strong {
  color: #111827;
  font-size: 15px;
  font-weight: 900;
}

.qm-uc-renew-modal .qm-uc-renew-brand p {
  margin-top: 5px;
  color: #ff4b78;
  font-size: 15px;
  font-weight: 900;
}

.qm-uc-renew-modal .qm-uc-renew-level-tabs {
  gap: 10px;
  margin-top: 0;
}

.qm-uc-renew-modal .qm-uc-renew-level-tab {
  min-height: 78px;
  border: 1px solid transparent;
  border-radius: 7px;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.qm-uc-renew-modal .qm-uc-renew-level-tab::after {
  position: absolute;
  right: -28px;
  bottom: -42px;
  z-index: 0;
  content: "♕";
  color: rgba(255, 255, 255, 0.18);
  font-size: 122px;
  font-weight: 900;
  line-height: 1;
}

.qm-uc-renew-modal .qm-uc-renew-level-tab--vip {
  background:
    radial-gradient(circle at 72% 74%, rgba(255, 255, 255, 0.34), transparent 34%),
    linear-gradient(135deg, #f8dba2 0%, #f0bb5d 100%);
  color: #83510d;
}

.qm-uc-renew-modal .qm-uc-renew-level-tab--svip {
  background:
    radial-gradient(circle at 72% 74%, rgba(255, 255, 255, 0.28), transparent 35%),
    linear-gradient(135deg, #1857bd 0%, #49b8ed 100%);
  color: #fff;
}

.qm-uc-renew-modal .qm-uc-renew-level-tab.is-active {
  border-color: #ff4b78;
  box-shadow: 0 10px 24px rgba(255, 75, 120, 0.16);
}

.qm-uc-renew-modal .qm-uc-renew-level-tab > * {
  position: relative;
  z-index: 1;
}

.qm-uc-renew-modal .qm-uc-renew-level-check {
  top: 11px;
  left: 11px;
  width: 18px;
  height: 18px;
  background: #ff4b78;
  font-size: 12px;
}

.qm-uc-renew-modal .qm-uc-renew-tab-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.qm-uc-renew-modal .qm-uc-renew-level-tab strong {
  font-size: 21px;
  font-weight: 950;
  letter-spacing: 0;
}

.qm-uc-renew-modal .qm-uc-renew-detail {
  grid-template-columns: 218px 1fr;
  gap: 18px;
  margin-top: 14px;
}

.qm-uc-renew-modal .qm-uc-renew-benefit-side {
  gap: 8px;
  padding: 6px 6px 0;
}

.qm-uc-renew-modal .qm-uc-renew-detail-icon {
  width: 46px;
  height: 46px;
}

.qm-uc-renew-modal .qm-uc-renew-benefit-side h3 {
  margin-top: 4px;
  color: #ff7542;
  font-size: 16px;
  font-weight: 950;
}

.qm-uc-renew-modal .qm-uc-renew-benefits {
  gap: 5px;
  margin-top: 8px;
  color: #4b5563;
  font-size: 14px;
  font-weight: 850;
}

.qm-uc-renew-modal .qm-uc-renew-choice-side {
  gap: 12px;
}

.qm-uc-renew-modal .qm-uc-renew-specs--simple {
  gap: 10px;
}

.qm-uc-renew-modal .qm-uc-renew-specs--simple button {
  min-height: 90px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #f8fafc;
  color: #111827;
  box-shadow: none;
}

.qm-uc-renew-modal .qm-uc-renew-specs--simple button.is-active {
  border-color: #ff4b78;
  background: #fff;
  box-shadow: inset 0 0 0 1px #ff4b78;
}

.qm-uc-renew-modal .qm-uc-renew-specs--simple em {
  top: -7px;
  right: 13px;
  min-height: 19px;
  border-radius: 4px;
  padding: 0 8px;
  background: #ff7a1a;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 19px;
  box-shadow: none;
}

.qm-uc-renew-modal .qm-uc-renew-specs--simple strong {
  color: #ff4b78;
  font-size: 20px;
  line-height: 1;
}

.qm-uc-renew-modal .qm-uc-renew-specs--simple span {
  margin-top: 8px;
  color: #1686ff;
  font-size: 15px;
  font-weight: 900;
}

.qm-uc-renew-modal .qm-uc-renew-notice {
  border-radius: 8px;
  padding: 11px 14px;
  background: #f6f6f6;
  color: #9b9b9b;
  font-size: 13px;
  font-weight: 800;
}

.qm-uc-renew-modal .qm-uc-payment-methods {
  gap: 10px;
  margin-top: 12px;
}

.qm-uc-renew-modal .qm-uc-payment-methods button {
  min-height: 45px;
  border: 1px solid #dfe6ef;
  border-radius: 7px;
  background: #fff;
  color: #1f2937;
  font-size: 15px;
  font-weight: 900;
  box-shadow: none;
}

.qm-uc-renew-modal .qm-uc-payment-methods button.is-active {
  border-color: #3478ff;
  box-shadow: inset 0 0 0 1px #3478ff;
}

.qm-uc-renew-modal .qm-uc-payment-methods span {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  font-size: 15px;
}

.qm-uc-renew-modal .qm-uc-renew-panel--simple .qm-uc-renew-footer {
  margin: 18px -22px 0;
  border-top: 1px solid #edf2f7;
  padding: 13px 22px;
  background: rgba(255, 255, 255, 0.98);
}

.qm-uc-renew-modal .qm-uc-renew-footer span {
  color: #94a3b8;
  font-size: 13px;
}

.qm-uc-renew-modal .qm-uc-renew-footer strong {
  color: #0f172a;
  font-size: 16px;
}

.qm-uc-renew-modal .qm-uc-renew-panel--simple .qm-uc-renew-footer button {
  min-width: 152px;
  min-height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7b65 0%, #ff3138 100%);
  box-shadow: 0 12px 24px rgba(255, 49, 56, 0.18);
}

.qm-uc-renew-modal .qm-uc-renew-panel--simple .qm-uc-pay-panel {
  margin-top: 12px;
  border-color: #dbeafe;
  background: linear-gradient(135deg, #f0f7ff 0%, #f2fffb 100%);
}

@media (max-width: 680px) {
  .qm-uc-renew-modal .qm-uc-renew-detail {
    grid-template-columns: 1fr;
  }

  .qm-uc-renew-modal .qm-uc-renew-benefit-side {
    justify-items: center;
    text-align: center;
  }
}

/* Compact user-center page: profile summary lives inside the hero strip. */
.qm-uc-page .qm-uc-hero {
  display: grid;
  align-items: stretch;
  gap: 18px;
  min-height: 0;
  padding: 28px 34px 22px;
}

.qm-uc-hero-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
}

.qm-uc-hero-contact-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  border-top: 1px solid #eef3f8;
  padding-top: 16px;
}

.qm-uc-hero-contact-row {
  display: grid;
  gap: 6px;
  min-width: 0;
  min-height: 58px;
  border: 1px solid #eef3f8;
  border-radius: 12px;
  padding: 10px 12px;
  background: #f8fafc;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.qm-uc-hero-contact-row:hover,
.qm-uc-hero-contact-row:focus {
  border-color: #bae6fd;
  background: #f0f9ff;
  transform: translateY(-1px);
}

.qm-uc-hero-contact-row span {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
}

.qm-uc-hero-contact-row strong {
  min-width: 0;
  color: #334155;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qm-uc-hero-balance-row {
  cursor: default;
}

.qm-uc-hero-balance-row strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.qm-uc-hero-balance-row button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #0ea5e9;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.qm-uc-orders-panel {
  margin-top: 18px;
  border: 1px solid #edf2f7;
  border-radius: 20px;
  padding: 18px 20px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
}

.qm-uc-orders-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.qm-uc-orders-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 20px;
  font-weight: 900;
}

.qm-uc-orders-head span,
.qm-uc-empty-orders {
  margin: 0;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 750;
}

.qm-uc-orders-list {
  display: grid;
  gap: 10px;
}

.qm-uc-user-order {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto 82px;
  gap: 12px;
  align-items: center;
  min-height: 76px;
  border: 1px solid #eef3f8;
  border-radius: 14px;
  padding: 10px 12px;
  background: #f8fafc;
}

.qm-uc-user-order-cover {
  display: grid;
  place-items: center;
  width: 64px;
  height: 48px;
  border-radius: 10px;
  background: #eef6ff;
  overflow: hidden;
  text-decoration: none !important;
}

.qm-uc-user-order-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qm-uc-user-order-cover span {
  color: #0ea5e9;
  font-size: 18px;
  font-weight: 900;
}

.qm-uc-user-order-main {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.qm-uc-user-order-main strong {
  color: #0f172a;
  font-size: 14px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qm-uc-user-order-main span {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 750;
}

.qm-uc-user-order-meta {
  display: grid;
  gap: 5px;
  text-align: right;
}

.qm-uc-user-order-meta b {
  color: #0f766e;
  font-size: 15px;
  font-weight: 950;
}

.qm-uc-user-order-meta em {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.qm-uc-user-order-meta .qm-uc-order-status--paid {
  color: #16a34a;
}

.qm-uc-user-order-meta .qm-uc-order-status--pending {
  color: #d97706;
}

.qm-uc-user-order-action {
  text-align: right;
}

.qm-uc-user-order-action a,
.qm-uc-user-order-action button,
.qm-uc-user-order-action span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  min-height: 30px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  padding: 0 12px;
  background: #fff;
  color: #0ea5e9;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none !important;
}

.qm-uc-user-order-action button,
.qm-uc-user-order-action span {
  color: #94a3b8;
}

.qm-uc-recharge-modal[hidden] {
  display: none !important;
}

.qm-uc-recharge-modal {
  position: fixed;
  inset: 0;
  z-index: 100002;
  display: grid;
  place-items: center;
  padding: 18px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.qm-uc-recharge-panel {
  position: relative;
  width: min(520px, 100%);
  border: 1px solid #dfe8f3;
  border-radius: 22px;
  padding: 26px;
  background: #fff;
  box-shadow: 0 26px 82px rgba(15, 23, 42, 0.26);
}

.qm-uc-recharge-panel > span {
  display: inline-flex;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 10px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 12px;
  font-weight: 900;
}

.qm-uc-recharge-panel h2 {
  margin: 14px 0 8px;
  color: #0f172a;
  font-size: 26px;
  font-weight: 950;
}

.qm-uc-recharge-panel p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.qm-uc-recharge-amounts,
.qm-uc-recharge-pay-methods {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.qm-uc-recharge-amounts button,
.qm-uc-recharge-pay-methods button {
  min-height: 42px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  color: #334155;
  font-weight: 900;
  cursor: pointer;
}

.qm-uc-recharge-amounts button.is-active,
.qm-uc-recharge-pay-methods button.is-active {
  border-color: #0ea5e9;
  background: #eff6ff;
  color: #0369a1;
}

.qm-uc-recharge-custom {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.qm-uc-recharge-custom input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0 14px;
  font-size: 16px;
  font-weight: 800;
}

.qm-uc-recharge-pay-methods {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.qm-uc-recharge-submit,
.qm-uc-recharge-qr-panel button {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  margin-top: 16px;
  background: linear-gradient(135deg, #ff7b65 0%, #ff3138 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  cursor: pointer;
}

.qm-uc-recharge-qr-panel[hidden] {
  display: none !important;
}

.qm-uc-recharge-qr-panel {
  display: grid;
  grid-template-columns: 142px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
  border-radius: 16px;
  padding: 14px;
  background: #f8fafc;
}

.qm-uc-recharge-qr-panel strong {
  display: block;
  color: #0f766e;
  font-size: 28px;
  font-weight: 950;
}

.qm-uc-recharge-qr-panel button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.qm-uc-hero-contact-row .qm-uc-wechat-avatar {
  width: 24px;
  height: 24px;
}

.qm-uc-page .qm-uc-wrap {
  padding-bottom: 260px;
}

@media (max-width: 900px) {
  .qm-uc-hero-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .qm-uc-hero-contact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qm-uc-user-order {
    grid-template-columns: 54px minmax(0, 1fr) auto;
  }

  .qm-uc-user-order-action {
    grid-column: 2 / -1;
  }
}

@media (max-width: 560px) {
  .qm-uc-page .qm-uc-hero {
    padding: 18px;
  }

  .qm-uc-hero-contact-list {
    grid-template-columns: 1fr;
  }

  .qm-uc-orders-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .qm-uc-user-order,
  .qm-uc-recharge-qr-panel {
    grid-template-columns: 1fr;
  }

  .qm-uc-user-order-cover {
    width: 100%;
    height: 92px;
  }

  .qm-uc-user-order-meta,
  .qm-uc-user-order-action {
    text-align: left;
  }

  .qm-uc-page .qm-uc-renew-button {
    width: 100%;
  }
}

/* Youke benchmark clone for the VIP purchase modal. */
.qm-uc-renew-modal .qm-uc-renew-panel--youke {
  --youke-pink: #ff5473;
  --youke-blue: #268df7;
  --youke-muted: #999;
  box-sizing: border-box;
  width: 600px;
  max-width: calc(100vw - 20px);
  max-height: calc(100vh - 20px);
  border: 0;
  border-radius: 8px;
  padding: 30px;
  overflow: auto;
  background: #fff;
  color: #4e5358;
  box-shadow: 0 0 0 transparent, 0 14px 38px rgba(0, 0, 0, 0.28);
  font-size: 14px;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-modal-close {
  top: 22px;
  right: 24px;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #b7b7b7;
  font-family: Arial, sans-serif;
  font-size: 34px;
  font-weight: 200;
  line-height: 1;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-modal-close:hover,
.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-modal-close:focus {
  color: #8f8f8f;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-simple-head {
  padding: 0 44px 14px 0;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-brand {
  gap: 12px;
  align-items: center;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-brand-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-brand-icon svg,
.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-brand-icon img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-brand strong {
  display: block;
  color: #4e5358;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-brand p {
  margin: 4px 0 0;
  color: var(--youke-pink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-level-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 10px;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-level-tab {
  position: relative;
  flex: 1 1 0;
  justify-content: center;
  min-height: 96px;
  border: 0;
  border-radius: 6px;
  padding: 15px;
  overflow: hidden;
  box-shadow: none;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-level-tab:hover {
  transform: translateY(-1px);
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-level-tab--vip {
  background: linear-gradient(25deg, #e6aa4f 10%, #f1d7ad 70%, #f5b97b 100%);
  color: #866127;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-level-tab--svip {
  background: linear-gradient(310deg, #9dd8ff, #46b3f9 30%, #063ba7) rgba(107, 106, 102, 0.3);
  color: #e4e2fb;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-level-tab.is-active {
  box-shadow: 0 0 10px rgba(98, 98, 98, 0.6);
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-level-tab::after {
  position: absolute;
  left: -40px;
  top: 50%;
  width: 160px;
  height: 160px;
  content: "";
  opacity: 0.18;
  transform: translateY(-30%);
  background: url("https://www.youkewc.com/wp-content/uploads/2025/07/%E7%BB%88%E8%BA%AB%E4%BC%9A%E5%91%98%E5%9B%BE%E6%A0%872.png") center / contain no-repeat;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-level-tab--svip::after {
  background-image: url("https://www.youkewc.com/wp-content/uploads/2025/07/%E7%BB%88%E8%BA%AB%E4%BC%9A%E5%91%98%E5%9B%BE%E6%A0%871.png");
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-level-tab > :not(.qm-uc-renew-level-check) {
  position: relative;
  z-index: 2;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-level-check {
  position: absolute !important;
  top: 12px !important;
  right: auto !important;
  bottom: auto !important;
  left: 12px !important;
  display: none;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  background: #fff;
  border-radius: 50%;
  color: #e8b95c;
  font-size: 15px;
  font-weight: 900;
  line-height: 20px;
  transform: none !important;
  z-index: 5 !important;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-level-tab.is-active .qm-uc-renew-level-check {
  display: grid;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-tab-icon {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.45));
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-level-tab strong {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
}

.qm-uc-renew-modal .qm-uc-renew-panel--font-dingtalk .qm-uc-renew-level-tab strong,
.qm-uc-renew-modal .qm-uc-renew-panel--font-dingtalk .qm-uc-renew-benefit-side h3 {
  font-family: "DingTalk JinBuTi", "Microsoft YaHei", "PingFang SC", sans-serif;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-detail {
  display: none;
  grid-template-columns: 230px 1fr;
  gap: 14px;
  margin-top: 0;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-detail.is-active {
  display: grid;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-benefit-side {
  justify-items: center;
  gap: 0;
  padding: 0 8px;
  text-align: center;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-detail-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-benefit-side h3 {
  margin: 0 0 14px;
  color: #f9915a;
  font-size: 15px;
  font-weight: 500;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-benefits {
  display: inline-grid;
  gap: 4px;
  color: #4e5358;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-choice-side {
  gap: 10px;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-specs--simple {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-specs--simple button {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  min-width: 140px;
  min-height: 86px;
  border: 2px solid rgba(50, 50, 50, 0.06);
  border-radius: 6px;
  padding: 5px 8px;
  background: rgba(116, 116, 116, 0.08);
  color: #4e5358;
  font-weight: 400;
  box-shadow: none;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-specs--simple button.is-active {
  border-color: var(--youke-pink);
  background: #fff;
  box-shadow: none;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-specs--simple button.is-active::before {
  position: absolute;
  left: 5px;
  top: 5px;
  content: "✓";
  color: var(--youke-pink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-specs--simple em {
  position: static;
  min-height: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: #ff6b6b;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-specs--simple strong {
  color: var(--youke-pink);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.15;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-specs--simple del {
  color: #999;
  font-size: 13px;
  line-height: 1;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-specs--simple span {
  margin: 0;
  color: var(--youke-blue);
  font-size: 14px;
  font-weight: 400;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-specs--simple button:only-child {
  grid-column: 1 / -1;
  width: 170px;
  justify-self: center;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-notice {
  border: 0;
  border-radius: 6px;
  padding: 12px;
  background: rgba(116, 116, 116, 0.08);
  color: #999;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-payment-methods::before {
  grid-column: 1 / -1;
  content: "请选择支付方式";
  color: #999;
  font-size: 13px;
  font-weight: 400;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-payment-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-payment-methods button {
  justify-content: center;
  min-height: 50px;
  border: 1px solid rgba(50, 50, 50, 0.06);
  border-radius: 6px;
  background: #fff;
  color: #4e5358;
  font-size: 14px;
  font-weight: 400;
  box-shadow: none;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-payment-methods button.is-active {
  border-color: #3478ff;
  box-shadow: inset 0 0 0 1px #3478ff;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-payment-methods span {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-payment-methods [data-qm-uc-pay-method="alipay"] span {
  background: #0aa7f5;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-payment-methods [data-qm-uc-pay-method="wechat"] span {
  background: #19b957;
  font-size: 20px;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-footer {
  position: static;
  display: block;
  margin: 14px 0 0;
  border: 0;
  padding: 0;
  background: transparent;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-selected-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-footer button {
  width: 100%;
  min-height: 46px;
  border-radius: 100px;
  background: linear-gradient(135deg, #fd7a64 10%, #fb2d2d 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  box-shadow: none;
}

.qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-pay-panel {
  grid-template-columns: 1fr 170px;
  gap: 12px;
  margin-top: 12px;
  border: 0;
  border-radius: 6px;
  padding: 12px;
  background: rgba(116, 116, 116, 0.08);
}

@media (max-width: 640px) {
  .qm-uc-renew-modal .qm-uc-renew-panel--youke {
    padding: 15px;
  }

  .qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-level-tabs,
  .qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-detail.is-active,
  .qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-payment-methods,
  .qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-pay-panel {
    grid-template-columns: 1fr;
  }

  .qm-uc-renew-modal .qm-uc-renew-panel--youke .qm-uc-renew-level-tabs {
    display: grid;
  }
}
