:root {
  --purple: #6e3fa8;
  --purple-deep: #3d215e;
  --purple-mid: #8b5cbf;
  --gold: #d4b05a;
  --gold-soft: #e8c97a;
  --green: #6e3fa8;
  --navy: #2a231c;
  --text: #2a231c;
  --sub: #7a7268;
  --line: #ebe4d8;
  --bg: #f6f1e8;
  --card: #fffdf9;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  min-height: 100dvh;
  background: var(--bg);
}
body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
}

.app {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding: 14px 22px 92px;
  background:
    radial-gradient(circle at 86% 18%, rgba(212, 176, 90, 0.24), transparent 26%),
    radial-gradient(circle at 8% 88%, rgba(232, 201, 122, 0.12), transparent 24%),
    linear-gradient(165deg, #3d215e 0%, #6e3fa8 58%, #8b5cbf 100%);
}
.hero:after {
  content: "";
  position: absolute;
  inset: auto -20% -48% 20%;
  height: 180px;
  border-radius: 50%;
  background: rgba(212, 176, 90, 0.1);
  pointer-events: none;
}

.nav-top, .page-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
}
.nav-top h1, .page-head h1 {
  margin: 0;
  flex: 1;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.back, .nav-placeholder { width: 24px; height: 24px; flex: 0 0 24px; }
.back {
  display: block;
  position: relative;
}
.back:before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-left: 1.8px solid #fff;
  border-bottom: 1.8px solid #fff;
  transform: rotate(45deg);
}
.back.dark:before { border-color: var(--text); }

.hero-tip {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 28px 0 36px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(212, 176, 90, 0.32);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.hero-label {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,0.78);
}
.hero-amount {
  position: relative;
  z-index: 1;
  margin: 8px 0 0;
  font-family: Manrope, "Helvetica Neue", Arial, sans-serif;
  font-size: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.05;
  color: var(--gold);
  text-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.hero-meta {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.76);
}
.hero-meta b { color: var(--gold-soft); font-weight: 600; }

.sheet {
  position: relative;
  z-index: 2;
  margin: -46px 16px 0;
  background: var(--card);
  border-radius: 22px;
  padding: 26px 18px 20px;
  box-shadow: 0 16px 40px rgba(74, 2, 120, 0.12);
  border: 1px solid rgba(255,255,255,0.8);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 24px;
}
.feature { text-align: center; }
.icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 8px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f3eee6;
  color: #6a5a48;
}
.icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature em {
  font-style: normal;
  font-size: 13px;
  color: #4a4338;
  font-weight: 500;
}

.btn-apply {
  display: block;
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #5a2f8c, #6e3fa8 50%, #8b5cbf);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  line-height: 50px;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(110, 63, 168, 0.26);
}

.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 68px;
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a {
  color: #9a9388;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11px;
}
.tabbar svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.tabbar a.on {
  color: var(--purple);
  font-weight: 700;
}

.page { background: var(--bg); }
.page-head {
  background: var(--card);
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.form, .result { padding: 16px; }
.verify-page .form { padding-bottom: 28px; }
.verify-page .form .btn-apply { margin-bottom: 20px; }
.form label {
  display: block;
  background: var(--card);
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--sub);
  box-shadow: 0 6px 16px rgba(74, 2, 120, 0.04);
}
.form input, .form select {
  width: 100%;
  border: 0;
  outline: 0;
  margin-top: 6px;
  font-size: 16px;
  background: transparent;
  color: var(--text);
}
.check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: transparent !important;
  box-shadow: none !important;
  padding: 4px 2px !important;
  font-size: 12px !important;
}
.check input { width: auto; margin-top: 3px; accent-color: var(--purple); }

