:root {
  --navy: #0f3444;
  --navy-deep: #092631;
  --teal: #39a897;
  --teal-light: #8fd8cc;
  --gold: #d9ad66;
  --paper: #f5f6f2;
  --ink: #17333d;
  --muted: #718287;
  --line: rgba(20, 61, 70, .11);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  position: relative;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  padding: max(20px, env(safe-area-inset-top)) 16px max(30px, env(safe-area-inset-bottom));
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(129, 204, 190, .23), transparent 31rem),
    radial-gradient(circle at 96% 24%, rgba(222, 181, 107, .14), transparent 25rem),
    linear-gradient(180deg, #f8f9f5 0%, #f1f4ef 100%);
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

.ambient {
  position: fixed;
  z-index: 0;
  border: 1px solid rgba(45, 120, 108, .1);
  border-radius: 50%;
  pointer-events: none;
}

.ambient-one {
  top: -180px;
  right: -180px;
  width: 460px;
  height: 460px;
  box-shadow:
    0 0 0 55px rgba(56, 153, 138, .025),
    0 0 0 115px rgba(56, 153, 138, .018);
}

.ambient-two {
  bottom: -220px;
  left: -240px;
  width: 500px;
  height: 500px;
  border-color: rgba(214, 169, 92, .1);
}

.vip-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  margin: 0 auto;
}

.vip-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 38px;
}

.vip-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 43px;
  height: 43px;
  overflow: hidden;
  place-items: center;
  border-radius: 13px;
  background: var(--navy);
  box-shadow: 0 10px 24px rgba(15, 52, 68, .16);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vip-brand strong,
.vip-brand small {
  display: block;
}

.vip-brand strong {
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .02em;
}

.vip-brand small {
  margin-top: 2px;
  color: #819093;
  font-size: 8px;
  letter-spacing: .16em;
}

.secure-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(48, 120, 108, .16);
  border-radius: 99px;
  color: #3c746b;
  background: rgba(255, 255, 255, .68);
  font-size: 10px;
  white-space: nowrap;
}

.secure-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #46ad8f;
  box-shadow: 0 0 0 4px rgba(70, 173, 143, .1);
}

.welcome-copy {
  margin-bottom: 28px;
  padding: 0 7px;
}

.eyebrow {
  color: #6e8a87;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .2em;
}

.welcome-copy h1,
.member-welcome h1 {
  margin: 10px 0 10px;
  color: var(--navy);
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: clamp(32px, 9vw, 43px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.04em;
}

.welcome-copy h1 em {
  color: #398577;
  font-style: normal;
}

.welcome-copy p,
.member-welcome p {
  margin: 0;
  color: #728287;
  font-size: 12.5px;
  line-height: 1.75;
}

.query-card {
  padding: 22px;
  border: 1px solid rgba(31, 84, 91, .1);
  border-radius: 24px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 27px 65px rgba(26, 63, 68, .11);
  backdrop-filter: blur(18px);
}

.query-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 22px;
}

.query-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 13px;
  color: #276f66;
  background: #e8f4f0;
}

.query-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.query-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: 16px;
}

.query-heading p {
  margin: 4px 0 0;
  color: #819094;
  font-size: 10.5px;
}

.vip-field {
  display: block;
  margin-top: 15px;
}

.vip-field > span {
  display: block;
  margin: 0 0 7px 2px;
  color: #62767a;
  font-size: 10.5px;
  font-weight: 650;
}

.vip-field > span em {
  margin-left: 5px;
  color: #a88450;
  font-size: 9px;
  font-style: normal;
  font-weight: 500;
}

.vip-input-wrap {
  display: flex;
  min-height: 52px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #dce5e1;
  border-radius: 14px;
  background: #fbfcfa;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.vip-input-wrap:focus-within {
  border-color: #79b8ab;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(71, 157, 142, .09);
}

.vip-input-wrap b {
  min-width: 52px;
  padding: 0 12px;
  color: #7f9294;
  border-right: 1px solid #e6ebe8;
  font-family: Georgia, serif;
  font-size: 10px;
  font-weight: 600;
  text-align: center;
}

