:root {
  --h5-bg: #f5f8f4;
  --h5-bg-soft: #f8fcf8;
  --h5-text: #0f172a;
  --h5-text-soft: #64748b;
  --h5-text-light: #94a3b8;
  --h5-line: rgba(33, 184, 117, 0.12);
  --h5-primary: #21b875;
  --h5-primary-dark: #18945d;
  --h5-warning: #ffb800;
  --h5-card: rgba(255, 255, 255, 0.94);
  --h5-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  --h5-shadow-strong: 0 28px 60px rgba(15, 23, 42, 0.14);
  --h5-radius-xl: 28px;
  --h5-radius-lg: 22px;
  --h5-radius-md: 18px;
  --h5-shell-width: 720px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(61, 203, 130, 0.14), transparent 32%),
    linear-gradient(180deg, var(--h5-bg-soft) 0%, var(--h5-bg) 100%);
  color: var(--h5-text);
}

body.sjz-h5-page-recharge-center,
body.sjz-h5-page-profile-edit {
  background:
    radial-gradient(circle at top left, rgba(62, 130, 255, 0.28), transparent 30%),
    radial-gradient(circle at top right, rgba(46, 255, 181, 0.16), transparent 26%),
    linear-gradient(180deg, #0b1d5a 0%, #151e33 34%, #11151f 100%);
  color: #fff;
}

body.sjz-h5-page-join-us {
  background:
    radial-gradient(circle at top left, rgba(255, 196, 99, 0.18), transparent 28%),
    linear-gradient(180deg, #f7efe2 0%, #f5f6fb 36%, #eef1f8 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.h5-shell {
  width: min(100%, var(--h5-shell-width));
  margin: 0 auto;
  padding: 18px 16px 28px;
}

.h5-shell--tabbar {
  padding-bottom: 108px;
}

.h5-card,
.h5-section,
.h5-form-card,
.h5-list-card,
.h5-inline-card,
.h5-rich-card,
.h5-profile-card,
.h5-recharge-card,
.h5-order-summary,
.h5-stats-card {
  background: var(--h5-card);
  border: 1px solid var(--h5-line);
  border-radius: var(--h5-radius-xl);
  box-shadow: var(--h5-shadow);
}

.h5-section,
.h5-form-card,
.h5-list-card,
.h5-inline-card,
.h5-rich-card,
.h5-profile-card,
.h5-recharge-card {
  padding: 24px 20px;
}

.h5-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.h5-section__title {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
}

.h5-section__desc {
  margin: 0;
  font-size: 13px;
  color: var(--h5-text-soft);
}

.h5-empty-tip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  color: var(--h5-text-soft);
  font-size: 14px;
  text-align: center;
}

.h5-home-hero {
  padding: 0;
  overflow: hidden;
}

.h5-banner {
  position: relative;
  min-height: 240px;
}

.h5-banner__track {
  display: flex;
  overflow: hidden;
  border-radius: var(--h5-radius-xl);
}

.h5-banner__slide,
.h5-banner__placeholder {
  position: relative;
  width: 100%;
  min-width: 100%;
  min-height: 240px;
  background: linear-gradient(135deg, #82e7bd 0%, #52d39e 54%, #2fbe80 100%);
  overflow: hidden;
}

.h5-banner__image {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.h5-banner__slide::after,
.h5-banner__placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(15, 23, 42, 0.24)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 66%);
}

.h5-banner__glow {
  position: absolute;
  inset: auto -60px -80px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(12px);
}

.h5-banner__copy {
  position: absolute;
  inset: auto 24px 22px 24px;
  z-index: 1;
  color: #fff;
}

.h5-banner__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.h5-banner__title {
  margin: 0;
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1.1;
  font-weight: 900;
}

.h5-banner__desc {
  margin: 10px 0 0;
  max-width: 460px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.h5-banner__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.h5-banner__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
}

.h5-banner__dot.is-active {
  background: #00ff88;
}

.h5-notice-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 18px;
  margin: 18px 0 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
  border: 1px solid var(--h5-line);
}

.h5-notice-bar__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--h5-primary);
  box-shadow: 0 0 0 8px rgba(33, 184, 117, 0.12);
}

.h5-notice-bar__text {
  display: block;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #475569;
  font-size: 14px;
  font-weight: 500;
}

.h5-service-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}