.result {
  text-align: center;
  padding-top: 40px;
}
.result-card {
  margin: 0 4px 20px;
  padding: 28px 18px;
  border-radius: 22px;
  background: linear-gradient(165deg, #3d215e, #6e3fa8);
  color: #fff;
}
.result-card p { margin: 0; opacity: 0.8; }
.result-card b {
  display: block;
  margin: 10px 0 6px;
  font-family: Manrope, sans-serif;
  font-size: 40px;
  color: var(--gold);
}
.result-card span { color: rgba(255,255,255,0.75); font-size: 13px; }
.hidden { display: none; }

.mine-card {
  position: relative;
  overflow: hidden;
  margin: 16px;
  background:
    radial-gradient(circle at 90% 10%, rgba(212, 176, 90, 0.22), transparent 28%),
    linear-gradient(135deg, #3d215e, #6e3fa8 72%, #8b5cbf);
  color: #fff;
  border-radius: 22px;
  padding: 20px;
}
.mine-mark {
  position: absolute;
  right: -18px;
  bottom: -28px;
  width: 210px;
  height: 210px;
  object-fit: contain;
  pointer-events: none;
  z-index: 0;
  opacity: 0.16;
}
.mine-user {
  padding-right: 0;
}
.mine-user, .mine-wallet {
  position: relative;
  z-index: 1;
}
.btn-withdraw { position: relative; z-index: 2; }
.mine-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mine-user {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.btn-verify {
  flex: 0 0 auto;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255, 214, 10, 0.55);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  line-height: 30px;
  text-decoration: none;
  position: relative;
  z-index: 2;
}
.btn-verify.done {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
  pointer-events: none;
}
.mine-card p { margin: 4px 0 0; opacity: 0.82; font-size: 12px; }
.mine-wallet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
.mine-wallet span {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.72);
}
.mine-wallet b {
  display: block;
  margin-top: 6px;
  font-family: Manrope, sans-serif;
  font-size: 28px;
  color: var(--gold);
}

.wallet-card {
  margin: 0 16px 16px;
  padding: 20px;
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(212, 176, 90, 0.2), transparent 26%),
    linear-gradient(135deg, #2a183f 0%, #3d215e 45%, #6e3fa8 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.wallet-card span, .wallet-card em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: rgba(255,255,255,0.72);
}
.wallet-card b {
  display: block;
  margin: 8px 0 4px;
  font-family: Manrope, sans-serif;
  font-size: 30px;
  color: var(--gold);
  letter-spacing: 0.3px;
}
.btn-withdraw {
  flex: 0 0 auto;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--gold);
  color: #3d215e;
  font-weight: 800;
  font-size: 14px;
  line-height: 38px;
  text-decoration: none;
  box-shadow: 0 8px 16px rgba(212, 176, 90, 0.22);
}
.withdraw-balance { margin-top: 16px; }
.withdraw-page .form { padding-bottom: 28px; }
.withdraw-page .form .btn-apply { margin-bottom: 20px; }
.form-hint {
  margin: 6px 2px 12px;
  font-size: 12px;
  color: var(--sub);
  line-height: 1.5;
}
.pack {
  background: var(--card);
  border-radius: 16px;
  padding: 12px 14px 6px;
  margin-bottom: 12px;
  box-shadow: 0 6px 16px rgba(74, 2, 120, 0.04);
}
.pack header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  margin-bottom: 2px;
  border-bottom: 1px solid var(--line);
}
.pack header b {
  font-size: 14px;
  color: var(--text);
}
.pack header em {
  font-style: normal;
  font-size: 11px;
  color: var(--sub);
}
.pack header a {
  font-size: 12px;
  color: var(--purple);
  text-decoration: none;
  font-weight: 700;
}
.pick-cards { padding: 8px 0 6px; }
.form .pick-card,
.pick-card {
  display: block;
  margin-bottom: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 92% 18%, rgba(232, 201, 122, 0.22), transparent 28%),
    linear-gradient(145deg, #3d215e 0%, #6e3fa8 70%);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(61, 33, 94, 0.16);
}
.pick-card:last-child { margin-bottom: 0; }
.pick-card input { position: absolute; opacity: 0; }
.pick-card .pick-bank { display: block; font-size: 13px; font-weight: 700; }
.pick-card strong {
  display: block;
  margin: 8px 0 6px;
  font-family: Manrope, sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--gold-soft);
}
.pick-card em {
  font-style: normal;
  font-size: 12px;
  color: rgba(255,255,255,0.72);
}
.pick-card.on {
  box-shadow: 0 0 0 2px #e8c97a, 0 8px 16px rgba(61, 33, 94, 0.16);
}
.pick-empty {
  margin: 10px 0 8px;
  font-size: 12px;
  color: var(--sub);
}
.form .pack label:not(.doc-slot):not(.pick-card) {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.form .pack label:not(.doc-slot):not(.pick-card):last-child { border-bottom: 0; }
.form .pack label:not(.doc-slot):not(.pick-card) input,
.form .pack label:not(.doc-slot):not(.pick-card) select { margin-top: 4px; font-size: 15px; }
.pack .doc-grid {
  margin: 10px 0 8px;
}
.doc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.doc-slot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 112px;
  border-radius: 14px;
  background: #f4efe6;
  color: var(--sub);
  font-size: 12px;
  overflow: hidden;
}
.doc-slot input { display: none; }
.doc-slot svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #8a7f70;
  stroke-width: 1.6;
  stroke-linecap: round;
}
.doc-slot img {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.doc-slot img.show { display: block; }
.doc-slot.has-img { color: #fff; }
.doc-slot.has-img svg { display: none; }
.doc-slot.has-img span {
  position: relative;
  z-index: 1;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(42, 35, 28, 0.45);
}
.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  background: #0b2a6b;
  border: 1.5px solid var(--gold);
}
.menu {
  margin: 0 16px 12px;
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(61, 33, 94, 0.05);
}
.menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--line);
}
.menu a:last-child { border: 0; }
.menu-txt { flex: 1; min-width: 0; }
.menu-txt b { display: block; font-size: 15px; }
.menu-txt em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 12px;
  color: var(--sub);
}
.menu i {
  width: 8px;
  height: 8px;
  border-right: 1.6px solid #cbbfae;
  border-top: 1.6px solid #cbbfae;
  transform: rotate(45deg);
}
.menu-out a { color: #a35a4a; }

.app.auth, .auth-page { padding-bottom: 28px; }
.auth-page { background: var(--bg); }
.auth-bg {
  position: relative;
  overflow: hidden;
  padding: 14px 22px 72px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 8%, rgba(212, 176, 90, 0.26), transparent 26%),
    radial-gradient(circle at 0% 90%, rgba(232, 201, 122, 0.12), transparent 28%),
    linear-gradient(160deg, #3d215e 0%, #6e3fa8 58%, #8b5cbf 100%);
}
.auth-bg.compact { padding-bottom: 56px; }
.auth-bg:before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -40px;
  bottom: -50px;
  border-radius: 50%;
  background: rgba(212, 176, 90, 0.12);
}
.auth-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}
.auth-logo {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  object-fit: cover;
  background: #0b2a6b;
  box-shadow: 0 8px 18px rgba(255, 214, 10, 0.28);
}
.auth-brand strong { display: block; font-size: 20px; }
.auth-brand em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
}
.auth-hello {
  position: relative;
  z-index: 1;
  margin: 22px 0 0;
  font-size: 26px;
  font-weight: 700;
}
.auth-card {
  position: relative;
  z-index: 2;
  margin: -40px 16px 0;
  padding: 22px 18px 20px;
  background: var(--card);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(74, 2, 120, 0.12);
}
.field {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: #f6f1e8;
  border: 1px solid transparent;
}
.field:focus-within {
  background: var(--card);
  border-color: #c9b07a;
  box-shadow: 0 0 0 4px rgba(110, 63, 168, 0.08);
}
.field-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #efe6d8;
  color: var(--purple);
  display: grid;
  place-items: center;
  flex: 0 0 36px;
}
.field-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.field label {
  flex: 1;
  margin: 0;
  font-size: 11px;
  color: var(--sub);
}
.field input {
  width: 100%;
  border: 0;
  outline: 0;
  margin-top: 2px;
  padding: 0;
  font-size: 16px;
  background: transparent;
  color: var(--text);
}
.eye {
  width: 36px;
  height: 36px;
  border: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e3fa8' stroke-width='1.7'%3E%3Cpath d='M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/18px no-repeat;
  cursor: pointer;
}
.btn-ghost-auth {
  display: block;
  margin-top: 12px;
  height: 48px;
  line-height: 46px;
  text-align: center;
  border-radius: 999px;
  border: 1.5px solid #e4d6b8;
  color: var(--purple);
  font-weight: 700;
  text-decoration: none;
  background: #f8f3e8;
}
.auth-safe {
  margin: 16px 0 0;
  text-align: center;
  font-size: 12px;
  color: #9a9388;
}
.field-err {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #c0392b;
  font-weight: 400;
}
.form-error {
  min-height: 20px;
  margin: 2px 2px 10px;
  font-size: 13px;
  color: #c0392b;
}
.switch-link {
  text-align: center;
  margin: 16px 0 0;
  color: var(--sub);
  font-size: 13px;
}
.switch-link a {
  color: var(--purple);
  font-weight: 700;
  text-decoration: none;
}
.mine-card { text-decoration: none; }