.vip-input-wrap input {
  width: 100%;
  min-width: 0;
  padding: 14px 13px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 14px;
}

.vip-input-wrap input::placeholder {
  color: #a4b0b1;
  font-size: 12px;
}

.form-message {
  margin-top: 13px;
  padding: 10px 12px;
  border-radius: 11px;
  font-size: 11px;
  line-height: 1.55;
}

.form-message.error {
  color: #a94d48;
  background: #fff0ee;
}

.vip-primary {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding: 0 17px 0 19px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(120deg, #123e4d, #1b5c65);
  box-shadow: 0 15px 30px rgba(16, 61, 75, .2);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.vip-primary i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
}

.vip-primary:disabled {
  opacity: .65;
  cursor: wait;
}

.query-tip {
  display: flex;
  gap: 9px;
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px solid #edf0ed;
}

.query-tip > span {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  place-items: center;
  border-radius: 50%;
  color: #4b857a;
  background: #e9f4f0;
  font-family: Georgia, serif;
  font-size: 9px;
  font-weight: 700;
}

.query-tip p {
  margin: 0;
  color: #869397;
  font-size: 9.8px;
  line-height: 1.65;
}

.member-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin-top: 14px;
}

.member-features article {
  min-height: 130px;
  padding: 17px;
  border: 1px solid rgba(31, 84, 91, .09);
  border-radius: 19px;
  background: rgba(255, 255, 255, .57);
}

.feature-index {
  color: #a7b4b3;
  font-family: Georgia, serif;
  font-size: 9px;
}

.member-features h3,
.member-features strong {
  display: block;
  margin-top: 24px;
  color: #244c54;
  font-size: 13px;
}

.member-features p {
  margin: 7px 0 0;
  color: #7e8f92;
  font-size: 10px;
  line-height: 1.6;
}

.member-welcome {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 0 6px;
  margin-bottom: 20px;
}

.member-welcome h1 {
  margin-top: 7px;
  margin-bottom: 7px;
  font-size: clamp(28px, 8vw, 38px);
}

.text-button {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(38, 101, 93, .13);
  border-radius: 9px;
  color: #54756f;
  background: rgba(255, 255, 255, .65);
  font-size: 10px;
  cursor: pointer;
}

.points-card {
  position: relative;
  padding: 22px;
  overflow: hidden;
  border-radius: 27px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 5%, rgba(131, 218, 201, .2), transparent 15rem),
    linear-gradient(145deg, #0d3342, #124b58 62%, #1a5b60);
  box-shadow: 0 28px 65px rgba(9, 44, 55, .25);
}

.points-card::before {
  position: absolute;
  right: -73px;
  bottom: -104px;
  width: 285px;
  height: 285px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  box-shadow:
    0 0 0 37px rgba(255, 255, 255, .026),
    0 0 0 78px rgba(255, 255, 255, .015);
  content: "";
}

.points-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.member-avatar {
  display: grid;
  width: 47px;
  height: 47px;
  flex: 0 0 47px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 15px;
  color: #e8d3aa;
  background: rgba(255, 255, 255, .08);
  font-family: "Songti SC", "STSong", serif;
  font-size: 20px;
}

.member-level,
.points-card-top strong,
.points-card-top small {
  display: block;
}

.member-level {
  color: #d8bd8d;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
}

.points-card-top strong {
  margin-top: 3px;
  font-family: Georgia, serif;
  font-size: 15px;
  letter-spacing: .08em;
}

.points-card-top small {
  margin-top: 3px;
  color: rgba(230, 242, 239, .6);
  font-size: 9.5px;
}

.points-main {
  position: relative;
  z-index: 1;
  margin-top: 35px;
}

.points-main span {
  display: block;
  color: rgba(226, 241, 238, .66);
  font-size: 10.5px;
}

.points-main strong {
  display: inline-block;
  margin-top: 4px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 15vw, 72px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.035em;
}

.points-main small {
  margin-left: 6px;
  color: #a8d4ca;
  font-size: 11px;
}