.h5-service-grid__main,
.h5-service-grid__card {
  border: 0;
  text-align: left;
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--h5-shadow);
  border: 1px solid rgba(33, 184, 117, 0.08);
}

.h5-service-grid__main {
  min-height: 260px;
  background: linear-gradient(135deg, #55d6a1 0%, #36c98a 52%, #21b875 100%);
  color: #fff;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.h5-service-grid__eyebrow {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.h5-service-grid__title {
  display: block;
  font-size: 34px;
  line-height: 1.18;
  font-weight: 900;
}

.h5-service-grid__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-width: 128px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #fff;
  color: #1b8a5a;
  font-size: 14px;
  font-weight: 800;
}

.h5-service-grid__card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 248, 0.98));
  color: var(--h5-text);
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.h5-service-grid__card.is-light {
  background: linear-gradient(180deg, #ffffff 0%, #f3fbf7 100%);
}

.h5-service-grid__card strong {
  font-size: 22px;
  font-weight: 900;
}

.h5-service-grid__card span {
  font-size: 13px;
  line-height: 1.7;
  color: var(--h5-text-soft);
}

.h5-chip-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.h5-chip-scroll::-webkit-scrollbar {
  display: none;
}

.h5-chip-card {
  min-width: 180px;
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 248, 0.98));
  border: 1px solid var(--h5-line);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.05);
}

.h5-chip-card__accent {
  width: 56px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--h5-primary), #67d8a5);
  margin-bottom: 16px;
}

.h5-chip-card strong {
  display: block;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 800;
}

.h5-credit-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--h5-line);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
  cursor: pointer;
}

.h5-credit-card__label,
.h5-credit-card__tip {
  color: var(--h5-text-soft);
  font-size: 13px;
}

.h5-credit-card__brand {
  font-size: 15px;
  font-weight: 800;
}

.h5-credit-card__slash {
  color: var(--h5-primary);
}

.h5-tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, var(--h5-shell-width));
  display: flex;
  align-items: center;
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--h5-line);
  box-shadow: 0 -10px 24px rgba(15, 23, 42, 0.06);
  z-index: 30;
}

.h5-tabbar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 74px;
  color: #8b94a7;
}

.h5-tabbar__icon {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  background: #eef6f1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}

.h5-tabbar__label {
  font-size: 12px;
  font-weight: 600;
}

.h5-tabbar__item.is-active {
  color: var(--h5-primary);
}

.h5-tabbar__item.is-active .h5-tabbar__icon {
  background: rgba(33, 184, 117, 0.16);
}

.h5-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 12px;
  margin-bottom: 18px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--h5-shadow);
}

.h5-tabs__item {
  position: relative;
  min-height: 48px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: #64748b;
  font-size: 15px;
  font-weight: 700;
}

.h5-tabs__item.is-active {
  color: var(--h5-warning);
  background: rgba(255, 184, 0, 0.08);
}

.h5-stack {
  display: grid;
  gap: 16px;
}

.h5-order-card {
  padding: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--h5-shadow);
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.h5-order-card__head,
.h5-order-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.h5-order-card__head {
  padding-bottom: 14px;
  border-bottom: 1px solid #f3f4f6;
}

.h5-order-card__sn {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
  color: #96a0ad;
}

.h5-order-card__status {
  font-size: 15px;
  font-weight: 800;
}

.is-status-pending {
  color: #ff8a00;
}

.is-status-processing {
  color: #17b450;
}

.is-status-completed {
  color: #2f7cff;
}

.is-status-cancelled {
  color: #b0b7c3;
}

.h5-order-card__body {
  display: flex;
  gap: 14px;
  padding: 16px 0;
}

.h5-order-card__thumb,
.h5-order-card__thumb-fallback {
  width: 84px;
  height: 84px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #5f88ff 0%, #4e69ef 52%, #445ae7 100%);
}

.h5-order-card__thumb-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
  font-weight: 900;
}

.h5-order-card__main {
  flex: 1;
  min-width: 0;
}

.h5-order-card__title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 10px;
}

.h5-order-card__meta {
  font-size: 13px;
  color: #8f97a3;
  line-height: 1.7;
}

.h5-order-card__side {
  flex-shrink: 0;
  text-align: right;
}

.h5-order-card__price {
  font-size: 22px;
  font-weight: 800;
}

.h5-order-card__qty {
  margin-top: 24px;
  font-size: 13px;
  color: #a1a8b3;
}