.auth-mask {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(18, 8, 28, 0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.auth-dialog {
  width: min(300px, 100%);
  background: var(--card);
  border-radius: 22px;
  padding: 26px 20px 18px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(74, 2, 120, 0.18);
}
.auth-dialog h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.auth-dialog p {
  margin: 0 0 20px;
  color: var(--sub);
  font-size: 13px;
}
.apply-page { background: var(--bg); }
.plan-card {
  margin: 10px 16px 14px;
  padding: 20px 18px 16px;
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 8px 20px rgba(74, 2, 120, 0.06);
}
.plan-card p {
  margin: 0;
  font-size: 13px;
  color: var(--sub);
}
.plan-card strong {
  display: block;
  margin: 6px 0 12px;
  font-family: Manrope, sans-serif;
  font-size: 36px;
  color: var(--purple);
}
.plan-card input[type="range"] {
  width: 100%;
  accent-color: var(--purple);
}
.plan-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--sub);
}
.plan-pay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.plan-pay em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: var(--sub);
}
.plan-pay b { font-size: 16px; color: var(--text); }
.paper {
  margin: 0 16px 16px;
  background: var(--card);
  border-radius: 16px;
  padding: 4px 16px;
}
.paper .line {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.paper .line:last-child { border-bottom: 0; }
.paper .line span {
  display: block;
  font-size: 12px;
  color: var(--sub);
}
.paper .line input {
  width: 100%;
  border: 0;
  outline: 0;
  margin-top: 4px;
  font-size: 16px;
  background: transparent;
}
.apply-page .btn-apply {
  width: calc(100% - 32px);
  margin: 0 16px 20px;
}
.term-picks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 8px;
}
.term-picks label {
  height: 34px;
  border-radius: 10px;
  background: #f6f1e8;
  color: #5a5348;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.term-picks input { display: none; }
.term-picks label:has(input:checked) {
  background: #efe6d8;
  color: var(--purple);
}

.auth-dialog .btn-apply { margin-bottom: 8px; }
.auth-cancel {
  display: block;
  width: 100%;
  height: 42px;
  border: 0;
  background: none;
  color: var(--sub);
  font-size: 14px;
}

.record-list { padding: 12px 16px 20px; }
.record {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 16px;
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(61, 33, 94, 0.04);
}
.record b {
  font-family: Manrope, sans-serif;
  font-size: 20px;
  color: var(--purple);
}
.record p, .record em {
  margin: 4px 0 0;
  font-style: normal;
  font-size: 12px;
  color: var(--sub);
}
.tag {
  flex: 0 0 auto;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.tag.ok { background: #efe6d8; color: var(--purple); }
.empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--sub);
}
.empty .btn-apply { margin-top: 16px; }
.bill-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 12px 16px 0;
  padding: 4px;
  background: var(--card);
  border-radius: 12px;
}
.bill-tabs button {
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--sub);
  font-weight: 700;
}
.bill-tabs button.on {
  background: #efe6d8;
  color: var(--purple);
}
.bill-tip {
  margin: 10px 20px 0;
  font-size: 12px;
  color: var(--sub);
}
.btn-pay {
  flex: 0 0 auto;
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--purple);
  color: #fff;
  font-weight: 700;
}
.service-card {
  margin: 16px;
  padding: 22px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, #3d215e, #6e3fa8);
}
.service-card p { margin: 0; opacity: 0.8; font-size: 13px; }
.service-card b {
  display: block;
  margin: 8px 0 4px;
  font-family: Manrope, sans-serif;
  font-size: 28px;
  color: var(--gold);
}
.service-card span { font-size: 12px; opacity: 0.8; }

