body {
  display: block;
  min-height: 100vh;
  padding: 0;
  place-items: stretch;
}
.member-wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 36px auto 64px;
}
.member-wrap > .brand { margin-bottom: 28px; }
.member-wrap > .brand small { letter-spacing: 0; font-size: 13px; }
.member-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.member-card {
  border: 1px solid rgba(178, 50, 159, .35);
  border-radius: 16px;
  padding: 22px;
  background: rgba(46, 16, 52, .86);
}
.member-card + .member-card { margin-top: 16px; }
.member-card h1,
.member-card h2,
.plan strong {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
}
.member-card h1 { font-size: 28px; }
.member-card h2 { margin-bottom: 8px; font-size: 20px; }
.kicker {
  margin: 0 0 8px;
  color: #00e8f6;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.08em;
}
.phone { margin: 6px 0 0; color: #f0d7ef; font-size: 15px; }
.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.stat-row div {
  padding: 12px;
  border-radius: 12px;
  background: rgba(22, 8, 24, .55);
}
.stat-row span,
.order span,
.plan p,
.note {
  color: #f0d7ef;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
}
.stat-row strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.status-pill {
  display: inline-flex;
  margin: 16px 0 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #f0d7ef;
  font-size: 13px;
}
.status-pill.on { background: rgba(0, 232, 246, .16); color: #00e8f6; }
label.note {
  display: grid;
  gap: 8px;
  margin: 18px 0 16px;
  font-size: 13px;
}
#plans { display: grid; gap: 16px; }
.rate-note {
  margin: 8px 0 0;
  color: #f7f8fb;
  font-size: 15px;
  line-height: 1.75;
}
.rate-note strong { font-weight: 600; color: #00e8f6; }
.per-yuan { color: #00e8f6 !important; font-size: 13px !important; }
.pay-qr {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 4, 12, .72);
}
.pay-qr-card {
  width: min(420px, 100%);
  padding: 24px;
  border-radius: 16px;
  background: #2e1034;
  text-align: center;
}
.pay-qr-card h2 { margin: 0 0 8px; }
.pay-qr-card img {
  width: 240px;
  height: 240px;
  object-fit: contain;
  margin: 12px auto;
  background: #fff;
  border-radius: 12px;
}
.pay-qr-card .primary { width: auto; min-width: 140px; }
.plan.custom-points { grid-column: 1 / -1; }
.plan.custom-points label { display: grid; gap: 6px; color: #f0d7ef; font-size: 13px; }
.plan.custom-points input {
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.2);
  background: #160818;
  color: white;
  padding: 0 12px;
  font-family: inherit;
  font-size: 16px;
}
.pay-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(22, 8, 24, .55);
}
.pay-tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #f3d7f6;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.pay-tabs button.active { background: #00e8f6; color: #160818; }
.plan-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 210px;
  padding: 18px;
  border: 1px solid rgba(178, 50, 159, .35);
  border-radius: 16px;
  background: rgba(22, 8, 24, .45);
  font-size: 16px;
  line-height: 1.6;
}
.plan strong { font-size: 16px; }
.plan b {
  display: block;
  margin: 4px 0;
  color: white;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.plan p { margin: 0; flex: 1; }
.plan .primary,
.order .primary,
.quote .primary,
button.primary {
  width: 100%;
  min-height: 42px;
  margin-top: 8px;
  border: 0;
  border-radius: 999px;
  background: #00e8f6;
  color: #160818;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  cursor: pointer;
}
.quote {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(0, 232, 246, .1);
}
.quote p,
.quote strong { margin: 0; }
.order-list { display: grid; gap: 10px; }
.order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(178, 50, 159, .28);
  border-radius: 14px;
  background: rgba(22, 8, 24, .4);
}
.order strong { display: block; font-size: 16px; font-weight: 600; }
.order em {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
}
.order em.paid { color: #7dffe2; }
.order em.wait { color: #ffd38a; }
.order button {
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  background: #00e8f6;
  color: #160818;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.member-wrap > .switch { justify-content: flex-start; margin-top: 22px; }
.error { margin: 12px 0 0; color: #ffb4c8; }
select {
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: #160818;
  color: white;
  padding: 0 12px;
  font-family: inherit;
  font-size: 16px;
}
@media (max-width: 800px) {
  .member-wrap { width: min(100% - 32px, 1120px); margin-top: 20px; }
  .member-grid,
  .plan-list,
  .pay-tabs,
  .stat-row,
  .order { grid-template-columns: 1fr; }
  .order em,
  .order button { justify-self: start; }
}