.h5-order-card__foot {
  padding-top: 14px;
  border-top: 1px solid #f3f4f6;
}

.h5-order-card__time {
  font-size: 13px;
  color: #8f97a3;
}

.h5-inline-actions {
  display: flex;
  gap: 10px;
}

.h5-inline-btn,
.h5-inline-btn--danger,
.h5-inline-btn--primary {
  border: 1px solid #d8dbe1;
  background: #fff;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #444;
}

.h5-inline-btn--primary {
  color: #fff;
  border: 0;
  background: linear-gradient(180deg, #ffd048 0%, #ffba0a 100%);
}

.h5-inline-btn--danger {
  border-color: #ff4d4f;
  color: #ff4d4f;
}

.h5-profile-hero {
  position: relative;
  overflow: hidden;
  padding: 26px 22px 60px;
  border-radius: 30px;
  background: linear-gradient(135deg, #2b2e3d 0%, #15161c 100%);
  box-shadow: 0 20px 40px rgba(21, 22, 28, 0.16);
}

.h5-profile-hero__bg {
  position: absolute;
  top: -80px;
  right: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
}

.h5-profile-hero__row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
}

.h5-avatar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #e2c285, #b88645);
  flex-shrink: 0;
}

.h5-avatar::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #3a3d4a;
}

.h5-avatar__text,
.h5-avatar__img {
  position: relative;
  z-index: 1;
}

.h5-avatar__text {
  color: #f0dbb3;
  font-size: 36px;
  font-weight: 700;
}

.h5-avatar__img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
}

.h5-profile-hero__info {
  min-width: 0;
}

.h5-profile-hero__name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.h5-profile-hero__name {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.h5-profile-hero__badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e2c285, #b88645);
  color: #15161c;
  font-size: 12px;
  font-weight: 800;
}

.h5-profile-hero__id {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  font-family: "Courier New", monospace;
}

.h5-stats-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  margin: -34px auto 22px;
  width: calc(100% - 20px);
  padding: 18px 0;
  position: relative;
  z-index: 1;
}

.h5-stats-card__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 4px 12px;
}

.h5-stats-card__label {
  font-size: 13px;
  color: #86868b;
}

.h5-stats-card__value {
  font-size: 30px;
  font-weight: 800;
  color: #1d1d1f;
}

.h5-stats-card__value--small {
  font-size: 16px;
}

.h5-stats-card__divider {
  width: 1px;
  background: #f0f0f0;
}

.h5-warning-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding: 18px 18px;
  border: 1px solid #ffe6b3;
  border-radius: 18px;
  background: linear-gradient(90deg, #fffbf0, #fff5e6);
}

.h5-warning-banner__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffb822;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.h5-warning-banner p {
  margin: 0;
  font-size: 14px;
  color: #b37700;
}

.h5-menu-list {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.h5-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 18px;
  border-bottom: 1px solid #f2f2f7;
}

.h5-menu-item:last-child {
  border-bottom: 0;
}

.h5-menu-item__left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.h5-menu-item__icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
}

.h5-menu-item__title {
  font-size: 17px;
  font-weight: 600;
}

.h5-menu-item__arrow {
  width: 12px;
  height: 12px;
  border-top: 2px solid #c7c7cc;
  border-right: 2px solid #c7c7cc;
  transform: rotate(45deg);
}

.h5-subpage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.h5-subpage-head__back {
  min-width: 54px;
  font-size: 14px;
  font-weight: 700;
  color: var(--h5-text-soft);
}

.h5-subpage-head__title {
  margin: 0 auto;
  font-size: 20px;
  font-weight: 900;
}

.h5-subpage-head--ghost .h5-subpage-head__back,
.h5-subpage-head--ghost .h5-subpage-head__title,
.h5-subpage-head--light .h5-subpage-head__back,
.h5-subpage-head--light .h5-subpage-head__title {
  color: #fff;
}

.h5-report-hero,
.h5-join-hero,
.h5-recharge-hero,
.h5-order-summary {
  position: relative;
  overflow: hidden;
  padding: 28px 24px;
  margin-bottom: 18px;
  border-radius: 28px;
  box-shadow: var(--h5-shadow-strong);
}