.photo-box {
  background: var(--card);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 6px 16px rgba(74, 2, 120, 0.04);
}
.photo-upload {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}
.photo-upload input { display: none; }
.photo-face {
  position: relative;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, #6e3fa8, #3d215e);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 16px rgba(61, 33, 94, 0.18);
}
.photo-face svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #e8c97a;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.photo-face img {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-face img.show { display: block; }
.photo-copy b {
  display: block;
  font-size: 15px;
  color: var(--text);
}
.photo-copy em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 12px;
  color: var(--sub);
}
.photo-upload.has-img .photo-face svg { display: none; }

.face-mask {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #12081c;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px 32px;
}
.face-mask.hidden { display: none; }
.face-title {
  margin: 0 0 16px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
.face-stage {
  position: relative;
  width: min(300px, 86vw);
  height: 360px;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
}
.face-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}
.face-oval {
  position: absolute;
  inset: 48px 36px;
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(18, 8, 28, 0.55);
  border: 2px solid rgba(212, 176, 90, 0.9);
  pointer-events: none;
}
.face-oval.on {
  border-color: #7dce9a;
  box-shadow: 0 0 0 80px rgba(18, 8, 28, 0.55), 0 0 24px rgba(125, 206, 154, 0.45);
}
.face-status {
  margin: 16px 0 18px;
  color: rgba(255,255,255,0.82);
  font-size: 13px;
}
.face-actions { width: min(300px, 86vw); }