.points-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 26px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.points-stats div {
  padding: 0 12px;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.points-stats div:first-child {
  padding-left: 0;
}

.points-stats div:last-child {
  padding-right: 0;
  border-right: 0;
}

.points-stats span,
.points-stats strong {
  display: block;
}

.points-stats span {
  color: rgba(224, 240, 237, .55);
  font-size: 9px;
}

.points-stats strong {
  margin-top: 5px;
  font-family: Georgia, serif;
  font-size: 14px;
  font-weight: 500;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 12px;
}

.benefit-card {
  display: grid;
  min-height: 113px;
  justify-items: center;
  padding: 14px 8px;
  border: 1px solid rgba(31, 84, 91, .09);
  border-radius: 17px;
  background: rgba(255, 255, 255, .75);
  cursor: pointer;
}

.benefit-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
}

.benefit-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.gift-icon {
  color: #a96253;
  background: #fbece7;
}

.coupon-icon {
  color: #347b70;
  background: #e7f3ef;
}

.cash-icon {
  color: #9b7a38;
  background: #f8f1df;
}

.benefit-card strong {
  margin-top: 9px;
  color: #2e5058;
  font-size: 10.5px;
}

.benefit-card small {
  margin-top: 3px;
  color: #98a3a5;
  font-size: 8.5px;
}

.ledger-card {
  margin-top: 15px;
  padding: 20px;
  border: 1px solid rgba(31, 84, 91, .09);
  border-radius: 22px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 18px 45px rgba(25, 61, 68, .07);
}

.ledger-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 15px;
  border-bottom: 1px solid #edf0ed;
}

.ledger-heading span {
  color: #8a999b;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .16em;
}

.ledger-heading h2 {
  margin: 4px 0 0;
  color: var(--navy);
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: 20px;
}

.ledger-count {
  padding: 5px 8px;
  border-radius: 99px;
  background: #f0f4f1;
  font-size: 9px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

.ledger-list {
  display: grid;
}

.ledger-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid #eff2ef;
}

.ledger-row:last-child {
  border-bottom: 0;
}

.ledger-title {
  color: #35545b;
  font-size: 11.5px;
  font-weight: 650;
}

.ledger-meta {
  margin-top: 5px;
  color: #97a3a4;
  font-size: 9px;
  line-height: 1.45;
}

.ledger-points {
  align-self: center;
  color: #2d8c7b;
  font-family: Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.ledger-points.negative {
  color: #bb665b;
}

.empty-ledger {
  padding: 34px 12px;
  color: #98a3a5;
  font-size: 11px;
  text-align: center;
}

.rule-card {
  margin-top: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(199, 158, 86, .16);
  border-radius: 16px;
  background: rgba(251, 246, 235, .8);
}

.rule-card span {
  color: #997741;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
}

.rule-card p {
  margin: 7px 0 0;
  color: #88775b;
  font-size: 10px;
  line-height: 1.65;
}

.vip-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 27px;
  padding: 0 5px;
  color: #93a0a1;
  font-size: 9px;
}

.vip-footer a {
  color: #64837e;
  text-decoration: none;
}

.vip-toast {
  position: fixed;
  z-index: 20;
  bottom: max(26px, env(safe-area-inset-bottom));
  left: 50%;
  max-width: calc(100vw - 40px);
  padding: 11px 16px;
  border-radius: 99px;
  color: #fff;
  background: rgba(12, 44, 54, .94);
  box-shadow: 0 12px 36px rgba(8, 34, 42, .25);
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity .2s ease, transform .2s ease;
}

.vip-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

[hidden] {
  display: none !important;
}

@media (min-width: 760px) {
  body {
    display: grid;
    padding-top: 42px;
    place-items: start center;
  }

  .vip-shell {
    width: min(100%, 580px);
  }
}

@media (max-width: 380px) {
  body {
    padding-right: 12px;
    padding-left: 12px;
  }

  .query-card,
  .points-card {
    padding: 18px;
    border-radius: 21px;
  }

  .member-features {
    grid-template-columns: 1fr;
  }

  .member-features article {
    min-height: auto;
  }
}