.h5-report-hero {
  background: linear-gradient(135deg, #111827 0%, #1e293b 55%, #334155 100%);
  color: #fff;
}

.h5-report-hero::after,
.h5-join-hero::after {
  content: "";
  position: absolute;
  top: -42px;
  right: -20px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.h5-report-hero__badge {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fde68a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.h5-report-hero h2,
.h5-join-hero h2,
.h5-order-summary h2 {
  margin: 14px 0 0;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 900;
}

.h5-report-hero p,
.h5-join-hero p,
.h5-recharge-hero p,
.h5-order-summary p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.8;
}

.h5-join-hero {
  color: #fff7e6;
  background: linear-gradient(135deg, rgba(36, 29, 22, 0.92), rgba(84, 53, 28, 0.9));
}

.h5-rich-card img {
  max-width: 100%;
  height: auto;
}

.h5-form-field {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.h5-form-field:first-child {
  margin-top: 0;
}

.h5-form-field__label {
  font-size: 15px;
  font-weight: 700;
}

.h5-form-field__counter {
  align-self: flex-end;
  font-size: 12px;
  color: var(--h5-text-light);
}

.h5-input,
.h5-select,
.h5-textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 0 16px;
  background: #f8fafc;
  color: var(--h5-text);
}

.h5-input,
.h5-select {
  min-height: 52px;
}

.h5-textarea {
  min-height: 160px;
  padding: 16px;
  resize: vertical;
}

.h5-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.h5-chip {
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  color: #475569;
  border-radius: 16px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
}

.h5-chip.is-active {
  color: #fff;
  border-color: #f59e0b;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.26);
}

.h5-upload-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.h5-upload-item,
.h5-upload-trigger {
  width: 112px;
  height: 112px;
  border-radius: 18px;
  overflow: hidden;
}

.h5-upload-item {
  position: relative;
  background: #e5e7eb;
}

.h5-upload-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.h5-upload-item__remove {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.72);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.h5-upload-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #cbd5e1;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  color: var(--h5-text-soft);
  font-size: 14px;
  font-weight: 700;
}

.h5-upload-trigger__input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.h5-primary-btn {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(245, 158, 11, 0.28);
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.h5-primary-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  box-shadow: none;
}

.h5-primary-btn--neon {
  background: linear-gradient(135deg, #9cff00 0%, #70ef00 100%);
  color: #101a00;
  box-shadow: 0 20px 40px rgba(124, 255, 0, 0.2);
}

.h5-primary-btn--cyan {
  background: linear-gradient(135deg, #31d6c5 0%, #2f7cff 100%);
  box-shadow: 0 18px 36px rgba(47, 124, 255, 0.28);
}

.h5-agreement {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 14px;
  color: var(--h5-text-soft);
}

.h5-recharge-hero {
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.h5-recharge-hero__kicker {
  font-size: 13px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.72);
}

.h5-recharge-hero__amount {
  display: block;
  margin-top: 16px;
  font-size: clamp(48px, 12vw, 76px);
  line-height: 1;
  font-weight: 800;
}

.h5-recharge-card,
.h5-profile-card {
  background: rgba(14, 18, 28, 0.86);
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.h5-recharge-grid,
.h5-avatar-choice {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.h5-recharge-item,
.h5-avatar-choice__item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  padding: 18px 14px;
}

.h5-recharge-item.is-active,
.h5-avatar-choice__item.is-active {
  border-color: #8fff00;
  box-shadow: 0 16px 36px rgba(107, 255, 0, 0.16);
}

.h5-recharge-item__badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 700;
}

.h5-recharge-item__amount {
  display: block;
  margin-top: 14px;
  font-size: 30px;
  font-weight: 800;
}

.h5-recharge-item__meta {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.h5-inline-card {
  margin-top: 22px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.h5-list-card__title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
}

.h5-inline-card p,
.h5-list-card p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.8;
}

.h5-profile-card__avatar {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.h5-avatar--large {
  width: 132px;
  height: 132px;
}

.h5-avatar--large::before {
  inset: 5px;
}

.h5-avatar--large .h5-avatar__img {
  width: 122px;
  height: 122px;
}

.h5-avatar--large .h5-avatar__text {
  font-size: 56px;
}

.h5-profile-card__copy {
  text-align: center;
}

.h5-profile-card__copy h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.h5-profile-card__copy p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.7;
}

.h5-avatar-choice__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
}

.h5-avatar-choice__item img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
}

.h5-avatar-choice__text {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 700;
}

.h5-gender-switch {
  display: flex;
  max-width: 360px;
  margin: 24px auto 0;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.h5-gender-switch__item {
  flex: 1;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  font-weight: 700;
}

.h5-gender-switch__item.is-active {
  background: linear-gradient(135deg, #ff58a5 0%, #ff6fb5 100%);
  color: #fff;
}

body.sjz-h5-page-profile-edit .h5-input,
body.sjz-h5-page-profile-edit .h5-select,
body.sjz-h5-page-profile-edit .h5-textarea {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.05);
  color: #fff;
}

body.sjz-h5-page-profile-edit .h5-form-field__label,
body.sjz-h5-page-recharge-center .h5-form-field__label,
body.sjz-h5-page-recharge-center .h5-section__title,
body.sjz-h5-page-profile-edit .h5-section__title {
  color: #fff;
}

.h5-bottom-action {
  position: sticky;
  bottom: 0;
  padding: 18px 0 calc(env(safe-area-inset-bottom) + 6px);
  background: linear-gradient(180deg, rgba(17, 19, 26, 0) 0%, rgba(17, 19, 26, 0.9) 36%, rgba(17, 19, 26, 1) 100%);
  margin-top: 18px;
}

.h5-bottom-action--row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.h5-bottom-action__meta {
  flex-shrink: 0;
  min-width: 116px;
  padding: 0 8px;
}

.h5-bottom-action__meta span {
  display: block;
  font-size: 13px;
  color: var(--h5-text-soft);
}

.h5-bottom-action__meta strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  font-weight: 900;
}

.h5-order-summary {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.h5-order-summary__price {
  text-align: right;
}

.h5-order-summary__price span {
  font-size: 16px;
  font-weight: 700;
}

.h5-order-summary__price strong {
  display: block;
  font-size: 36px;
  line-height: 1;
  font-weight: 900;
}

.h5-package-item,
.h5-payment-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 16px;
  margin-top: 12px;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  color: var(--h5-text);
  text-align: left;
}

.h5-package-item.is-active,
.h5-payment-item.is-active {
  border-color: var(--h5-primary);
  background: rgba(33, 184, 117, 0.08);
}

.h5-package-item:first-child,
.h5-payment-item:first-child {
  margin-top: 0;
}

.h5-package-item__name,
.h5-payment-item strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
}