.account-tip { padding: 16px 18px 0; margin: 0; }
.card-list { padding: 12px 16px 8px; }
.pay-card {
  position: relative;
  min-height: 168px;
  margin-bottom: 14px;
  padding: 20px 20px 18px;
  border-radius: 20px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(232, 201, 122, 0.28), transparent 28%),
    linear-gradient(145deg, #3d215e 0%, #6e3fa8 58%, #8b5cbf 100%);
  box-shadow: 0 14px 28px rgba(61, 33, 94, 0.22);
}
.pay-card:nth-child(2n) {
  background:
    radial-gradient(circle at 12% 88%, rgba(232, 201, 122, 0.2), transparent 30%),
    linear-gradient(145deg, #2a231c 0%, #4a3a28 52%, #8a6a32 100%);
}
.pay-mark {
  position: absolute;
  right: -22px;
  bottom: -36px;
  width: 220px;
  height: 220px;
  object-fit: contain;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
}
.pay-card .pay-bank,
.pay-card strong,
.pay-card .pay-who,
.pay-del { position: relative; z-index: 1; }
.pay-card .pay-bank {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.pay-card strong {
  display: block;
  margin: 28px 0 22px;
  font-family: Manrope, "Helvetica Neue", Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1.4px;
  color: var(--gold-soft);
}
.pay-card .pay-who {
  font-size: 12px;
  color: rgba(255,255,255,0.72);
}
.pay-card .pay-who b {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  color: #fff;
  font-weight: 600;
}
.pay-del {
  position: absolute;
  right: 16px;
  bottom: 16px;
  border: 0;
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
}
.add-wrap { padding: 8px 16px 20px; }
.account-page .form { padding-top: 0; }
.account-page .form .btn-apply { margin-bottom: 4px; }
