@font-face {
  font-family: "ZCOOL QingKe HuangYou";
  src: url("../assets/fonts/ZCOOLQingKeHuangYou.ttf") format("truetype");
  font-display: swap;
}

:root {
  --gold-1: #ffe7a8;
  --gold-2: #e2a11a;
  --gold-3: #8a5a10;
  --ink: #e8eef6;
  --panel: rgba(3, 16, 34, 0.78);
  --line: rgba(90, 200, 255, 0.45);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: #fff;
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

body {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 18px 20px;
  background: #fff;
}

button, img { -webkit-tap-highlight-color: transparent; }

.stage {
  position: relative;
  width: min(420px, calc(100vw - 28px), calc((100dvh - 24px) * 390 / 844));
  aspect-ratio: 390 / 844;
  container-type: size;
}

.login-logic {
  display: none;
  position: absolute;
  z-index: 2;
  left: calc(100% + 22px);
  top: 50%;
  width: 280px;
  margin: 0;
  padding: 16px 16px 14px;
  transform: translateY(-50%);
  border: 1px solid #d5deea;
  border-radius: 12px;
  background: #f6f8fb;
  color: #243044;
  box-shadow: 0 10px 28px rgba(22, 34, 56, 0.08);
  font-size: 14px;
  line-height: 1.75;
}

.login-logic p { margin: 0; }

.login-logic-title {
  margin-bottom: 8px;
  color: #1a3f73;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.login-logic-sub { margin-top: 14px; }

.login-logic-list {
  margin: 0;
  padding-left: 1.2em;
}

.login-logic-list li + li { margin-top: 6px; }

body:has(#auth-oneclick:not([hidden])):not(:has(#notice:not([hidden]))) .login-logic:not(.other-logic):not(.notice-logic):not(.me-logic) {
  display: block;
}

body:has(#auth-password:not([hidden])):not(:has(#notice:not([hidden]))) .other-logic {
  display: block;
}

body:has(#notice:not([hidden])) .notice-logic {
  display: block;
}

body:has(#me:not([hidden])):not(:has(#notice:not([hidden]))) .me-logic {
  display: block;
}

.phone {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0.85cqh 1.25cqw 0.75cqh;
  border-radius: 8.6cqw;
  background:
    linear-gradient(145deg, #8d96a3 0%, #3c4450 7%, #161a20 16%, #0b0d11 46%, #1a1f27 78%, #4e5764 100%);
  box-shadow:
    0 0 0 1px #050608,
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 28px 70px rgba(0, 0, 0, 0.62);
}

.phone::before {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 0.85cqh 1.25cqw 0.75cqh;
  border-radius: 7.2cqw;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.85);
  pointer-events: none;
}

.phone-btn {
  position: absolute;
  left: -3px;
  width: 3px;
  border-radius: 2px 0 0 2px;
  background: linear-gradient(90deg, #9aa3ae, #2c323a 55%, #0e1116);
  box-shadow: -1px 0 0 rgba(255, 255, 255, 0.2);
}

.phone-btn-silent { top: 15%; height: 3.4%; }
.phone-btn-vol-up { top: 21%; height: 7.2%; }
.phone-btn-vol-down { top: 29.4%; height: 7.2%; }

.phone-btn-power {
  left: auto;
  right: -3px;
  top: 23%;
  height: 11%;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(90deg, #0e1116, #2c323a 45%, #9aa3ae);
}

.phone-ear {
  position: absolute;
  z-index: 5;
  top: 0.28cqh;
  left: 50%;
  width: 16cqw;
  height: 0.32cqh;
  border-radius: 99px;
  transform: translateX(-50%);
  background: #07090c;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-cam {
  position: absolute;
  z-index: 5;
  top: 0.22cqh;
  right: 22cqw;
  width: 1.5cqw;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #6f8eae 0%, #1a2736 42%, #05070a 70%);
  box-shadow: 0 0 0 2px #12161c, inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.device {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  container-type: size;
  border-radius: 7cqw;
  background: #041525 url("../assets/bg.jpg") center top / cover no-repeat;
}

.view {
  position: absolute;
  inset: 0;
}

.home-bar {
  position: absolute;
  z-index: 4;
  top: 4.2cqh;
  left: 3.4cqw;
  right: 3.2cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.home-logo {
  display: block;
  width: 44cqw;
  height: auto;
}

.user-btn {
  position: relative;
  flex: none;
  width: 12.4cqw;
  aspect-ratio: 1;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  pointer-events: auto;
}

.user-ring {
  display: block;
  width: 100%;
  height: 100%;
}

.user-text {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54%;
  height: auto;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.banner {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 26.4cqh;
  width: 74cqw;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  transform: translateX(-50%);
  cursor: pointer;
}

.banner img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}

.menu {
  position: absolute;
  z-index: 2;
  top: 38.7cqh;
  left: 9.2cqw;
  width: 81.6cqw;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 4.2cqw;
  row-gap: 0.4cqh;
}

.menu button {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 12px;
}

.menu img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.16s ease, filter 0.16s ease;
}

.menu button:hover img,
.menu button:focus-visible img {
  filter: brightness(1.12);
  transform: translateY(-2px);
}

.menu button:active img {
  transform: scale(0.96);
}

.menu button:focus-visible {
  outline: 2px solid rgba(120, 220, 255, 0.85);
  outline-offset: 2px;
}

.disclaimer {
  position: absolute;
  z-index: 3;
  left: 2.4cqw;
  right: 2.4cqw;
  bottom: 1.35cqh;
  margin: 0;
  text-align: center;
  font-size: 2.55cqw;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: rgba(232, 238, 245, 0.94);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
  white-space: nowrap;
}

.view-detail {
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(2, 8, 18, 0.28), rgba(2, 10, 22, 0.55) 18%, rgba(2, 12, 24, 0.78)),
    url("../assets/bg.jpg") center top / cover no-repeat;
  overflow: auto;
}

.view-detail[hidden] { display: none; }

.detail-head {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 3cqw;
  padding: 4.2cqh 4cqw 1.6cqh;
  background: linear-gradient(180deg, rgba(2, 10, 20, 0.78), rgba(2, 10, 20, 0));
}

.back {
  flex: 0 0 auto;
  width: 32cqw;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.back img {
  display: block;
  width: 100%;
  height: auto;
}

.back:focus-visible {
  outline: 2px solid #9be7ff;
  outline-offset: 3px;
}

#detail-title {
  margin: 0;
  font-family: "STKaiti", "KaiTi", "Songti SC", serif;
  font-size: 6.4cqw;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2) 48%, var(--gold-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.35));
}

.detail-body {
  padding: 0.6cqh 4.2cqw 2cqh;
  display: flex;
  flex-direction: column;
  gap: 1.6cqh;
}

.lead,
.card {
  margin: 0;
  padding: 3.2cqw 3.6cqw;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 22px rgba(40, 150, 255, 0.1);
}

.lead {
  font-size: 3.55cqw;
  line-height: 1.7;
  color: #f3f7fb;
}

.card h3 {
  margin: 0 0 1.2cqh;
  font-size: 3.7cqw;
  letter-spacing: 0.08em;
  color: #f0c56a;
  font-weight: 650;
}

.card p {
  margin: 0;
  font-size: 3.35cqw;
  line-height: 1.75;
  color: rgba(232, 238, 246, 0.92);
}

.card p + p { margin-top: 1.1cqh; }

.swatches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.6cqw;
  margin-top: 1.4cqh;
}

.swatch {
  text-align: center;
  font-size: 2.7cqw;
  color: #d5e4f2;
}

.swatch i {
  display: block;
  height: 7.2cqw;
  border-radius: 8px;
  margin-bottom: 0.7cqh;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 10px rgba(80, 180, 255, 0.25);
}

.date-card {
  text-align: center;
  padding: 3.4cqh 3cqw;
}

.date-card .kicker {
  margin: 0;
  font-size: 3cqw;
  letter-spacing: 0.28em;
  color: #8fdfff;
}

.date-card .day {
  margin: 1cqh 0 0.4cqh;
  font-family: "STKaiti", "KaiTi", "Songti SC", serif;
  font-size: 7cqw;
  letter-spacing: 0.08em;
  color: #ffe3a4;
}

.date-card .sub {
  margin: 0;
  font-size: 3.4cqw;
  color: rgba(232, 238, 246, 0.88);
}

.disclaimer-detail {
  position: static;
  flex: 0 0 auto;
  margin-top: auto;
  padding: 1.6cqh 3.2cqw 2.4cqh;
  white-space: normal;
}