.h5-package-item__desc,
.h5-payment-item span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--h5-text-soft);
}

.h5-package-item__side,
.h5-package-item__price {
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 900;
}

.h5-package-item__tag {
  display: inline-flex;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.h5-payment-list {
  display: grid;
  gap: 12px;
}

.h5-section__head--compact {
  margin-top: 22px;
}

.h5-detail-card {
  padding: 20px;
  margin-bottom: 18px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--h5-shadow);
}

.h5-detail-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.h5-status-chip {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(33, 184, 117, 0.12);
  color: var(--h5-primary-dark);
  font-size: 13px;
  font-weight: 800;
}

.h5-detail-media {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}

.h5-detail-media__thumb,
.h5-detail-media__thumb-fallback {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #5f88ff 0%, #4e69ef 52%, #445ae7 100%);
  flex-shrink: 0;
}

.h5-detail-media__thumb-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 34px;
  font-weight: 900;
}

.h5-detail-media__body {
  min-width: 0;
}

.h5-detail-media__title {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.4;
}

.h5-detail-media__subtitle,
.h5-detail-media__tags {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--h5-text-soft);
}

.h5-detail-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.h5-detail-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  line-height: 1.7;
}

.h5-detail-row span:first-child {
  color: var(--h5-text-soft);
  flex-shrink: 0;
}

.h5-detail-row span:last-child {
  text-align: right;
  word-break: break-all;
}

.h5-detail-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.h5-detail-actions .h5-inline-btn,
.h5-detail-actions .h5-inline-btn--danger,
.h5-detail-actions .h5-inline-btn--primary {
  flex: 1;
  justify-content: center;
}

.h5-modal,
.h5-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.h5-modal__mask,
.h5-drawer__mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(2px);
}

.h5-modal__dialog,
.h5-drawer__panel {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), 520px);
  background: #fff;
  border-radius: 28px;
  box-shadow: var(--h5-shadow-strong);
}

.h5-modal__dialog {
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 26px 22px 22px;
}

.h5-modal__close,
.h5-drawer__close,
.h5-drawer__back {
  border: 0;
  background: transparent;
  color: var(--h5-text-soft);
  font-size: 22px;
}