.auth {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  overflow: auto;
  color: #5c2678;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.auth[hidden] { display: none; }

.auth-cool {
  background:
    radial-gradient(ellipse 42% 16% at 0% 8%, rgba(255, 255, 255, 0.55), transparent 70%),
    radial-gradient(ellipse 48% 18% at 100% 4%, rgba(255, 255, 255, 0.42), transparent 72%),
    radial-gradient(ellipse 55% 20% at 8% 72%, rgba(255, 255, 255, 0.38), transparent 70%),
    radial-gradient(ellipse 60% 22% at 100% 86%, rgba(255, 255, 255, 0.5), transparent 72%),
    linear-gradient(180deg, #d9a8ea 0%, #e9c8f4 42%, #f6e4fa 100%);
}

#auth-oneclick {
  background:
    radial-gradient(ellipse 46% 18% at 0% 10%, rgba(255, 255, 255, 0.55), transparent 70%),
    radial-gradient(ellipse 50% 18% at 100% 6%, rgba(255, 236, 220, 0.7), transparent 72%),
    radial-gradient(ellipse 60% 22% at 10% 78%, rgba(255, 255, 255, 0.45), transparent 70%),
    radial-gradient(ellipse 55% 24% at 100% 90%, rgba(255, 228, 210, 0.65), transparent 72%),
    linear-gradient(180deg, #f3d5ee 0%, #f7e3d6 46%, #f8f0e8 100%);
}

.statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5cqh 5.5cqw 0;
  color: #1c1c1c;
  font-size: 3.5cqw;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.status-icons {
  width: 16.5cqw;
  height: 3.1cqw;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 66 16'%3E%3Crect x='0' y='8' width='3' height='6' rx='0.6' fill='%23111'/%3E%3Crect x='5' y='6' width='3' height='8' rx='0.6' fill='%23111'/%3E%3Crect x='10' y='4' width='3' height='10' rx='0.6' fill='%23111'/%3E%3Crect x='15' y='2' width='3' height='12' rx='0.6' fill='%23111'/%3E%3Cpath d='M26 12c2.2-2.4 5.8-2.4 8 0' fill='none' stroke='%23111' stroke-width='1.4' stroke-linecap='round'/%3E%3Cpath d='M23.5 9.2c3.6-3.8 9.4-3.8 13 0' fill='none' stroke='%23111' stroke-width='1.4' stroke-linecap='round'/%3E%3Ccircle cx='30' cy='13.2' r='1.1' fill='%23111'/%3E%3Crect x='44' y='3' width='18' height='10' rx='2' fill='none' stroke='%23111' stroke-width='1.3'/%3E%3Crect x='62.2' y='6' width='1.6' height='4' rx='0.4' fill='%23111'/%3E%3Crect x='46' y='5' width='12' height='6' rx='1' fill='%23111'/%3E%3C/svg%3E") center / contain no-repeat;
}

.auth-back {
  position: absolute;
  top: 5.2cqh;
  left: 3.5cqw;
  width: 8cqw;
  height: 8cqw;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.auth-back::before {
  content: "";
  position: absolute;
  left: 46%;
  top: 50%;
  width: 2.3cqw;
  height: 2.3cqw;
  border-left: 2px solid #5a3474;
  border-bottom: 2px solid #5a3474;
  transform: translate(-30%, -50%) rotate(45deg);
}

.auth-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1cqh 7cqw 2cqh;
}

.logo {
  width: 18cqw;
  height: 18cqw;
  margin-top: 0;
  filter: drop-shadow(0 8px 12px rgba(110, 50, 160, 0.25));
}

.auth-title {
  margin: 2.2cqh 0 0;
  font-family: "ZCOOL QingKe HuangYou", "STKaiti", "KaiTi", serif;
  font-size: 6.5cqw;
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #6d228c;
}

.mask-phone {
  margin: 4.6cqh 0 3.2cqh;
  font-family: "ZCOOL QingKe HuangYou", "STKaiti", "KaiTi", serif;
  font-size: 7cqw;
  letter-spacing: 0.08em;
  color: #6a2188;
}

.other-way {
  margin-top: 3.2cqh;
  border: 0;
  background: none;
  color: #6d228c;
  font-size: 3.7cqw;
  cursor: pointer;
}

.tabs {
  align-self: stretch;
  display: flex;
  gap: 7cqw;
  margin: 3.2cqh 1cqw 2.4cqh;
}

.tabs button {
  border: 0;
  background: none;
  padding: 0 0 1cqw;
  color: #8d5aa3;
  font-size: 4cqw;
  cursor: pointer;
}

.tabs button.on {
  color: #6b2188;
  font-weight: 700;
  box-shadow: inset 0 -2px 0 #6b2188;
}

.panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 3cqw;
}

.panel[hidden] { display: none; }

.field {
  display: flex;
  align-items: center;
  height: 11.6cqw;
  padding: 0 3.4cqw;
  border-radius: 3.2cqw;
  background: #fff;
  box-shadow: 0 4px 14px rgba(150, 90, 180, 0.06);
}

.field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 3.5cqw;
  color: #333;
}

.field input::placeholder { color: #c8c8c8; }

.cc {
  flex: none;
  margin-right: 2.4cqw;
  padding-right: 2cqw;
  border: 0;
  border-right: 1px solid #eee;
  background: none;
  color: #444;
  font-size: 3.5cqw;
  cursor: default;
}

.cc::after {
  content: "";
  display: inline-block;
  margin-left: 1cqw;
  border: 1.1cqw solid transparent;
  border-top-color: #888;
  transform: translateY(0.4cqw);
}

.send-code {
  flex: none;
  border: 0;
  background: none;
  color: #b9a0c6;
  font-size: 3.4cqw;
  cursor: pointer;
  white-space: nowrap;
}

.send-code.counting { color: #7a2e9a; }

.eye {
  flex: none;
  width: 5.4cqw;
  height: 5.4cqw;
  margin-left: 1.6cqw;
  border: 0;
  padding: 0;
  background: url("../assets/eye.svg") center / 88% no-repeat;
  cursor: pointer;
}

.eye.on { background-image: url("../assets/eye-off.svg"); }

#auth-forgot .auth-main {
  justify-content: center;
  align-items: center;
  padding: 0.6cqh 7cqw 1.2cqh;
}

#auth-forgot .logo {
  width: 16cqw;
  height: 16cqw;
}

#auth-forgot .auth-title {
  margin-top: 1.6cqh;
}

#auth-forgot .forgot-fields {
  align-self: stretch;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2.6cqw;
  margin-top: 2.8cqh;
}

#auth-forgot .ornate {
  margin-top: 1.2cqw;
}

.ornate {
  position: relative;
  align-self: stretch;
  height: 12.2cqw;
  margin-top: 3.6cqw;
  border: 0;
  border-radius: 999px;
  color: #fff;
  letter-spacing: 0.18em;
  font-size: 4.5cqw;
  cursor: pointer;
  background:
    radial-gradient(circle at 0% 50%, rgba(255, 255, 255, 0.28), transparent 28%),
    radial-gradient(circle at 100% 50%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(180deg, #d7b4f4 0%, #9a62e0 42%, #7340cc 100%);
  box-shadow:
    0 0 0 1.5px #f0d48a,
    0 0 0 4px #8a55d0,
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.ornate span { position: relative; z-index: 1; }

.ornate i {
  position: absolute;
  width: 3.3cqw;
  height: 3.3cqw;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #d7b4f2 42%, #7a45c4 78%);
  box-shadow: 0 0 0 1px #f3d78c;
}

.ornate i:nth-child(1) { left: 1.2cqw; top: 50%; transform: translateY(-50%); }
.ornate i:nth-child(2) { right: 1.2cqw; top: 50%; transform: translateY(-50%); }
.ornate i:nth-child(3) { left: 7cqw; top: -0.4cqw; }
.ornate i:nth-child(4) { right: 7cqw; bottom: -0.4cqw; }

.row-links {
  align-self: stretch;
  display: flex;
  justify-content: space-between;
  margin-top: 3.4cqh;
}

.row-links button,
.text-link {
  border: 0;
  background: none;
  color: #6d228c;
  font-size: 3.7cqw;
  cursor: pointer;
}

.divider {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 3cqw;
  margin: 3.6cqh 2cqw 2cqh;
  color: #b7a3c4;
  font-size: 3.2cqw;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e4d3ee;
}

.wx {
  width: 12cqw;
  height: 12cqw;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), transparent 40%),
    #fff;
  box-shadow: 0 6px 16px rgba(120, 70, 160, 0.12);
  cursor: pointer;
}

.wx svg { width: 78%; height: 78%; }

.bind-label {
  align-self: flex-start;
  margin: 3.4cqh 1cqw 1.6cqh;
  color: #6d228c;
  font-size: 4cqw;
}

#auth-bind {
  background:
    url("../assets/bind-clouds.svg?v=2") center / cover no-repeat,
    linear-gradient(180deg, #d7a4e8 0%, #e7c0f1 32%, #f4dff8 64%, #fbf6fc 100%);
}

#auth-bind .auth-main {
  align-items: stretch;
  justify-content: center;
  padding: 0 6.6cqw 2cqh;
}

#auth-bind .logo {
  align-self: center;
  width: 17.6cqw;
  height: 17.6cqw;
  margin-top: 0;
}

#auth-bind .auth-title {
  align-self: center;
  margin-top: 2.5cqh;
  font-size: 6.7cqw;
  letter-spacing: 0.04em;
  color: #6a1c88;
}

#auth-bind .bind-label {
  align-self: stretch;
  margin: 3.5cqh 0.2cqw 1.7cqh;
  padding: 0;
  color: #6e248c;
  font-size: 4.15cqw;
  font-weight: 500;
  letter-spacing: 0.06em;
}

#auth-bind .field {
  height: 12.8cqw;
  padding: 0 4.4cqw;
  border-radius: 3.5cqw;
  box-shadow: 0 8px 18px rgba(168, 110, 198, 0.1);
}

#auth-bind .field + .field {
  margin-top: 2.3cqh;
}

#auth-bind .field input,
#auth-bind .cc {
  font-size: 3.7cqw;
  color: #3a3a3a;
}

#auth-bind .field input::placeholder {
  color: #c8c8c8;
}

#auth-bind .cc {
  margin-right: 3.4cqw;
  padding-right: 0;
  border-right: 0;
}

#auth-bind .cc::after {
  border-width: 1cqw;
  border-top-color: #666;
  margin-left: 1.3cqw;
}

#auth-bind .send-code {
  color: #7a2c9c;
  font-size: 3.65cqw;
  font-weight: 500;
}

#auth-bind .ornate {
  height: auto;
  aspect-ratio: 640 / 128;
  margin-top: 5.2cqh;
  border-radius: 0;
  background: url("../assets/bind-btn.svg?v=2") center / 100% 100% no-repeat;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 4.7cqw;
  font-weight: 650;
  letter-spacing: 0.22em;
  text-shadow: 0 1px 1px rgba(90, 30, 150, 0.28);
}

#auth-bind .ornate i {
  display: none;
}

#auth-register {
  background:
    url("../assets/bind-clouds.svg?v=2") center / cover no-repeat,
    linear-gradient(180deg, #d7a4e8 0%, #e7c0f1 32%, #f4dff8 64%, #fbf6fc 100%);
}

#auth-register .auth-main {
  align-items: stretch;
  justify-content: center;
  padding: 0 6.6cqw 1.6cqh;
}

#auth-register .logo {
  align-self: center;
  width: 17.6cqw;
  height: 17.6cqw;
  margin-top: 0;
}

#auth-register .auth-title {
  align-self: center;
  margin: 2.2cqh 0 2.8cqh;
  font-size: 6.4cqw;
  letter-spacing: 0.04em;
  color: #6a1c88;
}

#auth-register .field {
  height: 12.8cqw;
  padding: 0 4.4cqw;
  border-radius: 3.5cqw;
  box-shadow: 0 8px 18px rgba(168, 110, 198, 0.1);
}

#auth-register .field + .field {
  margin-top: 1.8cqh;
}

#auth-register .field input,
#auth-register .cc {
  font-size: 3.7cqw;
  color: #3a3a3a;
}

#auth-register .cc {
  margin-right: 3.4cqw;
  padding-right: 0;
  border-right: 0;
}

#auth-register .cc::after {
  border-width: 1cqw;
  border-top-color: #666;
  margin-left: 1.3cqw;
}

#auth-register .send-code {
  color: #7a2c9c;
  font-size: 3.65cqw;
  font-weight: 500;
}

#auth-register .ornate {
  height: auto;
  aspect-ratio: 640 / 128;
  margin-top: 2.8cqh;
  border-radius: 0;
  background: url("../assets/bind-btn.svg?v=2") center / 100% 100% no-repeat;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 4.7cqw;
  font-weight: 650;
  letter-spacing: 0.22em;
  text-shadow: 0 1px 1px rgba(90, 30, 150, 0.28);
}

#auth-register .ornate i {
  display: none;
}

.agree {
  display: flex;
  align-items: flex-start;
  gap: 2cqw;
  margin: 0 6cqw 1.2cqh;
  color: #6a5a78;
  font-size: 2.9cqw;
  line-height: 1.55;
}

.agree-box {
  flex: none;
  appearance: none;
  width: 4.2cqw;
  height: 4.2cqw;
  margin-top: 0.3cqw;
  border: 1.5px solid #c5b8d2;
  border-radius: 50%;
  background: transparent;
}

.agree-box:checked {
  border-color: #7a35a4;
  background:
    radial-gradient(circle, #7a35a4 0 42%, transparent 46%);
}

.agree-link {
  border: 0;
  padding: 0;
  background: none;
  color: #7a35a4;
  font: inherit;
  cursor: pointer;
}

.home-ind {
  flex: none;
  width: 32cqw;
  height: 1.15cqw;
  margin: 0 auto 1.3cqh;
  border-radius: 99px;
  background: #111;
}

.toast {
  position: absolute;
  left: 50%;
  bottom: 10cqh;
  z-index: 8;
  max-width: 78%;
  transform: translateX(-50%);
  margin: 0;
  padding: 2cqw 3.4cqw;
  border-radius: 999px;
  background: rgba(40, 16, 60, 0.88);
  color: #fff;
  font-size: 3.2cqw;
  text-align: center;
}

.toast[hidden] { display: none; }

.view-me {
  display: flex;
  flex-direction: column;
  padding: 4.2cqh 5.4cqw 2.2cqh;
  color: #f3fcff;
  background: #03182f url("../assets/me/bg.jpg") center top / cover no-repeat;
  overflow: hidden;
}

.view-me[hidden] { display: none; }

.me-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.me-back {
  margin: 0;
  padding: 0;
  width: 32cqw;
  border: 0;
  background: none;
  cursor: pointer;
}

.me-back img {
  display: block;
  width: 100%;
  height: auto;
}

.me-tools {
  display: flex;
  align-items: center;
  gap: 3.6cqw;
}

.me-tools button {
  width: 5.4cqw;
  height: 5.4cqw;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #9aefff;
  cursor: pointer;
  filter: drop-shadow(0 0 4px rgba(80, 210, 255, 0.8));
}

.me-tools svg { width: 100%; height: 100%; display: block; }

.me-user {
  display: flex;
  align-items: center;
  gap: 3.4cqw;
  margin-top: 2.2cqh;
}

.me-avatar {
  position: relative;
  flex: none;
  width: 15.2cqw;
  aspect-ratio: 1;
}

.me-avatar img.me-ring {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}

.me-photo {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  width: 72%;
  height: 72%;
  border-radius: 50%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

button.me-vip {
  width: 100%;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.me-face {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 48%;
  height: 48%;
  transform: translate(-50%, -50%);
}

.me-phone {
  margin: 0;
  font-size: 4.8cqw;
  letter-spacing: 0.04em;
  color: #f7fdff;
  text-shadow: 0 0 10px rgba(90, 210, 255, 0.45);
}

.me-vip {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 1.8cqh;
  aspect-ratio: 537 / 121;
  padding: 0 30% 0 3.6cqw;
}

.me-vip-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.me-v {
  position: relative;
  z-index: 1;
  width: 8.6cqw;
  height: auto;
  filter: drop-shadow(0 0 6px rgba(80, 220, 255, 0.75));
}

.me-vip span {
  position: relative;
  z-index: 1;
  margin-left: 2.6cqw;
  font-size: 4.15cqw;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-shadow: 0 0 8px rgba(70, 190, 255, 0.45);
}

.me-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin: 1.6cqh 0 0;
  padding: 1.8cqh 4.6cqw 1.6cqh 4.2cqw;
  aspect-ratio: 551 / 655;
  background: url("../assets/me/panel.png") center / 100% 100% no-repeat;
}

.me-menu li {
  flex: 1;
  display: flex;
  min-height: 0;
}

.me-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 3cqw;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #f4fdff;
  font-size: 4.05cqw;
  letter-spacing: 0.06em;
  text-shadow: 0 0 8px rgba(80, 210, 255, 0.28);
  cursor: pointer;
}

.me-menu li + li button {
  box-shadow: inset 0 1px 0 rgba(130, 220, 255, 0.18);
}

.me-menu img {
  width: 5.8cqw;
  height: 5.8cqw;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(80, 220, 255, 0.65));
}