.h5-modal__title {
  margin: 0;
  text-align: center;
  font-size: 20px;
  font-weight: 900;
}

.h5-modal__desc {
  margin: 10px 0 0;
  text-align: center;
  color: var(--h5-text-soft);
  font-size: 14px;
}

.h5-modal__image-wrap {
  margin-top: 20px;
  border-radius: 20px;
  overflow: hidden;
  min-height: 180px;
  background: #f8fafc;
}

.h5-modal__image-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.h5-modal__image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  color: var(--h5-text-soft);
  font-size: 14px;
}

.h5-login-modal {
  overflow: hidden;
}

.h5-pay-modal {
  overflow: hidden;
}

.h5-pay-modal__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  margin: 0 auto 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(59, 130, 246, 0.14) 100%);
  color: #166534;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.h5-pay-modal__image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef6ff 100%);
}

.h5-pay-modal__image-wrap img {
  width: min(280px, 100%);
  height: auto;
  border-radius: 18px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.h5-pay-modal__code {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f8fafc;
  color: var(--h5-text-soft);
  font-size: 12px;
  line-height: 1.7;
  word-break: break-all;
}

.h5-pay-modal__actions {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.h5-login-modal__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  margin: 0 auto 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(47, 124, 255, 0.12) 0%, rgba(49, 214, 197, 0.18) 100%);
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.h5-login-modal__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 18px 0 6px;
}

.h5-login-modal__chip {
  padding: 7px 12px;
  border-radius: 999px;
  background: #f8fafc;
  color: var(--h5-text-soft);
  font-size: 12px;
  font-weight: 700;
}

.h5-login-modal__field {
  margin-top: 14px;
}

.h5-login-modal__hint {
  margin: 14px 2px 0;
  color: var(--h5-text-soft);
  font-size: 13px;
  line-height: 1.7;
}

.h5-login-modal__submit {
  margin-top: 18px;
}

.h5-login-modal__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 14px;
}

.h5-login-modal__footer-text {
  color: var(--h5-text-soft);
}

.h5-login-modal__register-link {
  color: #2f7cff;
  font-weight: 800;
  text-decoration: none;
}

.h5-login-empty-action {
  margin-top: 16px;
}

.h5-drawer__panel {
  bottom: 0;
  width: min(calc(100% - 8px), 640px);
  max-height: 92vh;
  border-radius: 28px 28px 0 0;
  overflow: hidden;
}

.h5-drawer__progress {
  height: 4px;
  background: rgba(33, 184, 117, 0.08);
}

.h5-drawer__progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--h5-primary), #67d8a5);
}

.h5-drawer__head {
  display: grid;
  grid-template-columns: 80px 1fr 50px;
  align-items: center;
  gap: 12px;
  padding: 18px 18px 10px;
}

.h5-drawer__title {
  margin: 0;
  text-align: center;
  font-size: 18px;
  font-weight: 900;
}

.h5-drawer__body {
  padding: 0 18px 20px;
  max-height: calc(92vh - 60px);
  overflow-y: auto;
}

.h5-builder-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 12px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  text-align: left;
}

.h5-builder-option:first-child {
  margin-top: 0;
}

.h5-builder-option.is-active {
  border-color: var(--h5-primary);
  background: rgba(33, 184, 117, 0.08);
}

.h5-builder-option__image {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.h5-builder-option__name {
  display: block;
  font-size: 16px;
  font-weight: 800;
}

.h5-builder-option__desc {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--h5-text-soft);
}

.h5-builder-option__badge {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 184, 0, 0.14);
  color: #d68900;
  font-size: 12px;
  font-weight: 700;
}

.sjz-toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%) translateY(20px);
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.88);
  color: #fff;
  font-size: 13px;
  line-height: 1.6;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 80;
}

.sjz-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 640px) {
  .h5-service-grid {
    grid-template-columns: 1fr;
  }

  .h5-service-grid__main {
    min-height: 220px;
  }

  .h5-recharge-grid,
  .h5-avatar-choice,
  .h5-stats-card {
    grid-template-columns: 1fr;
  }

  .h5-stats-card {
    width: 100%;
    margin: -28px auto 20px;
  }

  .h5-stats-card__divider {
    display: none;
  }

  .h5-bottom-action--row {
    flex-direction: column;
    align-items: stretch;
  }

  .h5-bottom-action__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    padding: 0;
  }
}