.me-menu i {
  margin-left: auto;
  width: 1.7cqw;
  height: 1.7cqw;
  border-top: 1.6px solid rgba(198, 246, 255, 0.92);
  border-right: 1.6px solid rgba(198, 246, 255, 0.92);
  transform: rotate(45deg);
}

.me-share {
  margin: auto auto 0.4cqh;
  align-self: center;
  width: 52cqw;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.me-share img {
  display: block;
  width: 100%;
  height: auto;
}

.notice {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  background: #041525 url("../assets/bg.jpg") center top / cover no-repeat;
}

.notice[hidden] { display: none; }

.notice-status {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.35cqh 5.2cqw 0;
  color: #fff;
  font-size: 3.4cqw;
  font-weight: 650;
}

.notice-status .status-icons { filter: brightness(8); }

.notice-panel {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin: 4.4cqh 2.6cqw 1.6cqh;
  padding: 1.8cqh 5.6cqw 1.5cqh;
  background: url("../assets/notice/panel.png") center / 100% 100% no-repeat;
}

.notice-en {
  margin: 1.6cqh 0 0;
  text-align: center;
  color: #3eb6ff;
  font-size: 2.3cqw;
  letter-spacing: 0.28em;
  font-weight: 500;
}

.notice-title {
  margin: 0.9cqh 0 0;
  text-align: center;
  color: #f3d48a;
  font-family: "STKaiti", "KaiTi", "Songti SC", serif;
  font-size: 5.15cqw;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.notice-sub {
  margin: 0.65cqh 0 1.05cqh;
  text-align: center;
  color: rgba(214, 230, 246, 0.82);
  font-size: 2.65cqw;
  letter-spacing: 0.18em;
}

.notice-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 0.4cqh 0.3cqw 0;
  color: #d5e7f6;
  font-size: 2.72cqw;
  line-height: 1.75;
}

.notice-scroll h3 {
  display: flex;
  align-items: center;
  gap: 1.4cqw;
  margin: 1.2cqh 0 0.6cqh;
  color: #eaf6ff;
  font-size: 3.05cqw;
  font-weight: 650;
}

.notice-scroll h3 i {
  flex: none;
  width: 2.15cqw;
  height: 2.15cqw;
  background: #7adfff;
  clip-path: polygon(50% 8%, 92% 50%, 50% 92%, 8% 50%);
  filter: drop-shadow(0 0 2px #7adfff);
}

.notice-scroll p { margin: 0; }

.notice-scroll em {
  font-style: normal;
  color: #f0d48a;
  font-weight: 650;
}

.notice-box {
  margin-top: 0.75cqh;
  padding: 1.8cqh 3.6cqw;
  background: url("../assets/notice/box.png") center / 100% 100% no-repeat;
}

.notice-check {
  display: flex;
  align-items: flex-start;
  gap: 2.4cqw;
  margin-top: 1.7cqh;
  color: #d7e9f8;
  font-size: 2.62cqw;
  line-height: 1.6;
}

.notice-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.notice-check i {
  flex: none;
  width: 6.6cqw;
  height: 6.6cqw;
  margin-top: 0.05cqw;
  background: url("../assets/notice/check-off.png?v=2") center / 100% 100% no-repeat;
}

.notice-check input:checked + i {
  background-image: url("../assets/notice/check.png?v=2");
}

.notice-check button {
  border: 0;
  padding: 0;
  background: none;
  color: #f0d48a;
  font: inherit;
  cursor: pointer;
}

.notice-note { color: rgba(210, 228, 244, 0.78); }

.notice-actions {
  display: flex;
  gap: 2cqw;
  margin-top: 2cqh;
}

.notice-no,
.notice-yes {
  flex: 1;
  height: 6.2cqh;
  border: 0;
  padding: 0;
  background-color: transparent;
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  cursor: pointer;
}

.notice-no { background-image: url("../assets/notice/btn-no.png"); }
.notice-yes { background-image: url("../assets/notice/btn-yes.png"); }

.notice-foot {
  margin: 1.1cqh 0 0.35cqh;
  text-align: center;
  color: rgba(198, 224, 242, 0.75);
  font-size: 2.2cqw;
  line-height: 1.45;
}

.view-info {
  display: flex;
  flex-direction: column;
  padding: 4.6cqh 5.6cqw 3cqh;
  color: #5c2678;
  background: linear-gradient(180deg, #d7b0ea 0%, #e4c6f3 42%, #edd6f6 100%);
  overflow: auto;
}

.view-info[hidden] { display: none; }

.info-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 8cqw;
}

.info-top h2 {
  margin: 0;
  font-size: 4.6cqw;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #5a2874;
}

.info-back {
  position: absolute;
  left: 0;
  top: 50%;
  width: 8cqw;
  height: 8cqw;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  transform: translateY(-50%);
  cursor: pointer;
}

.info-back::before {
  content: "";
  position: absolute;
  left: 46%;
  top: 50%;
  width: 2.4cqw;
  height: 2.4cqw;
  border-left: 2px solid #5a2874;
  border-bottom: 2px solid #5a2874;
  transform: translate(-30%, -50%) rotate(45deg);
}

.info-card {
  margin-top: 2.6cqh;
  padding: 0.4cqh 4.2cqw;
  border-radius: 3.6cqw;
  background: #7a35a6;
  color: #fff;
  box-shadow: 0 8px 18px rgba(90, 30, 140, 0.16);
}

.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 7.4cqh;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  background: none;
  color: inherit;
  font-size: 4.15cqw;
  letter-spacing: 0.04em;
  text-align: left;
  cursor: default;
}

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

button.info-row { cursor: pointer; }

.info-row b {
  font-weight: 650;
  letter-spacing: 0.02em;
}

.info-side {
  display: inline-flex;
  align-items: center;
  gap: 1.6cqw;
}

.info-side i {
  width: 1.7cqw;
  height: 1.7cqw;
  border-top: 1.6px solid rgba(255, 255, 255, 0.9);
  border-right: 1.6px solid rgba(255, 255, 255, 0.9);
  transform: rotate(45deg);
}

.info-side .is-placeholder,
.info-row input::placeholder {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 500;
}

.info-avatar {
  width: 10.5cqw;
  height: 10.5cqw;
  border-radius: 50%;
  background: url("../assets/vip/avatar.png") center / cover no-repeat;
}

.info-row input {
  flex: 1;
  min-width: 0;
  margin-left: 4cqw;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 4cqw;
  text-align: right;
}

.info-date {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.info-save {
  align-self: center;
  width: 84cqw;
  aspect-ratio: 568 / 120;
  height: auto;
  margin-top: 4.2cqh;
  border: 0;
  padding: 0 12cqw 0.2cqh;
  background: url("../assets/me/save-frame.png") center / 100% 100% no-repeat;
  color: #fff;
  font-size: 4.6cqw;
  letter-spacing: 0.2em;
  text-shadow: 0 1px 2px rgba(70, 30, 130, 0.35);
  cursor: pointer;
}

.statusbar.is-light { color: #fff; }
.statusbar.is-light .status-icons { filter: brightness(12); }

.view-wallet,
.view-withdraw,
.view-bank {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #4a2460;
  background:
    url("../assets/bind-clouds.svg") center / cover no-repeat,
    radial-gradient(ellipse 52% 16% at 0% 7%, rgba(255, 255, 255, 0.72), transparent 70%),
    radial-gradient(ellipse 48% 14% at 100% 3%, rgba(255, 255, 255, 0.6), transparent 72%),
    radial-gradient(ellipse 70% 22% at 8% 96%, rgba(255, 255, 255, 0.62), transparent 72%),
    radial-gradient(ellipse 64% 20% at 100% 88%, rgba(255, 255, 255, 0.55), transparent 70%),
    linear-gradient(180deg, #f8e7fc 0%, #f3d8f6 46%, #edd0f4 100%);
}

.view-wallet[hidden],
.view-withdraw[hidden],
.view-bank[hidden] { display: none; }

.purse-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  padding: 1.2cqh 4.8cqw 4.2cqh;
}

.purse-ind {
  position: absolute;
  left: 50%;
  bottom: 1.05cqh;
  z-index: 2;
  transform: translateX(-50%);
  pointer-events: none;
}

.purse-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 8.4cqw;
  margin-top: 0.4cqh;
}

.purse-nav h2 {
  margin: 0;
  color: #3d2448;
  font-size: 4.55cqw;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.purse-back {
  position: absolute;
  left: -1cqw;
  top: 50%;
  width: 8cqw;
  height: 8cqw;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #3d2448;
  transform: translateY(-50%);
  cursor: pointer;
}

.purse-back::before {
  content: "";
  position: absolute;
  left: 48%;
  top: 50%;
  width: 2.3cqw;
  height: 2.3cqw;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translate(-30%, -50%) rotate(45deg);
}

.purse-btn {
  align-self: center;
  width: 78cqw;
  aspect-ratio: 640 / 128;
  margin: 2.1cqh 0 0;
  border: 0;
  padding: 0 0 0.2cqh 0.22em;
  background: url("../assets/wallet/cta.svg") center / 100% 100% no-repeat;
  color: #fff;
  font-size: 4.35cqw;
  letter-spacing: 0.22em;
  text-shadow: 0 1px 2px rgba(50, 20, 110, 0.35);
  cursor: pointer;
  filter: drop-shadow(0 6px 10px rgba(90, 40, 150, 0.18));
}

.purse-btn:active { transform: scale(0.985); }

.wallet-sum {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 1.6cqw;
  margin-top: 2.4cqh;
  padding: 2.15cqh 2.4cqw 1.9cqh 4.4cqw;
  border-radius: 3.2cqw;
  color: #fff;
  background: linear-gradient(160deg, #b06ad8 0%, #8a42c0 46%, #6d2eaa 100%);
  box-shadow: 0 10px 18px rgba(110, 40, 160, 0.16);
}

.wallet-sum .k {
  margin: 0;
  font-size: 3.15cqw;
  letter-spacing: 0.04em;
  opacity: 0.94;
}

.wallet-sum .v {
  margin: 0.7cqh 0 0;
  font-size: 5.6cqw;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.wallet-sum .v small {
  font-size: 0.72em;
  font-weight: 550;
  margin-right: 0.3cqw;
}

.wallet-coins {
  width: 24cqw;
  height: auto;
  margin-right: -0.4cqw;
  filter: drop-shadow(0 4px 4px rgba(90, 40, 10, 0.18));
}

.view-wallet .purse-btn {
  width: 84cqw;
  aspect-ratio: 568 / 120;
  margin-top: 2.4cqh;
  padding: 0 12cqw 0.2cqh;
  background: url("../assets/me/save-frame.png") center / 100% 100% no-repeat;
  font-size: 4.6cqw;
  letter-spacing: 0.2em;
  text-shadow: 0 1px 2px rgba(70, 30, 130, 0.35);
}

.wallet-list {
  margin-top: 2.2cqh;
  padding: 1.8cqh 4.2cqw 0.6cqh;
  border-radius: 3.2cqw;
  color: #fff;
  background: linear-gradient(180deg, #c49be4 0%, #a56ed0 42%, #9460c4 100%);
  box-shadow: 0 8px 16px rgba(120, 50, 170, 0.12);
}

.wallet-list h3 {
  margin: 0 0 0.8cqh;
  font-size: 4.2cqw;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.wallet-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wallet-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3cqw;
  padding: 1.35cqh 0 1.2cqh;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
}

.wallet-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.wallet-list b {
  display: block;
  font-size: 3.65cqw;
  font-weight: 600;
}

.wallet-list span,
.wallet-list p {
  display: block;
  margin: 0.45cqh 0 0;
  font-size: 3.05cqw;
  font-weight: 400;
  opacity: 0.94;
}

.wallet-list em {
  flex: none;
  margin-top: 0.15cqh;
  font-style: normal;
  font-size: 3.9cqw;
  font-weight: 650;
}

.view-withdraw {
  background:
    radial-gradient(ellipse 70% 18% at 0% 96%, rgba(255, 255, 255, 0.45), transparent 70%),
    radial-gradient(ellipse 60% 16% at 100% 88%, rgba(255, 255, 255, 0.35), transparent 72%),
    linear-gradient(180deg, #f0d4f8 0%, #e7c6f2 100%);
}

.wd-hero {
  margin: -1.2cqh -4.8cqw 0;
  padding: 1.2cqh 4.8cqw 6.4cqh;
  color: #fff;
  background: linear-gradient(180deg, #8b49b8 0%, #9a56c4 62%, #c48adf 100%);
}

.wd-hero .purse-nav h2,
.wd-hero .purse-back { color: #fff; }

.wd-kicker {
  margin: 1.5cqh 0 0;
  font-size: 3.5cqw;
  letter-spacing: 0.04em;
}

.wd-balance {
  margin: 0.5cqh 0 0;
  font-size: 10.4cqw;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
}

.wd-balance small {
  margin-right: 1.6cqw;
  font-size: 0.78em;
  font-weight: 500;
}

.wd-card {
  position: relative;
  z-index: 1;
  margin: -4.2cqh 0 0;
  padding: 2.2cqh 4.4cqw 1.5cqh;
  border-radius: 3.2cqw;
  background: #fff;
  box-shadow: 0 10px 24px rgba(90, 30, 140, 0.1);
  color: #222;
}

.wd-card h3 {
  margin: 0;
  font-size: 3.85cqw;
  font-weight: 650;
}

.wd-money {
  display: flex;
  align-items: center;
  gap: 1.6cqw;
  min-height: 8.2cqh;
}

.wd-money .yen {
  color: #c8c8c8;
  font-size: 11cqw;
  font-weight: 500;
  line-height: 1;
}

.wd-money input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #222;
  font-size: 8cqw;
  font-weight: 600;
}

.wd-all {
  border: 0;
  background: none;
  color: #7a2ea8;
  font-size: 3.55cqw;
  white-space: nowrap;
  cursor: pointer;
}

.wd-to {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0.4cqh 0 0;
  padding: 1.7cqh 0 0.5cqh;
  border: 0;
  border-top: 1px solid #eee;
  background: none;
  color: #222;
  font-size: 3.8cqw;
  cursor: pointer;
}

.wd-target {
  display: inline-flex;
  align-items: center;
  gap: 1.4cqw;
  color: #7a2ea8;
  font-size: 3.6cqw;
}

.wd-target.is-bound {
  color: #222;
  font-weight: 600;
}

.wd-target .go,
.chev {
  display: inline-block;
  flex: none;
  width: 1.7cqw;
  height: 1.7cqw;
  border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor;
  transform: rotate(45deg);
}

.bank-mark {
  width: 5.4cqw;
  height: 5.4cqw;
  border-radius: 0.9cqw;
  background:
    linear-gradient(#e23d3d, #e23d3d) 62% 28% / 34% 34% no-repeat,
    linear-gradient(#fff, #fff) 28% 62% / 42% 26% no-repeat,
    linear-gradient(145deg, #2f86ea, #1457c8);
  box-shadow: 0 1px 2px rgba(20, 60, 140, 0.25);
}

.wd-notes {
  margin-top: 2.4cqh;
  color: #5c3478;
  font-size: 3.15cqw;
  line-height: 1.65;
}

.wd-notes p { margin: 0; }

.wd-notes-title {
  margin-top: 1.5cqh !important;
  font-weight: 700;
}

.wd-notes-title:first-child { margin-top: 0 !important; }

.view-withdraw .purse-btn { margin-top: auto; margin-bottom: 0.6cqh; }

.bk-card {
  margin-top: 1.8cqh;
  padding: 0.2cqh 3.6cqw 1.5cqh;
  border-radius: 3.4cqw;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(248, 232, 252, 0.78));
  box-shadow: 0 8px 20px rgba(120, 60, 170, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.bk-row {
  display: flex;
  align-items: center;
  gap: 2.4cqw;
  width: 100%;
  min-height: 6.15cqh;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(130, 70, 170, 0.16);
  background: none;
  color: #6b2d92;
  font-size: 3.45cqw;
  text-align: left;
  cursor: default;
}

button.bk-row { cursor: pointer; }

.bk-row > span:first-child {
  flex: none;
  width: 27cqw;
  white-space: nowrap;
}

.bk-row input,
.bk-row b {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #6b2d92;
  font-size: 3.4cqw;
  font-weight: 500;
  text-align: left;
}

.bk-row input::placeholder,
.bk-row b.is-ph {
  color: #b184c8;
  font-weight: 400;
}

.bk-row b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chev {
  flex: none;
  color: #8a4cb8;
}

.chev.down { transform: rotate(135deg); margin-top: -0.8cqw; }

.bk-upload-title {
  margin: 1.5cqh 0 1.1cqh;
  color: #6b2d92;
  font-size: 3.45cqw;
}

.bk-uploads {
  display: flex;
  gap: 3.2cqw;
  margin-bottom: 0.6cqh;
}

.bk-shot {
  position: relative;
  width: 16.8cqw;
  height: 16.8cqw;
  border: 0;
  border-radius: 1.5cqw;
  padding: 0;
  background-color: #a56bc8;
  background-position: center;
  background-size: cover;
  cursor: pointer;
}

.bk-shot i,
.bk-shot i::before,
.bk-shot i::after {
  position: absolute;
  left: 50%;
  top: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.bk-shot i { width: 5.2cqw; height: 0.7cqw; }
.bk-shot i::before,
.bk-shot i::after { content: ""; }
.bk-shot i::after { width: 0.7cqw; height: 5.2cqw; }
.bk-shot.has-img i { display: none; }

.bk-file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.bk-send {
  flex: none;
  border: 0;
  border-radius: 1.3cqw;
  padding: 0.85cqh 2.2cqw;
  background: #8d4cc0;
  color: #fff;
  font-size: 3.05cqw;
  cursor: pointer;
}

.bk-send.is-wait { opacity: 0.72; }

.bk-agree {
  display: flex;
  align-items: center;
  gap: 1.6cqw;
  margin-top: 1.5cqh;
  color: #6b2d92;
  font-size: 3.15cqw;
}

.bk-agree input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bk-agree i {
  flex: none;
  width: 4.2cqw;
  height: 4.2cqw;
  border-radius: 0.7cqw;
  background: transparent;
  box-shadow: inset 0 0 0 1.4px #8d4cc0;
}

.bk-agree input:checked + i {
  background: #8d4cc0;
  box-shadow: none;
}

.bk-agree input:checked + i::after {
  content: "";
  display: block;
  width: 1.15cqw;
  height: 2cqw;
  margin: 0.55cqw auto 0;
  border-right: 1.6px solid #fff;
  border-bottom: 1.6px solid #fff;
  transform: rotate(40deg);
}

.bk-agree button {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.view-bank .purse-btn { margin-top: 2.6cqh; }

.picker {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.picker[hidden] { display: none; }

.picker-mask {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(40, 12, 60, 0.38);
  cursor: pointer;
}

.picker-card {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 72%;
  overflow: auto;
  padding: 2.2cqh 5cqw 3.2cqh;
  border-radius: 4cqw 4cqw 0 0;
  background: #fff;
  color: #5a2874;
}

.picker-card h3 {
  margin: 0 0 1.6cqh;
  text-align: center;
  font-size: 4.2cqw;
}

.picker-card p {
  margin: 0 0 1.8cqh;
  font-size: 3.4cqw;
  line-height: 1.65;
  color: #6a3c84;
}

.picker-list {
  display: flex;
  flex-direction: column;
}

.picker-list button,
.picker-field,
.picker-long {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 6.2cqh;
  border: 0;
  border-bottom: 1px solid #f0e4f6;
  background: none;
  color: #5a2874;
  font-size: 3.8cqw;
  cursor: pointer;
}

.picker-field input,
.picker-long input { font: inherit; color: inherit; }

.picker-ok {
  display: block;
  width: 100%;
  margin-top: 2cqh;
  border: 0;
  border-radius: 999px;
  padding: 1.5cqh 0;
  background: linear-gradient(180deg, #c9a4ee, #7d49c8);
  color: #fff;
  font-size: 4cqw;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.view-friends,
.view-spend {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #4a2468;
  background: linear-gradient(180deg, #f6e9fc 0%, #edd8f7 48%, #e9d0f4 100%);
}

.view-friends[hidden],
.view-spend[hidden] { display: none; }

.friend-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 7.2cqw;
  margin-top: 0.4cqh;
}

.friend-top h2 {
  margin: 0;
  font-size: 4.5cqw;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: #3f245c;
}

.friend-back {
  position: absolute;
  left: 2.4cqw;
  top: 50%;
  width: 8cqw;
  height: 8cqw;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  transform: translateY(-50%);
  cursor: pointer;
}

.friend-back::before {
  content: "";
  position: absolute;
  left: 48%;
  top: 50%;
  width: 2.3cqw;
  height: 2.3cqw;
  border-left: 2px solid #4a2870;
  border-bottom: 2px solid #4a2870;
  transform: translate(-30%, -50%) rotate(45deg);
}

.friend-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 1.4cqh 4.4cqw 3.2cqh;
}

.friend-boss {
  display: flex;
  align-items: center;
  gap: 3cqw;
  min-height: 12.4cqh;
  padding: 1.8cqh 3.6cqw;
  border-radius: 3.2cqw;
  background: #6d248f url("../assets/friends/banner.png") center / cover no-repeat;
  color: #fff;
}

.friend-boss b,
.friend-card b,
.spend-card b {
  display: block;
  font-size: 3.7cqw;
  font-weight: 650;
}

.friend-boss span,
.friend-meta span,
.spend-card span {
  display: block;
  margin-top: 0.45cqh;
  font-size: 2.55cqw;
  color: rgba(255, 255, 255, 0.9);
}

.friend-scroll h3 {
  margin: 2.3cqh 0.2cqw 0.2cqh;
  color: #54286f;
  font-size: 3.9cqw;
  font-weight: 700;
}

.friend-card,
.spend-card {
  display: flex;
  align-items: center;
  gap: 2.6cqw;
  width: 100%;
  margin-top: 1.55cqh;
  padding: 1.7cqh 3.2cqw;
  border: 0;
  border-radius: 3.2cqw;
  background: #7a2b98;
  color: #fff;
  text-align: left;
}

.friend-card { cursor: pointer; }
.friend-card.is-static { cursor: default; }

.friend-ava {
  flex: none;
  width: 11.2cqw;
  height: 11.2cqw;
  border-radius: 50%;
  object-fit: cover;
}

.friend-meta { flex: 1; min-width: 0; }

.friend-card em,
.spend-card em {
  flex: none;
  margin-left: auto;
  font-style: normal;
  font-size: 3.15cqw;
  font-weight: 650;
  white-space: nowrap;
}

.spend-card { align-items: flex-start; }

.spend-card div { flex: 1; min-width: 0; }

.view-font {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #111;
  background: #d5bbf9;
}

.view-font[hidden] { display: none; }

.view-consume {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #111;
  background: #d5bbf9;
}

.view-consume[hidden] { display: none; }

.view-consume .friend-back::before { border-color: #222; }

.view-doc {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #111;
  background: #d5bbf9;
}

.view-doc[hidden] { display: none; }

.view-doc .friend-back::before { border-color: #222; }

.doc-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 1.8cqh 3.8cqw 1.2cqh;
}

.doc-card {
  background: rgba(103, 0, 125, 0.76);
  border-radius: 3.4cqw;
  padding: 3.4cqh 4.8cqw 3.8cqh;
  color: #fff;
  font-size: 3.9cqw;
  font-weight: 500;
  line-height: 1.78;
}

.doc-card p { margin: 0; }

.doc-card p + p { margin-top: 3.4cqh; }

.device.is-elder .doc-card { font-size: 4.6cqw; }

.consume-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 1.4cqh 3.6cqw 2.6cqh;
}

.consume-card {
  background: rgba(103, 0, 125, 0.76);
  border-radius: 2.6cqw;
  padding: 0.2cqh 4.2cqw 0.4cqh;
}

.consume-item {
  padding: 1.7cqh 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}

.consume-item:last-child {
  border-bottom: 0;
  padding-bottom: 2cqh;
}

.consume-item div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.4cqw;
}

.consume-item b,
.consume-item em {
  font-style: normal;
  font-size: 4.3cqw;
  font-weight: 700;
}

.consume-item em { white-space: nowrap; }

.consume-item span {
  display: block;
  margin-top: 0.7cqh;
  font-size: 3.3cqw;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.85);
}

.device.is-elder .consume-item b,
.device.is-elder .consume-item em { font-size: 5.1cqw; }
.device.is-elder .consume-item span { font-size: 3.9cqw; }

.fm-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 8cqw;
  margin-top: 0.6cqh;
}

.fm-title {
  margin: 0;
  color: #111;
  font-size: 4.4cqw;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.view-font .friend-back { left: 3.2cqw; }
.view-font .friend-back::before { border-color: #222; }

.fm-card {
  margin: 2.2cqh 3.6cqw 0;
  border-radius: 2.6cqw;
  overflow: hidden;
  background: rgba(103, 0, 125, 0.76);
}

.fm-row {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 8.4cqh;
  margin: 0;
  padding: 0 4.6cqw 0 4.2cqw;
  border: 0;
  background: none;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.fm-row + .fm-row { border-top: 1px solid rgba(255, 255, 255, 0.22); }

.fm-label {
  flex: 1;
  font-size: 3.9cqw;
  font-weight: 700;
}

.fm-check {
  flex: none;
  width: 5.6cqw;
  height: 5.6cqw;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  visibility: hidden;
  position: relative;
}

.fm-row.on .fm-check { visibility: visible; }

.fm-check::after {
  content: "";
  position: absolute;
  left: 34%;
  top: 16%;
  width: 1.15cqw;
  height: 2.15cqw;
  border-right: 2px solid #7a3494;
  border-bottom: 2px solid #7a3494;
  transform: rotate(42deg);
}

.fm-save {
  align-self: center;
  width: 72cqw;
  aspect-ratio: 568 / 120;
  margin-top: 22cqh;
  border: 0;
  padding: 0 0 0.6cqh 0.18em;
  background: url("../assets/me/save-frame.png") center / 100% 100% no-repeat;
  color: #fff;
  font-size: 5cqw;
  font-weight: 700;
  letter-spacing: 0.18em;
  cursor: pointer;
}

.device.is-elder .me-menu button { font-size: 4.86cqw; }
.device.is-elder .me-phone { font-size: 5.76cqw; }
.device.is-elder .me-vip span { font-size: 4.98cqw; }
.device.is-elder .lead { font-size: 4.26cqw; }
.device.is-elder .card h3 { font-size: 4.44cqw; }
.device.is-elder .card p { font-size: 4.02cqw; }
.device.is-elder .info-row,
.device.is-elder .info-row input,
.device.is-elder .info-top h2 { font-size: 5.2cqw; }
.device.is-elder .friend-boss b,
.device.is-elder .friend-card b,
.device.is-elder .spend-card b { font-size: 4.44cqw; }
.device.is-elder .friend-boss span,
.device.is-elder .friend-meta span,
.device.is-elder .spend-card span { font-size: 3.1cqw; }
.device.is-elder .friend-scroll h3 { font-size: 4.68cqw; }
.device.is-elder .wallet-sum .k { font-size: 3.78cqw; }
.device.is-elder .wallet-sum .v { font-size: 6.72cqw; }
.device.is-elder .wallet-list h3 { font-size: 5.04cqw; }
.device.is-elder .wallet-list b { font-size: 4.38cqw; }
.device.is-elder .wallet-list span,
.device.is-elder .wallet-list p { font-size: 3.66cqw; }
.device.is-elder .fm-label { font-size: 4.7cqw; }
.device.is-elder .fm-title { font-size: 5.2cqw; }
.device.is-elder .disclaimer { font-size: 3.06cqw; }

.view-settings {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #4a2468;
  background: linear-gradient(180deg, #f6e9fc 0%, #edd8f7 48%, #e9d0f4 100%);
}

.view-settings[hidden] { display: none; }

.set-menu {
  margin: 2.6cqh 5.2cqw 0;
  border-radius: 3.4cqw;
  overflow: hidden;
  background: #7a2b98;
}

.set-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 2.35cqh 4.4cqw;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  background: none;
  color: #fff;
  font-size: 3.9cqw;
  text-align: left;
  cursor: pointer;
}

.set-menu button:last-child { border-bottom: 0; }

.set-menu i {
  flex: none;
  width: 1.9cqw;
  height: 1.9cqw;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}

.set-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72cqw;
  aspect-ratio: 568 / 120;
  margin: 3.2cqh auto 0;
  border: 0;
  padding: 0 8cqw 0.3cqh;
  background: url("../assets/settings/frame.png") center / 100% 100% no-repeat;
  color: #fff;
  font-size: 4.3cqw;
  letter-spacing: 0.14em;
  cursor: pointer;
}

.set-action + .set-action { margin-top: 1.6cqh; }

.notify-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 1.6cqh 3.6cqw 2.4cqh;
}

.msg-card {
  position: relative;
  margin: 0 0 1.8cqh;
  padding: 2.4cqh 5.6cqw 2cqh;
  overflow: hidden;
  border: 1px solid #f0f0f0;
  border-radius: 2.6cqw;
  background: rgba(103, 0, 125, 0.76);
}

.msg-corner {
  position: absolute;
  width: 10.4cqw;
  height: 10.4cqw;
  background: url("../assets/notify/corner.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}

.msg-corner.tl { top: 0; left: 0; }

.msg-corner.br {
  right: 0;
  bottom: 0;
  transform: rotate(180deg);
}

.msg-card p {
  position: relative;
  margin: 0;
  color: #fff;
  font-size: 3.9cqw;
  font-weight: 700;
  line-height: 1.35;
  word-break: break-all;
}

.msg-card time {
  position: relative;
  display: block;
  margin-top: 1cqh;
  color: #d0d0d0;
  font-size: 3.9cqw;
  font-weight: 700;
  line-height: 1.35;
}

.device.is-elder .msg-card p,
.device.is-elder .msg-card time { font-size: 4.7cqw; }

.intake {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6cqh 4.4cqw;
  background: #041525 url("../assets/bg.jpg") center top / cover no-repeat;
}

.intake[hidden] { display: none; }

.pay-mask {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  background: #041525 url("../assets/bg.jpg") center top / cover no-repeat;
}

.pay-mask[hidden] { display: none; }

.pay-mask .notice-panel {
  padding: 2.2cqh 6.4cqw 1.8cqh;
}

.pay-mask .notice-sub {
  margin-bottom: 1.8cqh;
  letter-spacing: 0.28em;
}

.pay-mask .notice-scroll {
  line-height: 1.95;
  padding-right: 0.6cqw;
}

.pay-mask .notice-scroll h3 {
  margin: 2.4cqh 0 1.1cqh;
}

.pay-mask .notice-scroll h3:first-child {
  margin-top: 0.4cqh;
}

.pay-mask .notice-box {
  margin-top: 1.8cqh;
  padding: 2.4cqh 4cqw;
}

.pay-mask .notice-actions {
  margin-top: 1.6cqh;
}

.pay-fee {
  margin: 0;
  text-align: center;
  color: #eaf6ff;
  font-size: 3.1cqw;
}

.pay-fee b {
  color: #f0d48a;
  font-size: 4.4cqw;
  font-weight: 750;
}

.pay-detail {
  margin: 0.45cqh 0 0;
  text-align: center;
  color: rgba(210, 228, 244, 0.78);
  font-size: 2.5cqw;
}

.pay-list {
  margin: 0.6cqh 0 0;
  padding: 0;
  list-style: none;
}

.pay-list li {
  position: relative;
  padding-left: 4.2cqw;
}

.pay-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 2.15cqw;
  height: 2.15cqw;
  background: #7adfff;
  clip-path: polygon(50% 8%, 92% 50%, 50% 92%, 8% 50%);
  filter: drop-shadow(0 0 2px #7adfff);
}

.pay-list li + li { margin-top: 1.5cqh; }

.pay-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.8cqh;
}

.pay-ok {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  cursor: pointer;
}

.pay-ok img {
  display: block;
  width: 100%;
  height: auto;
}

.pay-cancel {
  margin-top: 1.7cqh;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: rgba(198, 224, 242, 0.82);
  font-family: inherit;
  font-size: 2.7cqw;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.intake-back {
  position: absolute;
  top: 1.1cqh;
  left: 2.6cqw;
  width: 26cqw;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.intake-back img {
  display: block;
  width: 100%;
  height: auto;
}

#think-back,
#result-back {
  top: 4.2cqh;
  width: 32cqw;
}

.intake-card {
  flex: none;
  width: 100%;
  height: 72cqh;
  display: flex;
  flex-direction: column;
  padding: 3.2cqh 5.6cqw 2.2cqh;
  background: url("../assets/intake/panel.png") center / 100% 100% no-repeat;
}

.intake-title {
  margin: 0;
  text-align: center;
  font-family: "ZCOOL QingKe HuangYou", "Songti SC", serif;
  font-size: 5.5cqw;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: #f3d78a;
}

.intake-bar {
  display: block;
  width: 52cqw;
  margin: 0.15cqh auto 0.4cqh;
  mix-blend-mode: screen;
}

.intake-row { margin-top: 1.15cqh; }

.intake-label {
  display: flex;
  align-items: center;
  gap: 1.6cqw;
  color: #f6e3a4;
  font-size: 3.7cqw;
  letter-spacing: 0.06em;
}

.intake-label i {
  width: 4.4cqw;
  height: 4.4cqw;
  background: url("../assets/intake/diamond.png") center / contain no-repeat;
}

.intake-box {
  display: flex;
  align-items: center;
  width: 100%;
  height: 9.4cqw;
  margin: 0.7cqh 0 0;
  padding: 0 4.2cqw;
  border: 0;
  background: url("../assets/intake/field.png") center / 100% 100% no-repeat;
  color: #e7f3fb;
  font-size: 3.15cqw;
  text-align: left;
}

.intake-box::placeholder,
.intake-box.is-ph { color: rgba(190, 214, 230, 0.78); }

.intake-addr {
  color: #d5e6f2;
  line-height: 9.4cqw;
}

.intake-date {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.intake-sex {
  display: flex;
  align-items: center;
  gap: 8cqw;
  margin-top: 1.5cqh;
  padding-left: 0.6cqw;
}

.sex {
  display: flex;
  align-items: center;
  gap: 1.8cqw;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #f4fbff;
  font-size: 4cqw;
  cursor: pointer;
}

.sex i {
  width: 4.8cqw;
  height: 5.3cqw;
  border: 1.5px solid rgba(176, 214, 236, 0.72);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(10, 36, 64, 0.15), rgba(4, 18, 36, 0.55));
}

.sex.on i {
  border: 0;
  background: url("../assets/intake/radio.png") center / 100% 100% no-repeat;
}

.intake-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2cqw;
}

.cal {
  position: relative;
  display: flex;
  flex: none;
  width: 28cqw;
  height: 7.3cqw;
}

.cal b {
  position: absolute;
  inset: 0;
  background: url("../assets/intake/cal.png") center / 100% 100% no-repeat;
}

.cal.is-lunar b { transform: scaleX(-1); }

.cal button {
  position: relative;
  flex: 1;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #f3e6bf;
  font-size: 3cqw;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.cal button.on { color: #3c2a0c; font-weight: 700; }

.intake-note {
  margin: auto 0 0;
  padding-top: 1.2cqh;
  color: rgba(244, 228, 176, 0.92);
  font-size: 2.35cqw;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.intake-start {
  flex: none;
  width: 78cqw;
  margin: 2cqh auto 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.intake-start img {
  display: block;
  width: 100%;
  height: auto;
}

.device.is-elder .intake-title { font-size: 6.2cqw; }
.device.is-elder .intake-label,
.device.is-elder .sex { font-size: 4.4cqw; }
.device.is-elder .intake-box,
.device.is-elder .cal button { font-size: 3.7cqw; }
.device.is-elder .intake-note { font-size: 2.8cqw; }

.think {
  position: absolute;
  inset: 0;
  z-index: 7;
  background: #041525 url("../assets/bg.jpg") center top / cover no-repeat;
}

.think[hidden] { display: none; }

.think-title {
  position: absolute;
  top: 32.5cqh;
  left: 50%;
  width: 72cqw;
  height: auto;
  aspect-ratio: 598 / 239;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  background: url("../assets/result/title-frame.png") center / 100% 100% no-repeat;
  color: #f6e2a4;
  font-family: "ZCOOL QingKe HuangYou", "Songti SC", serif;
  font-size: 4.5cqw;
  font-weight: 400;
  letter-spacing: 0.2em;
}

.think-lines {
  position: absolute;
  top: 47cqh;
  left: 5cqw;
  right: 5cqw;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.think-lines li {
  color: rgba(255, 255, 255, 0.95);
  font-size: 3.15cqw;
  line-height: 1.82;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.72);
  opacity: 0;
  transform: translateY(0.5cqh);
  animation: think-in 0.35s ease forwards;
}

@keyframes think-in {
  to {
    opacity: 1;
    transform: none;
  }
}

.device.is-elder .think-title { font-size: 5.2cqw; }
.device.is-elder .think-lines li { font-size: 3.7cqw; }

.result {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 31cqh 6cqw 1.4cqh;
  background: #041525 url("../assets/bg.jpg") center top / cover no-repeat;
}

.result[hidden] { display: none; }

.result-title {
  flex: none;
  width: 72cqw;
  height: auto;
  aspect-ratio: 598 / 239;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("../assets/result/title-frame.png") center / 100% 100% no-repeat;
  color: #f6e2a4;
  font-family: "ZCOOL QingKe HuangYou", "Songti SC", serif;
  font-size: 4.6cqw;
  font-weight: 400;
  letter-spacing: 0.22em;
}

.result-actions {
  flex: none;
  width: 70cqw;
  margin-top: 0.4cqh;
  display: flex;
  flex-direction: column;
  gap: 0.15cqh;
}

.result-btn {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.result-btn img {
  display: block;
  width: 100%;
  height: auto;
}

.result-note {
  margin: auto 0 0.4cqh;
  max-width: 86cqw;
  color: rgba(214, 232, 248, 0.9);
  font-size: 2.45cqw;
  line-height: 1.55;
  text-align: center;
}

.device.is-elder .result-title { font-size: 5.3cqw; }
.device.is-elder .result-note { font-size: 2.9cqw; }

.view-vip {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #4a2468;
  background: linear-gradient(180deg, #f7e8fb 0%, #f4e4f8 28%, #f8f1fb 100%);
}

.view-vip[hidden] { display: none; }

.vip-top h2 { color: #2b2b2b; font-weight: 650; }

.view-vip .friend-back::before { border-color: #222; }

.vip-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 1.6cqh 4.2cqw 1cqh;
}

.vip-user {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3cqw;
  min-height: 16cqw;
  padding-right: 28cqw;
}

.vip-avatar {
  width: 14cqw;
  height: 14cqw;
  border-radius: 50%;
  object-fit: cover;
}

.vip-name,
.vip-phone { margin: 0; }

.vip-name {
  color: #2a2a2a;
  font-size: 4.2cqw;
  font-weight: 700;
}

.vip-phone {
  margin-top: 0.6cqh;
  color: #8d8d8d;
  font-size: 3.3cqw;
}

.vip-badge {
  position: absolute;
  right: 0;
  top: 50%;
  width: 28cqw;
  height: auto;
  transform: translateY(-54%);
  pointer-events: none;
}

.vip-h {
  margin: 2.4cqh 0 1.4cqh;
  color: #2a2a2a;
  font-size: 4.6cqw;
  font-weight: 750;
}

.vip-plans {
  display: flex;
}

.vip-plan span {
  margin-top: 0.8cqh;
  color: #b0b0b0;
  font-size: 2.8cqw;
}

.vip-plan.on span { color: rgba(255, 255, 255, 0.9); }

.vip-plan {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 42%;
  min-height: 22cqh;
  margin: 0;
  padding: 1.6cqh 1cqw;
  border: 1px solid #eadcf3;
  border-radius: 16px;
  background: #fff;
  color: #6a3d86;
  cursor: pointer;
}

.vip-plan b {
  font-size: 3.7cqw;
  font-weight: 650;
}

.vip-plan strong {
  margin-top: 1.2cqh;
  font-size: 4.6cqw;
  font-weight: 750;
  letter-spacing: 0;
}

.vip-plan em {
  margin-top: 0.8cqh;
  color: #b0b0b0;
  font-size: 2.8cqw;
  font-style: normal;
  text-decoration: line-through;
}

.vip-plan.on {
  border-color: transparent;
  background: linear-gradient(180deg, #c9a4e4 0%, #b98ad8 100%);
  color: #fff;
}

.vip-plan.on em { color: rgba(255, 255, 255, 0.82); }

.vip-benefits {
  margin: 0;
  color: #4d4d4d;
  font-size: 3.5cqw;
  line-height: 1.75;
}

.vip-bar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 2cqw;
  margin: 0 3.2cqw 1.8cqh;
  padding: 1.3cqh 1.4cqw 1.3cqh 3.4cqw;
  border-radius: 18px;
  background: linear-gradient(90deg, #6d2484, #7d2f96);
  color: #fff;
}

.vip-sum { flex: 1; min-width: 0; }

.vip-sum p {
  margin: 0;
  font-size: 3.6cqw;
  font-weight: 650;
}

.vip-agree {
  display: flex;
  align-items: center;
  gap: 1.2cqw;
  margin-top: 0.5cqh;
  font-size: 2.7cqw;
}

.vip-agree input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.vip-agree i {
  width: 3.4cqw;
  height: 3.4cqw;
  border-radius: 4px;
  background: #fff;
}

.vip-agree input:checked + i {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.2 6.2 11.4 13 4.2' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 78% no-repeat,
    #7a35a4;
}

.vip-pay {
  flex: none;
  width: 46cqw;
  height: 8.2cqh;
  margin: 0;
  padding: 0 2cqw 0.4cqh;
  border: 0;
  background: url("../assets/vip/pay.png") center / 100% 100% no-repeat;
  color: #fff;
  font-size: 3.5cqw;
  font-weight: 650;
  letter-spacing: 0.04em;
  cursor: pointer;
}

@media (max-width: 760px) {
  body { padding: 10px 12px; }
  .stage {
    width: min(420px, calc(100vw - 16px), calc((100dvh - 12px) * 390 / 844));
  }
}
