* {
  box-sizing: border-box;
}

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

body {
  background: #e9e5ee;
  color: #2e1a12;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

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

button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.app {
  width: min(100%, 414px);
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
  background: #592298;
  box-shadow: 0 0 26px rgba(26, 10, 46, .18);
}

.top-feedback {
  height: 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 9px;
  position: sticky;
  top: 0;
  z-index: 40;
  color: #262220;
  background: rgba(255, 255, 255, .96);
  font-size: 12px;
  line-height: 1;
}

.top-feedback button {
  min-width: 72px;
  height: 22px;
  border: 1px solid #5c5957;
  border-radius: 6px;
  color: #2f2926;
  background: #fff;
  font-size: 12px;
}

.custom-browser-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 150;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 32px;
  width: min(100%, 414px);
  height: calc(54px + env(safe-area-inset-bottom));
  padding: 0 0 env(safe-area-inset-bottom);
  background: #f7f7f7;
  box-shadow: 0 -1px 0 rgba(0, 0, 0, .04);
  transform: translateX(-50%);
}

body.custom-browser-nav-enabled {
  padding-bottom: calc(54px + env(safe-area-inset-bottom));
}

body.custom-browser-nav-enabled .custom-browser-nav {
  display: flex;
}

.custom-browser-nav[hidden] {
  display: none !important;
}

.custom-browser-nav button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #8b8b8b;
  background: transparent;
  line-height: 1;
}

.custom-browser-nav button:first-child {
  color: #222;
}

.custom-browser-nav span {
  display: block;
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-1px);
}

.notice {
  height: 23px;
  overflow: hidden;
  padding: 0;
  color: rgba(255, 255, 255, .7);
  background: rgba(49, 14, 50, .75);
  font-size: 12px;
  font-weight: 700;
  line-height: 23px;
  white-space: nowrap;
}

.notice span {
  display: inline-block;
  min-width: 100%;
  padding-left: 100%;
  animation: notice-marquee 15s linear infinite;
}

.page {
  display: none;
  min-height: calc(100vh - 50px);
  padding-bottom: calc(env(safe-area-inset-bottom) + 24px);
}

.page.is-active {
  display: block;
  animation: page-in .22s ease both;
}

.hero-img,
.full-img,
.benefit-img,
.pay-top-img,
.result-hero,
.pay-extra {
  width: 100%;
  height: auto;
}

.home-content {
  margin-top: -80px;
}

.home-title-button {
  display: block;
  width: 94%;
  margin: -122px auto 0;
  position: relative;
  z-index: 2;
}

.home-title-img {
  width: 100%;
  filter: drop-shadow(0 6px 10px rgba(29, 9, 54, .32));
  transform-origin: center;
  animation: cta-pulse 1.18s ease-in-out infinite;
  will-change: transform;
}

.home-start-meta {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 10px 12px 12px;
  color: #fff;
}

.home-start-meta p {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
}

.agreement-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
}

.agreement-text {
  text-align: left;
}

.agreement-line.shake-agreement {
  animation: agreement-shake 0.42s ease;
}

@keyframes agreement-shake {
  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }
}

.home-agreement {
  font-size: 16px;
}

.agreement-check {
  display: inline-block;
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  border: 2px solid #f1d286;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  box-shadow: 0 0 0 1px rgba(89, 34, 152, .18), inset 0 0 8px rgba(255, 255, 255, .18);
  position: relative;
  box-sizing: border-box;
}

.agreement-check.is-checked {
  border-color: #ffe8a2;
  background: linear-gradient(180deg, #fff0aa 0%, #d6a23c 100%);
  box-shadow: 0 3px 8px rgba(33, 12, 66, .2), inset 0 1px 0 rgba(255, 255, 255, .58);
}

.agreement-check.is-checked::after {
  position: absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 11px;
  border-right: 2px solid #592298;
  border-bottom: 2px solid #592298;
  content: "";
  transform: rotate(45deg);
}

.agreement-link {
  color: #ffe08a;
  text-decoration: underline;
  text-decoration-color: rgba(255, 224, 138, .85);
  text-underline-offset: 2px;
  cursor: pointer;
}

.page-legal {
  min-height: calc(100vh - 50px);
  padding: 18px 12px calc(env(safe-area-inset-bottom) + 28px);
  background:
    radial-gradient(circle at 18% 2%, rgba(255, 224, 139, .2), transparent 32%),
    linear-gradient(180deg, #37105f 0%, #592298 42%, #4d1987 100%);
}

.legal-head {
  position: relative;
  padding: 20px 10px 14px;
  color: #fff8d6;
  text-align: center;
}

.legal-head button {
  position: absolute;
  left: 0;
  top: 18px;
  min-width: 54px;
  height: 30px;
  border: 1px solid rgba(255, 230, 158, .58);
  border-radius: 16px;
  color: #fff4cf;
  background: rgba(255, 255, 255, .08);
  font-size: 13px;
  font-weight: 800;
}

.legal-head h1 {
  margin: 0;
  color: #fff4bd;
  font-size: 24px;
  line-height: 1.2;
}

.legal-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.legal-tab {
  height: 42px;
  border: 1px solid rgba(255, 218, 126, .62);
  border-radius: 22px;
  color: #fff4cf;
  background: rgba(255, 255, 255, .08);
  font-size: 16px;
  font-weight: 800;
}

.legal-tab.is-active {
  color: #fff8ce;
  border-color: #f26f43;
  background: linear-gradient(180deg, #f26f43 0%, #cf3c29 52%, #a42218 100%);
}

.legal-panel {
  display: none;
  padding: 18px 16px;
  border: 1px solid rgba(255, 218, 126, .62);
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(255, 253, 246, .98), rgba(255, 242, 219, .98));
  box-shadow: 0 10px 22px rgba(22, 5, 45, .26);
  color: #3f261a;
}

.legal-panel.is-active {
  display: block;
}

.legal-panel h2 {
  margin: 0 0 12px;
  color: #4d2580;
  font-size: 22px;
  line-height: 1.3;
}

.legal-panel h3 {
  margin: 16px 0 8px;
  color: #6d237c;
  font-size: 16px;
  line-height: 1.4;
}

.legal-panel p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.75;
  text-align: justify;
}

.home-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 6px 12px 8px;
  color: #fff0c9;
  font-size: 12px;
}

.privacy-line {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.privacy-line img {
  width: 16px;
  height: 16px;
}

.home-actions button {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #fff0c9;
}

.home-actions button img {
  width: 15px;
  height: 15px;
}

.zodiac-zone {
  position: relative;
  margin-top: 0;
}

.zodiac-zone > img {
  width: 100%;
}

.zodiac-hotspots {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.zodiac-hotspots button {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 42%;
  height: 15.8%;
  border-radius: 9px;
  color: transparent;
  pointer-events: auto;
}

.benefit-img {
  margin-top: 18px;
}

.pay-note {
  margin: 16px 15px 0;
  color: #fff4cf;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
  text-align: center;
}

.footer-service {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 14px auto 86px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.footer-service img {
  width: 24px;
  height: 24px;
}

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 32;
  width: min(100%, 414px);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, .52);
  box-shadow: 0 -8px 18px rgba(0, 0, 0, .24);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(100% + 12px));
  transition: opacity .2s ease, transform .24s ease;
}

body.show-sticky .page-home.is-active .sticky-cta {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.sticky-cta img {
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  transform-origin: center;
  animation: cta-pulse 1.18s ease-in-out infinite;
  will-change: transform;
}

.form-content {
  margin-top: -240px;
}

.info-card {
  position: relative;
  margin: 0 8px;
  border: 0;
}

.input-bg {
  width: 100%;
}

.input-fields {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: -10px;
  padding: 17% 8% 9%;
}

.form-row {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 56px;
  margin-bottom: 6px;
  border-bottom: 1px dashed rgba(153, 126, 78, .38);
  color: #4a2417;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0;
}

.form-row span {
  flex: 0 0 88px;
  white-space: nowrap;
}

.form-row input {
  min-width: 0;
  flex: 1;
  height: 38px;
  border: 0;
  outline: none;
  color: #3c1c14;
  background: transparent;
  font-size: 18px;
  font-weight: 800;
}

.form-row input::placeholder {
  color: rgba(80, 54, 42, .43);
  font-weight: 600;
}

.gender-group {
  display: flex;
  gap: 12px;
}

.gender {
  min-width: 60px;
  height: 36px;
  border: 1px solid #d9b36f;
  border-radius: 18px;
  color: #6f4d31;
  background: rgba(255, 253, 244, .92);
  font-size: 17px;
  font-weight: 900;
}

.gender.active {
  color: #fff8cf;
  border-color: #d54631;
  background: linear-gradient(180deg, #f57751 0%, #cf3b2f 54%, #9f211c 100%);
  box-shadow: 0 4px 9px rgba(91, 25, 18, .18), inset 0 1px 0 rgba(255, 255, 255, .36);
}

.birth-row {
  justify-content: flex-start;
  text-align: left;
}

.birth-row b {
  min-width: 0;
  overflow: hidden;
  color: rgba(80, 54, 42, .43);
  font-size: 18px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.birth-row.has-value b {
  color: #3f1d12;
  font-weight: 800;
}

.submit-img {
  width: 108%;
  margin-top: 10px;
  margin-left: -4%;
  filter: drop-shadow(0 7px 10px rgba(99, 37, 18, .25));
  transform-origin: center;
  animation: cta-pulse 1.18s ease-in-out infinite;
  will-change: transform;
}

.submit-img img {
  width: 100%;
}

.form-consent {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 14px;
  position: relative;
  z-index: 3;
}

.form-consent-outside {
  margin: 14px auto 0;
}

.form-agreement {
  color: #fff;
  font-size: 16px;
  text-shadow: none;
}

.form-agreement .agreement-check {
  width: 22px;
  height: 22px;
  border-color: #f1d286;
}

.form-agreement .agreement-check.is-checked {
  border-color: #ffe8a2;
}

.history-link {
  color: #fff;
  padding: 0;
  background: transparent;
  text-shadow: none;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-form .benefit-img {
  margin-top: 30px;
}

.page-orders {
  min-height: calc(100vh - 50px);
  padding: 18px 12px calc(env(safe-area-inset-bottom) + 28px);
  background:
    radial-gradient(circle at 18% 2%, rgba(255, 224, 139, .2), transparent 32%),
    linear-gradient(180deg, #37105f 0%, #592298 42%, #4d1987 100%);
}

.orders-head {
  position: relative;
  padding: 20px 10px 14px;
  color: #fff8d6;
  text-align: center;
}

.orders-head button {
  position: absolute;
  left: 0;
  top: 18px;
  min-width: 54px;
  height: 30px;
  border: 1px solid rgba(255, 230, 158, .58);
  border-radius: 16px;
  color: #fff4cf;
  background: rgba(255, 255, 255, .08);
  font-size: 13px;
  font-weight: 800;
}

.orders-head h1 {
  margin: 0;
  color: #fff4bd;
  font-size: 27px;
  line-height: 1.2;
  text-shadow: 0 3px 8px rgba(25, 5, 47, .35);
}

.orders-head p {
  margin: 10px auto 0;
  max-width: 310px;
  color: rgba(255, 248, 218, .78);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.order-query-card,
.order-result-card,
.order-empty {
  width: 100%;
  border: 1px solid rgba(255, 218, 126, .62);
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(255, 253, 246, .98), rgba(255, 242, 219, .98));
  box-shadow: 0 10px 22px rgba(22, 5, 45, .26);
}

.order-query-card {
  display: grid;
  gap: 14px;
  padding: 18px 16px 16px;
}

.order-query-card label {
  display: grid;
  gap: 8px;
  color: #4b271a;
  font-size: 15px;
  font-weight: 900;
}

.order-query-card input {
  width: 100%;
  height: 46px;
  border: 1px solid #e4c993;
  border-radius: 8px;
  outline: none;
  padding: 0 12px;
  color: #3b1f16;
  background: #fffdf6;
  font-size: 16px;
  font-weight: 800;
}

.order-query-card input::placeholder {
  color: rgba(80, 54, 42, .42);
  font-weight: 600;
}

.order-query-card button,
.order-result-card > button {
  width: 100%;
  height: 48px;
  border-radius: 9px;
  color: #fff8ce;
  background: linear-gradient(180deg, #f26f43 0%, #cf3c29 52%, #a42218 100%);
  box-shadow: 0 5px 12px rgba(85, 23, 16, .2), inset 0 1px 0 rgba(255, 255, 255, .35);
  font-size: 18px;
  font-weight: 900;
}

.order-empty {
  margin-top: 14px;
  padding: 20px 18px;
  text-align: center;
}

.order-empty b {
  display: block;
  color: #4d2580;
  font-size: 18px;
}

.order-empty p {
  margin: 8px 0 0;
  color: #7a6556;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.order-result-card {
  margin-top: 14px;
  padding: 15px;
}

.order-status {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(153, 126, 78, .38);
}

.order-status span {
  padding: 4px 9px;
  border-radius: 99px;
  color: #fff7d2;
  background: linear-gradient(180deg, #4abb69, #188a42);
  font-size: 12px;
  font-weight: 900;
}

.order-status b {
  color: #3c1c14;
  font-size: 17px;
}

.order-result-card dl {
  display: grid;
  gap: 10px;
  margin: 14px 0 16px;
}

.order-result-card dl div {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 10px;
  align-items: start;
}

.order-result-card dt,
.order-result-card dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.order-result-card dt {
  color: #806856;
  font-weight: 800;
}

.order-result-card dd {
  color: #3d2118;
  font-weight: 900;
  word-break: break-all;
}

.page-loading {
  background: #592298;
  overflow: hidden;
}

.page-loading.is-active {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loading-card {
  position: relative;
  flex: none;
  width: 92%;
  margin-top: 14px;
  border: 2px solid #e5dbc2;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 253, 246, .98), rgba(255, 249, 237, .98));
  box-shadow:
    0 10px 18px rgba(32, 8, 52, .18),
    inset 0 0 0 3px rgba(255, 255, 255, .72);
}

.loading-card--banner {
  width: 100%;
  margin-top: 0;
}

.loading-card--module {
  min-height: 214px;
  margin-top: -18px;
}

.loading-card--banner .card-body {
  padding-left: 12px;
  padding-right: 12px;
  transform: translateY(100px);
}

.loading-card > .frame {
  display: none;
  width: 100%;
  height: auto;
}

.loading-card .card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: inherit;
  padding: 28px 24px;
  transform: none;
}

.loading-info-title {
  color: #cf2e36;
  font-size: 20px;
  font-weight: 900;
  text-align: center;
}

.loading-info-profile {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 800;
}

.loading-info-profile span,
.loading-info-profile b {
  background: linear-gradient(100deg, #a9741f 0%, #d9a441 30%, #f6e08a 42%, #fff6d0 50%, #f6e08a 58%, #d9a441 70%, #a9741f 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: profile-shine 3.4s linear infinite;
}

.loading-info-profile b {
  font-weight: 900;
}

.loading-tabs {
  display: flex;
  justify-content: space-between;
  margin-top: 4.5px;
  color: rgba(92, 81, 88, .55);
  font-size: 16px;
  font-weight: 900;
}

.loading-tab {
  position: relative;
  padding-bottom: 8px;
  transition: color .3s ease;
}

.loading-tab::after {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  content: "";
  background: #d83b3d;
  opacity: 0;
  transform: scaleX(0);
  transition: opacity .3s ease, transform .3s ease;
}

.loading-tab.is-active {
  color: #cf2e36;
}

.loading-tab.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.loading-info-text {
  margin: 14px 0 12px;
  color: #432318;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

.progress-track {
  width: 100%;
  height: 12px;
  overflow: hidden;
  border-radius: 9px;
  background: #e6e0ea;
}

.progress-track i {
  display: block;
  width: 12%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #cd2d34, #ff8a3b);
  animation: progress-fill 7.2s linear both;
}

.progress-track--manual i {
  width: 0%;
  animation: none;
  transition: width 0.45s linear;
}

.loading-progress-shell {
  position: relative;
  z-index: 2;
}

.loading-progress-meta {
  margin: 8px 0 0;
  color: #cf2e36;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.loading-progress-meta small {
  display: block;
  margin-top: 2px;
  color: #8a4b36;
  font-size: 13px;
  font-weight: 700;
}

.loading-panel {
  position: relative;
  flex: 1 1 auto;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  margin-top: 12px;
}

.big-pan {
  --pan-size: min(96.5vw, 396px);
  position: relative;
  z-index: 4;
  width: var(--pan-size);
  aspect-ratio: 1;
  filter: drop-shadow(0 18px 28px rgba(86, 26, 8, .26));
  animation: pan-enter .86s cubic-bezier(.16, .92, .24, 1) both;
}

.pan,
.sector {
  position: absolute;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  will-change: transform, filter, opacity;
}

.pan {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.layer-01 {
  z-index: 1;
}

.sector {
  top: 0;
  left: 36.5625%;
  width: 26.875%;
  height: 50%;
  transform-origin: 50% 100%;
  animation: sector-pulse 5s ease-in-out .86s infinite both;
}

.sector-outer {
  z-index: 2;
}

.layer-03 {
  z-index: 3;
  transform-origin: 50% 50%;
  animation: outer-step-spin 5s linear .86s infinite both;
}

.layer-04 {
  z-index: 4;
  animation: soft-breathe 5s ease-in-out .86s infinite both;
}

.sector-inner {
  z-index: 5;
}

.layer-06 {
  z-index: 6;
  transform-origin: 50% 50%;
  animation: inner-step-spin 5s linear .86s infinite both;
}

.layer-07 {
  z-index: 7;
  animation: center-breathe 5s ease-in-out .86s infinite both;
}

.pay-top-img {
  margin-top: -120px;
  margin-bottom: -68px;
}

.loading-top-img {
  margin-top: 0;
}

.pay-header {
  position: relative;
  z-index: 2;
  padding: 29px 12px 11px;
  color: #fff4d1;
  text-align: center;
}

.pay-header h1 {
  margin: 0 0 13px;
  color: #fff6c8;
  font-size: 24px;
  line-height: 1.25;
  text-shadow: 0 3px 0 rgba(68, 20, 15, .5);
}

.result-profile {
  display: grid;
  gap: 4px;
  margin: 0 10px;
  padding: 12px 13px;
  border: 1px solid rgba(255, 223, 139, .55);
  border-radius: 10px;
  color: #fdf4d1;
  background: rgba(22, 9, 45, .45);
  font-size: 15px;
  line-height: 1.45;
  text-align: left;
}

.pay-profile {
  position: relative;
  width: 100%;
  margin: 0 auto;
  color: #ff343d;
  text-align: left;
}

.pay-profile > img {
  width: 100%;
}

.pay-profile-text {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr .72fr;
  align-content: center;
  gap: 8px 18px;
  padding: 0 41px;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.2;
}

.pay-profile-text b {
  font-weight: 900;
}

.pay-birth {
  grid-column: 1 / -1;
}

.page-loading .pay-header {
  width: 100%;
  margin-top: -42px;
  padding-bottom: 0;
}

.page-loading .pay-profile {
  width: calc(100% - 44px);
  margin: 0 auto;
  padding: 16px 22px;
  border: 2px solid #e5dbc2;
  border-radius: 18px;
  color: #ff343d;
  background: linear-gradient(180deg, rgba(255, 253, 246, .98), rgba(255, 249, 237, .98));
  box-shadow:
    0 8px 16px rgba(32, 8, 52, .14),
    inset 0 0 0 3px rgba(255, 255, 255, .72);
}

.page-loading .pay-profile > img {
  display: none;
}

.page-loading .pay-profile-text {
  position: relative;
  inset: auto;
  display: grid;
  grid-template-columns: 1fr .72fr;
  align-content: center;
  gap: 7px 14px;
  padding: 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.page-loading .pay-birth,
.page-loading .pay-address,
.page-loading .pay-profile-text > span:last-child {
  grid-column: 1 / -1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  line-height: 1.08;
}

.page-loading .pay-birth b,
.page-loading .pay-address b {
  font-size: inherit;
}

.page-loading .loading-card--module {
  width: calc(100% - 44px);
  min-height: 158px;
  margin-top: 10px;
}

.page-loading .loading-card .card-body {
  padding: 18px 22px 16px;
}

.page-loading .loading-info-text {
  margin: 10px 0 9px;
}

.page-loading .loading-panel {
  min-height: 260px;
  margin-top: 4px;
}

.page-loading.page-loading--report-wait.is-active {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  justify-items: center;
  align-content: start;
  width: 100%;
  height: calc(100dvh - 50px);
  max-height: calc(100dvh - 50px);
  overflow: hidden;
}

.page-loading.page-loading--report-wait .loading-top-img,
.page-loading.page-loading--report-wait .pay-header,
.page-loading.page-loading--report-wait .loading-panel {
  justify-self: stretch;
  width: 100%;
}

.page-loading.page-loading--report-wait .loading-top-img {
  max-height: 54px;
  margin: 0;
  object-fit: cover;
  object-position: top center;
}

.page-loading.page-loading--report-wait .pay-header {
  margin-top: -24px;
  padding: 14px 12px 4px;
}

.page-loading.page-loading--report-wait .pay-header h1 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.2;
}

.page-loading.page-loading--report-wait .pay-profile {
  width: calc(100% - 44px);
  margin-left: auto;
  margin-right: auto;
  padding: 10px 14px;
}

.page-loading.page-loading--report-wait .pay-profile-text {
  gap: 4px 12px;
  font-size: 15px;
}

.page-loading.page-loading--report-wait .pay-birth,
.page-loading.page-loading--report-wait .pay-address,
.page-loading.page-loading--report-wait .pay-profile-text > span:last-child {
  font-size: 14px;
}

.page-loading.page-loading--report-wait .loading-card--module {
  position: relative;
  z-index: 4;
  justify-self: center;
  width: calc(100% - 44px);
  max-width: 100%;
  min-height: 0;
  margin: 6px auto 0;
  isolation: isolate;
}

.page-loading.page-loading--report-wait .loading-card .card-body {
  min-height: 0;
  padding: 10px 14px 8px;
}

.page-loading.page-loading--report-wait .loading-tabs {
  margin-top: 0;
  font-size: 13px;
}

.page-loading.page-loading--report-wait .loading-tab {
  padding-bottom: 4px;
}

.page-loading.page-loading--report-wait .loading-info-text {
  min-height: 0;
  margin: 6px 0;
  font-size: 14px;
  line-height: 1.35;
}

.page-loading.page-loading--report-wait .loading-progress-shell {
  margin-bottom: 0;
}

.page-loading.page-loading--report-wait .progress-track {
  height: 14px;
}

.page-loading.page-loading--report-wait .loading-progress-meta {
  margin-top: 6px;
  font-size: 15px;
}

.page-loading.page-loading--report-wait .loading-panel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  margin-top: 0;
  padding: 4px 0 10px;
  overflow: visible;
}

.page-loading.page-loading--report-wait .big-pan {
  --pan-size: min(88vw, 362px);
  width: var(--pan-size);
  height: var(--pan-size);
  margin-top: -20px;
  filter: drop-shadow(0 0 18px rgba(255, 226, 150, .75)) drop-shadow(0 0 34px rgba(255, 210, 120, .5)) drop-shadow(0 18px 28px rgba(86, 26, 8, .26));
}

.page-loading.page-loading--report-wait .big-pan::before {
  width: 128%;
  height: 128%;
}

@media (max-height: 740px) {
  .page-loading.page-loading--report-wait .pay-header h1 {
    font-size: 19px;
  }

  .page-loading.page-loading--report-wait .loading-card .card-body {
    padding: 8px 12px 6px;
  }

  .page-loading.page-loading--report-wait .loading-info-text {
    font-size: 13px;
  }
}

@media (max-height: 667px) {
  .page-loading.page-loading--report-wait .loading-top-img {
    max-height: 46px;
  }

  .page-loading.page-loading--report-wait .pay-header {
    margin-top: -18px;
    padding: 8px 12px 2px;
  }

  .page-loading.page-loading--report-wait .pay-profile {
    padding: 8px 12px;
  }

  .page-loading.page-loading--report-wait .loading-panel {
    min-height: 250px;
    margin-top: 0;
    padding-top: 2px;
  }
}

.page-loading .big-pan {
  --pan-size: min(88vw, 362px);
  margin-top: -48px;
  filter: drop-shadow(0 0 18px rgba(255, 226, 150, .75)) drop-shadow(0 0 34px rgba(255, 210, 120, .5)) drop-shadow(0 18px 28px rgba(86, 26, 8, .26));
}

.page-loading .big-pan::before {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 128%;
  height: 128%;
  content: "";
  background: radial-gradient(circle, rgba(255, 224, 138, .55) 0%, rgba(255, 176, 92, .3) 38%, rgba(137, 76, 190, 0) 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: pan-glow 5s ease-in-out .86s infinite both;
}

.pay-card {
  position: relative;
  margin: 2px 7px 0;
}

.pay-card > img {
  width: 100%;
}

.price-row {
  position: absolute;
  left: 9%;
  right: 9%;
  bottom: calc(36.5% + 12px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 10px;
  color: #481d16;
}

.price-left {
  display: grid;
  gap: 6px;
  justify-items: start;
}

.price-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 10px;
  border-radius: 9px;
  color: #fff6cf;
  background: #ff4b17;
  box-shadow: 0 3px 7px rgba(137, 35, 12, .16);
}

.price-left span {
  color: inherit;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.price-row strong {
  flex: 0 0 auto;
  color: inherit;
  font-size: 20px;
  line-height: 1;
  letter-spacing: .5px;
  white-space: nowrap;
}

.price-left small {
  margin-left: 0;
  color: rgba(72, 29, 22, .48);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-decoration: line-through;
}

.price-right {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.price-right span {
  color: #8a827f;
  font-size: 13px;
  font-weight: 900;
  text-align: right;
}

.price-right b {
  color: #f13a3a;
  font-size: 24px;
  letter-spacing: .5px;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.wechat-pay {
  position: absolute;
  left: calc(10% - 4px);
  right: calc(10% - 4px);
  bottom: 27.8%;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 9px;
  border: 0;
  color: #fff;
  background: linear-gradient(180deg, #35bd49, #22993a);
  font-size: 22px;
  font-weight: 900;
}

.wechat-pay.is-disabled,
.wechat-pay:disabled {
  opacity: .62;
  pointer-events: none;
}

.wechat-pay img {
  width: 30px;
  height: 30px;
}

.pay-card p {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 13%;
  margin: 0;
  color: #39a72f;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.pay-extra {
  width: calc(100% - 24px);
  margin: 16px auto 0;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(28, 9, 45, .26);
}

.page-wework {
  min-height: 100vh;
  padding: 18px 16px 28px;
  background:
    radial-gradient(circle at 20% 8%, rgba(255, 214, 120, .16), transparent 40%),
    linear-gradient(180deg, #2a1350 0%, #5a1f8f 60%, #431372 100%);
}

.wework-card {
  max-width: 420px;
  margin: 0 auto;
  padding: 22px 18px 24px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #fff7ef);
  box-shadow: 0 22px 46px rgba(12, 4, 22, .5);
}

.wework-success {
  text-align: center;
  margin-bottom: 18px;
}

.wework-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: linear-gradient(180deg, #3ecf6d, #1f9f4d);
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.wework-success h2 {
  margin: 0 0 8px;
  color: #35170e;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 900;
}

.wework-success p {
  margin: 0;
  color: #7a5636;
  font-size: 14px;
  line-height: 1.6;
}

.wework-qr-wrap {
  margin: 18px auto 16px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(214, 69, 18, .12);
  text-align: center;
}

.wework-qr-loading {
  display: grid;
  place-items: center;
  width: min(72vw, 240px);
  height: min(72vw, 240px);
  margin: 0 auto;
  border-radius: 12px;
  background: #fff7ef;
  color: #8a5f3d;
  font-size: 14px;
}

.wework-qr-loading[hidden] {
  display: none !important;
}

.wework-qr {
  display: block;
  width: min(72vw, 240px);
  height: min(72vw, 240px);
  margin: 0 auto;
  object-fit: contain;
  border-radius: 8px;
  background: #f8f4ef;
}

.wework-qr[hidden],
.wework-qr-empty[hidden] {
  display: none !important;
}

.wework-qr-empty {
  display: grid;
  place-items: center;
  width: min(72vw, 240px);
  height: min(72vw, 240px);
  margin: 0 auto;
  padding: 18px;
  border-radius: 12px;
  background: #fff7ef;
  text-align: center;
  box-sizing: border-box;
}

.wework-qr-empty p {
  margin: 0 0 8px;
  color: #8a5f3d;
  font-size: 15px;
  font-weight: 700;
}

.wework-qr-empty span {
  color: #b08a6d;
  font-size: 12px;
  line-height: 1.6;
}

.wework-qr-tip {
  margin: 12px 0 0;
  color: #8a5f3d;
  font-size: 13px;
  line-height: 1.5;
}

.wework-steps {
  margin: 0 0 16px;
  padding: 0 0 0 20px;
  color: #5a3f2d;
  font-size: 14px;
  line-height: 1.7;
}

.wework-steps li + li {
  margin-top: 6px;
}

.wework-order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(214, 69, 18, .08);
  color: #6d4a33;
  font-size: 13px;
}

.wework-order b {
  color: #35170e;
  font-size: 12px;
  word-break: break-all;
  text-align: right;
}

.wework-report-tip {
  margin: 14px 0 0;
  color: #9a6f4d;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.report-blocks .report-section + .report-section {
  margin-top: 0;
}

.wework-retest-btn {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 14px 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff8a2b, #d64512);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 10px 18px rgba(214, 69, 18, .24);
}

.wework-retest-btn {
  background: linear-gradient(180deg, #f5e1c8, #e6c49b);
  color: #7a3e18;
  box-shadow: none;
}

.paid-sheet button {
  min-width: 148px;
  height: 46px;
  border-radius: 23px;
  color: #fff4b7;
  background: linear-gradient(180deg, #f0662e, #d64512);
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 8px 16px rgba(214, 69, 18, .34);
}

.report-back {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 12px 10px;
  display: none;
}

.report-back button {
  display: inline-flex;
  align-items: center;
  min-width: 54px;
  height: 30px;
  padding: 0 12px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 800;
}

.result-actions {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 30;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 414px;
  max-width: 100%;
  padding: 10px 12px calc(env(safe-area-inset-bottom) + 10px);
}

body.result-mode-paid .result-actions {
  display: grid;
}

.result-actions button {
  height: 46px;
  border: 0;
  border-radius: 9px;
  font-size: 16px;
  font-weight: 900;
}

.page-result {
  background: #eee6d8;
  color: #2d2116;
}

.report-book {
  width: 100%;
}

.report-wrap {
  padding: 13px 10px 24px;
  background: #eee6d8;
}

.report-book .report-page {
  position: relative;
  margin: 0 auto 15px;
  padding: 25px 15px;
  background: #fffaf0;
  box-shadow: 0 0 5px rgba(0, 0, 0, .16);
  overflow: hidden;
}

.report-book .report-page.cover {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  text-align: center;
  border: 4px double #8a5a2b;
}

.report-book .main-title {
  color: #6b2d12;
  font-size: 25px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 3px;
}

.report-book .sub-title {
  color: #8a5a2b;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1px;
}

.report-book .user-info-panel {
  width: min(100%, 340px);
  margin: 0 auto;
  padding: 14px 12px 12px;
  border: 1px solid #d8c4a8;
  border-radius: 10px;
  background: #f3e8d4;
  text-align: left;
}

.report-book .user-info-title {
  margin: 0 0 12px;
  color: #5c3b24;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.report-book .user-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.report-book .info-card {
  display: grid;
  gap: 8px;
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid #d8c4a8;
  border-radius: 8px;
  background: #fdf9f0;
}

.report-book .info-card--full {
  grid-column: 1 / -1;
}

.report-book .info-label {
  color: #9a7a5d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.report-book .info-value {
  color: #2f2016;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
  word-break: break-word;
}

.report-book .seal {
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-top: 12px;
  border: 2px solid #9b1c1c;
  border-radius: 50%;
  color: #9b1c1c;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  transform: rotate(-12deg);
}

.report-book .cover-desc {
  margin: 12px 0 0;
  color: #7d6a52;
  font-size: 14px;
  line-height: 1.9;
  text-align: center;
}

.report-book .report-page h1,
.report-book .report-page h2,
.report-book .report-page h3,
.report-book .report-page p {
  margin: 0;
}

.report-book .report-page h1 {
  margin: 0 0 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid #8a5a2b;
  color: #6b2d12;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
}

.report-book .report-page h2 {
  margin: 14px 0 6px;
  padding-left: 6px;
  border-left: 3px solid #9b6a32;
  color: #7a3e18;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}

.report-book .report-page p {
  color: #2d2116;
  font-size: 16.5px;
  line-height: 1.8;
  text-align: justify;
}

.report-book .lead {
  padding: 10px 12px;
  border-left: 3px solid #b47a35;
  background: #fff4dc;
  color: #4f2a10;
  font-weight: 400;
}

.report-book .profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.report-book .profile-grid div {
  padding: 10px 6px;
  border: 1px solid #c8a46a;
  background: #fff4dc;
  text-align: center;
}

.report-book .profile-grid span {
  display: block;
  color: #8a5a2b;
  font-size: 13px;
  line-height: 1.2;
}

.report-book .profile-grid b {
  display: block;
  margin-top: 5px;
  color: #6b2d12;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.report-book .score-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  justify-items: center;
  margin-top: 14px;
}

.report-book .score-ring {
  width: 124px;
  height: 124px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#9b1c1c calc(var(--score) * 1%), #e2d3b4 0);
  box-shadow: 0 4px 12px rgba(107, 45, 18, .16);
}

.report-book .score-ring > div {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fffaf0;
  color: #6b2d12;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
}

.report-book .score-ring strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.report-book .poem {
  display: grid;
  gap: 7px;
  margin: 14px 0;
  padding: 13px 10px;
  border: 1px solid #d2a965;
  color: #5a2a12;
  background: #fff2d5;
  text-align: center;
  line-height: 2.05;
}

.report-book .poem p {
  color: #5a2a12;
  text-align: center;
  font-weight: 400;
}

.report-book table {
  width: 100%;
  margin-top: 12px;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 6px;
  font-size: 14.5px;
}

.report-book th,
.report-book td {
  padding: 8px 6px;
  border: 1px solid #c8a46a;
  color: #2d2116;
  background: #fffdf7;
  text-align: center;
  line-height: 1.45;
}

.report-book th {
  color: #4f2a10;
  background: #ead4aa;
  font-weight: 700;
}

.report-book .bazi-table th,
.report-book .bazi-table td {
  padding: 7px 4px;
  font-size: 13.5px;
}

.report-book .bazi-table .row-head {
  color: #4f2a10;
  background: #f4e3c4;
  font-weight: 700;
  white-space: nowrap;
}

.report-book .bazi-table .ganzhi {
  color: #7a3e18;
  font-size: 16px;
  font-weight: 700;
}

.report-book .bazi-note {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.report-book .bazi-note div {
  padding: 10px 12px;
  border-left: 3px solid #b47a35;
  background: #fff4dc;
}

.report-book .bazi-note span {
  display: block;
  margin-bottom: 3px;
  color: #8a5a2b;
  font-size: 13px;
  font-weight: 700;
}

.report-book .bazi-note p {
  color: #4f2a10;
  font-size: 14.5px;
  line-height: 1.7;
}

.report-book .section-grid {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.report-book .fortune-card {
  padding: 13px;
  border: 1px solid #c8a46a;
  background: #fffdf7;
}

.report-book .fortune-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d8bf8a;
}

.report-book .fortune-head h2 {
  margin: 0;
  padding-left: 6px;
  border-left: 3px solid #9b6a32;
}

.report-book .fortune-head span {
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  color: #6b2d12;
  background: conic-gradient(#9b1c1c calc(var(--section-score) * 1%), #e2d3b4 0);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 3px 8px rgba(107, 45, 18, .16);
}

.report-book .fortune-head span em {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fffaf0;
  font-style: normal;
}

.report-book .fortune-head span strong {
  display: block;
  color: #6b2d12;
  font-size: 18px;
  line-height: 1;
}

.report-book .list {
  display: grid;
  gap: 10px;
}

.report-book .list-item {
  position: relative;
  padding: 12px 12px 12px 42px;
  border-left: 3px solid #b47a35;
  background: #fff4dc;
}

.report-book .list-item::before {
  position: absolute;
  left: 12px;
  top: 14px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff2cf;
  background: #9b1c1c;
  content: attr(data-index);
  font-size: 12px;
  font-weight: 700;
}

.report-book .lucky-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin-top: 12px;
}

.report-book .lucky-grid div {
  padding: 12px 8px;
  border: 1px solid #c8a46a;
  background: #fff4dc;
  text-align: center;
}

.report-book .lucky-grid span {
  display: block;
  color: #8a5a2b;
  font-size: 14px;
}

.report-book .lucky-grid b {
  display: block;
  margin-top: 5px;
  color: #6b2d12;
  font-size: 19px;
  font-weight: 700;
}

.report-book .closing-page {
  text-align: center;
}

.report-book .closing-page p {
  text-align: justify;
}

.report-book .closing-seal {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 18px auto 4px;
  border: 2px solid #9b1c1c;
  border-radius: 50%;
  color: #9b1c1c;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  transform: rotate(-10deg);
}

.report-book .footer-note {
  padding: 16px 12px 22px;
  color: rgba(255, 244, 220, .9);
  background: #7a3e18;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.page-result .report-back {
  background: rgba(238, 230, 216, .92);
  backdrop-filter: blur(6px);
}

body.result-mode-history .report-back {
  display: block;
}

.page-result .report-back button {
  border: 1px solid rgba(122, 62, 24, .45);
  color: #6b2d12;
  background: rgba(255, 255, 255, .72);
}

.page-result .result-actions {
  background: rgba(238, 230, 216, .96);
  border-top: 1px solid rgba(122, 62, 24, .18);
}

.page-result .result-actions .btn-home {
  border: 1px solid rgba(122, 62, 24, .45);
  color: #6b2d12;
  background: #fffaf0;
}

.page-result .result-actions .btn-save {
  color: #fff8ce;
  background: linear-gradient(180deg, #b85c2d 0%, #9b1c1c 100%);
  box-shadow: 0 5px 12px rgba(107, 45, 18, .2);
}

.page-result .footer-service {
  margin: 14px auto 86px;
  color: #6b2d12;
}

body.result-mode-paid .page-result {
  padding-bottom: 78px;
}

/* Pay page reference override: scoped to the pending payment page only. */
.page-pay .pay-top-img {
  margin-top: -120px;
  margin-bottom: -96px;
}

.page-pay .pay-header {
  position: relative;
  z-index: 2;
  width: calc(100% - 40px);
  margin: 40px auto 0;
  padding: 28px 12px 10px;
  border: 2px solid #e5dbc2;
  border-radius: 18px;
  color: #ff343d;
  background: linear-gradient(180deg, rgba(255, 253, 246, .98), rgba(255, 249, 237, .98));
  box-shadow:
    0 8px 16px rgba(32, 8, 52, .14),
    inset 0 0 0 3px rgba(255, 255, 255, .72);
  text-align: left;
}

.page-pay .pay-profile {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0 7px 2px;
  border: 0;
  border-radius: 10px;
  color: #ff343d;
  background: rgba(255, 255, 255, .28);
  box-shadow: none;
}

.page-pay .pay-profile > img {
  display: none;
}

.page-pay .pay-profile-text {
  position: relative;
  inset: auto;
  display: grid;
  grid-template-columns: 1fr .72fr;
  align-content: center;
  gap: 7px 14px;
  padding: 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.page-pay .pay-birth,
.page-pay .pay-address,
.page-pay .pay-profile-text > span:last-child {
  grid-column: 1 / -1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  line-height: 1.08;
}

.page-pay .pay-birth b,
.page-pay .pay-address b {
  font-size: inherit;
}

.page-pay .pay-bazi-card {
  width: 100%;
  margin-top: 4px;
  padding: 0 0 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-pay .pay-bazi-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 4px;
  color: #ff343d;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
}

.page-pay .pay-bazi-card h2::before,
.page-pay .pay-bazi-card h2::after {
  flex: 1;
  border-top: 1px dashed rgba(185, 139, 77, .48);
  content: "";
}

.page-pay .pay-bazi-card .bazi-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.page-pay .pay-bazi-card .bazi-table th,
.page-pay .pay-bazi-card .bazi-table td {
  height: 25px;
  padding: 2px;
  border: 1px solid #c8a46a;
  color: #302116;
  background: #fffdf7;
  font-size: 13px;
  line-height: 1.15;
  text-align: center;
  word-break: break-all;
}

.page-pay .pay-bazi-card .bazi-table th {
  color: #542c17;
  background: #ead4aa;
  font-weight: 900;
}

.page-pay .pay-bazi-card .bazi-table .row-head {
  background: #f4e3c4;
}

.page-pay .pay-bazi-card .bazi-table .ganzhi {
  color: #842f19;
  font-size: 14px;
  font-weight: 900;
}

.page-pay .pay-bazi-card > p {
  margin: 4px 2px 0;
  color: #7b5a3d;
  font-size: 11px;
  line-height: 1.35;
  text-align: center;
}

.page-pay .pay-card {
  position: relative;
  width: calc(100% - 14px);
  margin: 4px auto 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-pay .pay-card > img {
  display: block;
  width: 100%;
}

.page-pay .price-row {
  position: absolute;
  left: 9%;
  right: 9%;
  bottom: 38.2%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 10px;
  color: #481d16;
}

.page-pay .price-row strong {
  font-size: 20px;
}

.page-pay .price-right b {
  font-size: 25px;
}

.page-pay .wechat-pay {
  position: absolute;
  left: calc(10% - 4px);
  right: calc(10% - 4px);
  bottom: 27.1%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(180deg, #35bd49, #22993a);
  box-shadow: 0 4px 10px rgba(27, 112, 44, .22);
  font-size: 22px;
  font-weight: 900;
}

.page-pay .pay-card p {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 13%;
  margin: 0;
  color: #39a72f;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.page-pay .pay-extra {
  width: calc(100% - 24px);
  margin: -54px auto 0;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(28, 9, 45, .26);
}

.date-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 10px;
  background: rgba(17, 4, 31, .68);
}

.date-modal.show {
  display: grid;
}

.date-sheet,
.complaint-sheet {
  width: min(100%, 430px);
  max-height: 88vh;
  overflow: hidden;
  border: 1px solid #9a1d18;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 30px rgba(21, 5, 2, .38);
  animation: pop .2s ease;
}

.date-sheet {
  width: min(calc(100vw - 12px), 470px);
}

.date-head {
  min-height: 82px;
  display: grid;
  place-items: center;
  padding: 16px 12px 10px;
  color: #941913;
  background: #fff;
  font-size: clamp(18px, 5vw, 25px);
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}

.calendar-tabs {
  display: flex;
  gap: 0;
  margin: 0 18px;
  overflow: hidden;
  border: 1px solid #9a1d18;
  border-radius: 4px;
}

.calendar-tabs button {
  flex: 1;
  height: 52px;
  border-radius: 0;
  color: #333;
  background: #fff;
  font-size: 21px;
  font-weight: 900;
}

.calendar-tabs button.active {
  color: #ffdfad;
  background: #941913;
}

.picker-frame {
  position: relative;
  margin: 22px 14px 18px;
}

.picker-frame::before,
.picker-frame::after {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  height: 56px;
  pointer-events: none;
  content: "";
}

.picker-frame::before {
  top: 0;
  background: linear-gradient(180deg, #fff 5%, rgba(255, 255, 255, .72) 58%, rgba(255, 255, 255, 0));
}

.picker-frame::after {
  bottom: 0;
  background: linear-gradient(0deg, #fff 5%, rgba(255, 255, 255, .72) 58%, rgba(255, 255, 255, 0));
}

.picker-selection {
  position: absolute;
  left: 2px;
  right: 2px;
  top: 50%;
  z-index: 1;
  height: 54px;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
  transform: translateY(-50%);
  pointer-events: none;
}

.picker-grid {
  display: grid;
  grid-template-columns: 1.08fr .62fr .62fr .66fr .66fr;
  gap: 2px;
  position: relative;
  z-index: 3;
}

.picker-col button {
  padding: 0 2px;
  white-space: nowrap;
}

#yearList button {
  white-space: nowrap;
}

#monthListPicker button,
#dayList button {
  font-size: 20px;
  line-height: 1.1;
  white-space: nowrap;
}

#monthListPicker button.active,
#dayList button.active {
  font-size: 22px;
}

#yearList button.active {
  font-size: 22px;
}

#hourList button,
#minuteList button {
  font-size: 17px;
  line-height: 1.1;
  white-space: nowrap;
}

#hourList button.active,
#minuteList button.active {
  font-size: 19px;
}

.picker-col {
  height: 176px;
  overflow-y: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  padding: 61px 0;
  scrollbar-width: none;
}

.picker-col::-webkit-scrollbar {
  display: none;
}

.picker-col button {
  width: 100%;
  min-height: 54px;
  border-bottom: 0;
  color: #b8b8bb;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.1;
  scroll-snap-align: center;
}

.picker-col button.active {
  color: #941913;
  background: transparent;
  font-size: 23px;
  font-weight: 900;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  border-radius: 0 0 16px 16px;
  overflow: hidden;
}

.modal-actions button {
  height: 58px;
  border-radius: 0;
  color: #333;
  background: #fff;
  font-size: 20px;
  font-weight: 900;
}

.modal-actions button:last-child {
  color: #ffdfad;
  background: #941913;
}

.complaint-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
}

.complaint-modal.show {
  display: block;
  z-index: 160;
}

.complaint-page {
  min-height: 100vh;
}

.complaint-page--reason {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  padding-bottom: 0;
  overflow: hidden;
  background: #f5f5f5;
  box-sizing: border-box;
}

.complaint-reason-top {
  position: relative;
  flex: 0 0 auto;
  min-height: 46px;
  padding: 10px 78px 6px 20px;
  background: #fff;
}

.complaint-back-report-badge {
  position: absolute;
  top: 10px;
  right: 16px;
  z-index: 2;
  width: 48px;
  height: 48px;
  padding: 0 5px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #2f8fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  box-shadow: 0 4px 10px rgba(47, 143, 255, .32);
}

.complaint-reason-intro {
  margin: 0;
  padding: 0;
  color: #111;
  font-size: clamp(15px, 2.1vh, 17px);
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
}

.complaint-reason-groups {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  background: #f5f5f5;
}

.complaint-reason-group {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.complaint-reason-group h3 {
  flex: 0 0 auto;
  margin: 0;
  padding: 5px 20px 6px;
  color: #ff7a1a;
  background: #f5f5f5;
  font-size: clamp(14px, 2vh, 16px);
  font-weight: 400;
  line-height: 1.25;
}

.complaint-reason-item {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 0;
  padding: 0 20px;
  border: 0;
  border-bottom: 1px solid #e8e8e8;
  background: #fff;
  color: #111;
  font-size: clamp(14px, 2vh, 16px);
  font-weight: 400;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

.complaint-reason-item:active {
  background: #f2f2f2;
}

.complaint-reason-item span:first-child {
  flex: 1;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.complaint-contact-merchant {
  display: block;
  flex: 0 0 auto;
  flex-shrink: 0;
  width: 100%;
  margin-top: 4px;
  padding: 8px 12px 10px;
  border: 0;
  color: #e64340;
  background: #f5f5f5;
  font-size: clamp(13px, 1.8vh, 15px);
  line-height: 1.35;
  text-align: center;
  text-decoration: underline;
}

.complaint-page[hidden] {
  display: none !important;
}

.complaint-float-btn {
  position: fixed;
  top: 220px;
  right: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 38px;
  padding: 12px 8px 14px;
  border: 0;
  border-radius: 6px 0 0 6px;
  color: #fff;
  background: #2f2f2f;
  font-size: 14px;
  line-height: 1.1;
}

.complaint-float-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 22px;
  color: #fff;
}

.complaint-float-btn__icon svg {
  display: block;
  width: 24px;
  height: 22px;
}

.complaint-float-btn__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
}

body.modal-open .complaint-float-btn {
  display: none;
}

.complaint-page--detail {
  position: relative;
  background: #fff;
  padding-bottom: 24px;
}

.complaint-arrow {
  display: none;
}

.complaint-field-block {
  margin-bottom: 2px;
}

.complaint-field-label,
.complaint-field-label-row .complaint-field-label {
  padding: 14px 14px 8px;
  color: #222;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.complaint-field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 8px;
}

.complaint-field-label-row .complaint-field-label {
  padding: 0;
}

.complaint-field-optional {
  color: #666;
  font-size: 15px;
  font-weight: 400;
}

.complaint-field-counter {
  color: #666;
  font-size: 15px;
}

.complaint-field-card {
  margin: 0 14px 10px;
  border-radius: 6px;
  background: #eef1f5;
}

.complaint-field-card--value {
  min-height: 52px;
  padding: 14px;
  color: #222;
  font-size: 16px;
  line-height: 1.5;
}

.complaint-field-card--upload {
  min-height: 120px;
  padding: 14px;
}

.complaint-detail-textarea {
  width: 100%;
  min-height: 150px;
  margin: 0;
  padding: 14px;
  border: 0;
  background: transparent;
  color: #222;
  font-size: 16px;
  line-height: 1.6;
  resize: none;
  outline: none;
}

.complaint-detail-input {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: #222;
  font-size: 16px;
  outline: none;
}

.complaint-detail-textarea::placeholder,
.complaint-detail-input::placeholder {
  color: #9aa0a6;
}

.complaint-upload-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.complaint-upload-item,
.complaint-upload-add {
  width: 88px;
  height: 88px;
  border-radius: 6px;
  flex: 0 0 88px;
}

.complaint-upload-item {
  position: relative;
  overflow: hidden;
  background: #fff;
}

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

.complaint-upload-remove {
  position: absolute;
  top: 0;
  right: 0;
  width: 22px;
  height: 22px;
  border: 0;
  border-bottom-left-radius: 6px;
  color: #fff;
  background: rgba(0, 0, 0, .55);
  font-size: 16px;
  line-height: 1;
}

.complaint-upload-add {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #999;
  background: #fff;
  font-size: 34px;
  line-height: 1;
}

.complaint-upload-add span {
  transform: translateY(-2px);
}

.complaint-detail-actions {
  padding: 8px 14px 24px;
}

.complaint-submit-btn {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: #55a532;
  font-size: 18px;
  font-weight: 700;
}

.complaint-page--success {
  min-height: 100vh;
  background: #f7f7f7;
}

.complaint-success-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 72px 16px 40px;
  text-align: center;
}

.complaint-success-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  color: #fff;
  background: #55a532;
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
}

.complaint-success-body h2 {
  margin: 28px 0 18px;
  color: #111;
  font-size: 28px;
  font-weight: 900;
}

.complaint-success-body p {
  margin: 0;
  color: #666;
  font-size: 15px;
  line-height: 1.75;
  white-space: nowrap;
}

.complaint-success-return {
  width: 100%;
  height: 52px;
  margin-top: 72px;
  border-radius: 6px;
  color: #fff;
  background: #55a532;
  font-size: 18px;
  font-weight: 700;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  z-index: 200;
  max-width: min(86vw, 320px);
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(17, 8, 30, .86);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
  transform: translateX(-50%);
}

.toast.toast--center {
  top: 50%;
  bottom: auto;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: min(80vw, 300px);
  padding: 16px 22px;
  border-radius: 10px;
  background: rgba(0, 0, 0, .88);
  color: #fff;
  font-size: 15px;
  line-height: 1.6;
}

@keyframes page-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes notice-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes progress-fill {
  0% {
    width: 10%;
  }
  100% {
    width: 100%;
  }
}

@keyframes pan-enter {
  0% {
    opacity: 0;
    transform: translate3d(0, 62%, 0) scale(.78) rotate(-12deg);
  }
  78% {
    opacity: 1;
    transform: translate3d(0, -2%, 0) scale(1.03) rotate(3deg);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0);
  }
}

@keyframes outer-step-spin {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(390deg); }
  18% { transform: rotate(390deg); }
  28% { transform: rotate(750deg); }
  36% { transform: rotate(750deg); }
  46% { transform: rotate(1110deg); }
  54% { transform: rotate(1110deg); }
  64% { transform: rotate(1470deg); }
  72% { transform: rotate(1470deg); }
  82% { transform: rotate(1830deg); }
  90% { transform: rotate(1830deg); }
  96% { transform: rotate(2160deg); }
  100% { transform: rotate(2160deg); }
}

@keyframes inner-step-spin {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(-395deg); }
  18% { transform: rotate(-395deg); }
  28% { transform: rotate(-790deg); }
  36% { transform: rotate(-790deg); }
  46% { transform: rotate(-1185deg); }
  54% { transform: rotate(-1185deg); }
  64% { transform: rotate(-1580deg); }
  72% { transform: rotate(-1580deg); }
  82% { transform: rotate(-1975deg); }
  90% { transform: rotate(-1975deg); }
  96% { transform: rotate(-2160deg); }
  100% { transform: rotate(-2160deg); }
}

@keyframes sector-pulse {
  0%,
  18%,
  36%,
  54%,
  72%,
  90%,
  100% {
    opacity: .9;
    filter: brightness(1) saturate(1);
  }
  10%,
  28%,
  46%,
  64%,
  82%,
  96% {
    opacity: 1;
    filter: brightness(1.22) saturate(1.12);
  }
}

@keyframes soft-breathe {
  0%,
  100% {
    transform: scale(.996);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.012);
    filter: brightness(1.1);
  }
}

@keyframes center-breathe {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.018);
    filter: brightness(1.08);
  }
}

@keyframes pan-glow {
  0%,
  100% {
    opacity: .64;
    transform: translateX(-50%) scaleX(.92);
  }
  50% {
    opacity: .95;
    transform: translateX(-50%) scaleX(1.06);
  }
}

@keyframes profile-shine {
  0% { background-position: 220% 0; }
  100% { background-position: -20% 0; }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes cta-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.045);
  }
}

.coupon-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  place-items: center;
  padding: 12px;
  background: rgba(17, 4, 31, .68);
}

.coupon-modal.show {
  display: grid;
}

.coupon-sheet {
  position: relative;
  width: min(100%, 320px);
  padding: 24px 18px 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff8e7, #fff2d8);
  box-shadow: 0 16px 30px rgba(21, 5, 2, .38);
  text-align: center;
}

.coupon-close {
  position: absolute;
  right: 10px;
  top: 6px;
  width: 34px;
  height: 34px;
  color: #8a5a3d;
  font-size: 28px;
  line-height: 1;
}

.coupon-top {
  color: #9e2a13;
  font-size: 20px;
  font-weight: 900;
}

.coupon-amount {
  margin: 12px 0;
  color: #cf2e36;
  font-size: 34px;
  font-weight: 900;
}

.coupon-desc {
  color: #5a3b2d;
  font-size: 13px;
  line-height: 1.6;
}

.coupon-submit {
  width: 100%;
  height: 46px;
  margin-top: 14px;
  border-radius: 8px;
  color: #fff7d1;
  background: linear-gradient(180deg, #d94925, #a31f13);
  font-size: 18px;
  font-weight: 900;
}

.coupon-skip {
  width: 100%;
  margin-top: 10px;
  color: #8a6556;
  font-size: 14px;
  font-weight: 700;
}

.report-card,
.report-book {
  width: 100%;
}

.image-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(17, 4, 31, .82);
}

.image-preview-modal[hidden] {
  display: none;
}

.image-preview-sheet {
  width: min(100%, 360px);
  max-height: 88vh;
  overflow: auto;
  padding: 16px 14px 14px;
  border-radius: 14px;
  background: #fff8e7;
  text-align: center;
}

.image-preview-tip {
  margin: 0 0 12px;
  color: #d1282c;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: .5px;
  text-shadow: 0 2px 6px rgba(209, 40, 44, .2);
}

.image-preview-sheet img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(20, 7, 43, .18);
}

.image-preview-close {
  width: 100%;
  height: 44px;
  margin-top: 12px;
  border-radius: 8px;
  color: #fff7d1;
  background: linear-gradient(180deg, #d94925, #a31f13);
  font-size: 16px;
  font-weight: 900;
}

.btn-save:disabled {
  opacity: .72;
}

@media (max-width: 360px) {
  .form-row {
    font-size: 17px;
  }

  .form-row span {
    flex-basis: 92px;
  }

  .birth-row b,
  .form-row input {
    font-size: 15px;
  }

  .paid-sheet h2 {
    font-size: 22px;
  }

  .date-sheet {
    width: calc(100vw - 8px);
  }

  .picker-frame {
    margin: 20px 10px 16px;
  }

  .picker-grid {
    grid-template-columns: 1.06fr .64fr .64fr .63fr .63fr;
    gap: 1px;
  }

  #yearList button {
    font-size: 20px;
  }

  #yearList button.active {
    font-size: 21px;
  }

  #monthListPicker button,
  #dayList button {
    font-size: 18px;
  }

  #monthListPicker button.active,
  #dayList button.active {
    font-size: 20px;
  }

  #hourList button,
  #minuteList button {
    font-size: 15px;
  }

  #hourList button.active,
  #minuteList button.active {
    font-size: 16px;
  }
}

/* 万年历四柱改造 */
.page-form .info-card {
  min-height: 440px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffdf5 0%, #f7e7c7 100%);
  box-shadow: 0 12px 24px rgba(39, 12, 62, .22);
  overflow: hidden;
}

.page-form .input-bg {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: fill;
}

.page-form .input-fields {
  z-index: 1;
  padding-top: 18%;
}

.page-form .form-row {
  min-height: 50px;
  margin-bottom: 3px;
  font-size: 17px;
}

.page-form .form-row input,
.page-form .birth-row b {
  font-size: 16px;
}

.page-form .submit-img {
  margin-top: 5px;
}

.leap-month-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 2px;
  color: #63311b;
  font-size: 14px;
  font-weight: 700;
}

.leap-month-row[hidden] {
  display: none;
}

.leap-month-row input {
  width: 18px;
  height: 18px;
  accent-color: #b52d1d;
}

.place-sheet {
  padding: 22px 18px calc(20px + env(safe-area-inset-bottom));
}

.place-help {
  margin: 8px 0 18px;
  color: #7d6651;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.place-select-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #4d2818;
  font-weight: 700;
}

.place-select-row select {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #d4b27d;
  border-radius: 8px;
  color: #3c2417;
  background: #fffdf7;
  font-size: 16px;
}

.page-pay .pay-profile-text > span:last-child {
  grid-column: 1 / -1;
  font-size: 16px;
}

.page-pay .pay-bazi-card {
  width: 100%;
  margin-top: 4px;
  padding: 0 0 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

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

.page-pay .pay-bazi-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 4px;
  color: #ff343d;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 900;
  text-align: center;
}

.page-pay .pay-bazi-card h2::before,
.page-pay .pay-bazi-card h2::after {
  flex: 1;
  border-top: 1px dashed rgba(185, 139, 77, .48);
  content: "";
}

.page-pay .pay-bazi-card .bazi-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.page-pay .pay-bazi-card .bazi-table th,
.page-pay .pay-bazi-card .bazi-table td {
  height: 25px;
  padding: 2px;
  border: 1px solid #c8a46a;
  color: #302116;
  background: #fffdf7;
  font-size: 13px;
  line-height: 1.15;
  text-align: center;
  word-break: break-all;
}

.page-pay .pay-bazi-card .bazi-table th {
  color: #542c17;
  background: #ead4aa;
  font-weight: 900;
}

.page-pay .pay-bazi-card .bazi-table .row-head {
  background: #f4e3c4;
}

.page-pay .pay-bazi-card .bazi-table .ganzhi {
  color: #842f19;
  font-size: 14px;
  font-weight: 900;
}

.page-pay .pay-bazi-card > p {
  margin: 4px 2px 0;
  color: #7b5a3d;
  font-size: 11px;
  line-height: 1.35;
  text-align: center;
}

.report-book .report-simple {
  gap: 18px;
}

.report-book .simple-section {
  padding-top: 4px;
}

.report-book .simple-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.report-book .simple-info-grid p {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid #d2b37a;
  background: #fff8e9;
}

.report-book .simple-info-grid p:nth-child(3),
.report-book .simple-info-grid p:nth-child(5) {
  grid-column: 1 / -1;
}

.report-book .simple-info-grid strong {
  color: #8a5a2b;
  font-size: 12px;
}

.report-book .simple-info-grid span {
  color: #3d2618;
  font-size: 15px;
  font-weight: 700;
}

.report-book .simple-bazi-meta {
  margin-top: 8px;
  color: #7b6348;
  font-size: 12px;
  text-align: center;
}

.report-book .report-analysis {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid #d2b37a;
  background: rgba(255, 250, 239, .82);
}

.report-book .report-analysis p {
  font-size: 16px;
  line-height: 2;
  text-indent: 2em;
}

/* 结果页：与“完整结果页样式.html”保持一致 */
body.result-mode-paid,
body.result-mode-history {
  color: #2d2116;
  background: #eee6d8;
  line-height: 1.78;
}

body.result-mode-paid .app,
body.result-mode-history .app {
  width: min(100%, 430px);
  background: #eee6d8;
  box-shadow: 0 0 32px rgba(0, 0, 0, .2);
}

body.result-mode-paid .top-feedback,
body.result-mode-history .top-feedback {
  position: static;
  height: auto;
  padding: 7px 10px;
  gap: 10px;
  color: #2b201b;
  font-size: 13px;
  line-height: 1.2;
}

body.result-mode-paid .top-feedback button,
body.result-mode-history .top-feedback button {
  min-width: 0;
  height: 27px;
  padding: 0 12px;
  border: 1px solid rgba(0, 0, 0, .55);
  border-radius: 9px;
  color: #2b201b;
  font-size: 13px;
  font-weight: 700;
}

body.result-mode-paid .notice,
body.result-mode-history .notice {
  height: auto;
  padding: 8px 0;
  color: rgba(255, 244, 220, .9);
  background: #7a3e18;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
}

body.result-mode-paid .notice span,
body.result-mode-history .notice span {
  animation-duration: 22s;
}

.page-result {
  min-height: 100vh;
  padding-bottom: 0;
  background: #eee6d8;
}

.report-book .report-wrap {
  padding: 13px 10px 24px;
}

.report-book .report-page {
  margin: 0 auto 15px;
  padding: 25px 15px;
}

.report-book .report-page.cover {
  min-height: 560px;
  gap: 16px;
  border: 4px double #8a5a2b;
}

.report-book .main-title {
  font-size: 25px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 3px;
}

.report-book .sub-title {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1px;
}

.report-book .user-info-panel {
  width: min(100%, 360px);
  padding: 18px 14px 14px;
}

.report-book .user-info-title {
  margin-bottom: 14px;
  font-size: 22px;
}

.report-book .user-info-grid {
  gap: 12px;
}

.report-book .info-card {
  min-height: 78px;
  padding: 14px 16px;
}

.report-book .info-label {
  font-size: 15px;
}

.report-book .info-value {
  font-size: 20px;
}

.report-book .seal {
  width: 92px;
  height: 92px;
  margin-top: 16px;
  border: 2.5px solid #9b1c1c;
  box-shadow: inset 0 0 0 4px #fff4dc, inset 0 0 0 6px #9b1c1c;
  background: radial-gradient(circle at 50% 42%, #fff6ea 0%, #fbe6da 100%);
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: 2px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
}

.report-book .report-page p {
  font-size: 19.5px;
  line-height: 1.85;
}

.report-book .bazi-table th,
.report-book .bazi-table td {
  padding: 12px 4px;
  font-size: 16px;
}

.report-book .bazi-table .ganzhi {
  font-size: 19px;
}

.report-book .analysis-body {
  display: grid;
  gap: 13px;
}

.report-book .analysis-body p {
  color: #2d2116;
  font-size: 19.5px;
  line-height: 1.9;
  text-align: justify;
}

.report-contact {
  padding: 22px 15px 6px;
  text-align: center;
}

.report-contact .contact-tagline {
  margin: 0 0 12px;
  color: #2d2116;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}

.report-contact .contact-line {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  padding: 0;
  background: transparent;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.report-contact .label {
  color: #7a3e18;
}

.report-contact .headset {
  width: 19px;
  height: 19px;
  fill: #7a3e18;
}

.report-contact .contact-link {
  color: #9b1c1c;
  font-weight: 700;
  text-decoration: underline;
}

.report-contact .trust-badges {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 8px auto 0;
}

.report-book .footer-note {
  padding: 16px 12px 22px;
  color: rgba(255, 244, 220, .9);
  background: #7a3e18;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

body.result-mode-paid .result-actions {
  display: grid;
  grid-template-columns: 1fr;
  width: 430px;
}

body.result-mode-paid .result-actions .btn-home {
  display: none;
}

body.result-mode-paid .page-result {
  padding-bottom: 78px;
}

/* Service / order inquiry page */
body.service-mode .top-feedback,
body.service-mode .notice {
  display: none;
}

body.service-mode .app {
  background: #fff;
  box-shadow: none;
}

.page-service {
  position: relative;
  min-height: 100vh;
  padding-bottom: calc(env(safe-area-inset-bottom) + 24px);
  background: #fff;
  color: #333;
}

.service-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  padding: 0 10px;
  border-bottom: 1px solid #ececec;
  background: #f7f7f7;
}

.service-back {
  width: 26px;
  color: #555;
  font-size: 28px;
  line-height: 1;
}

.service-nav-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.25;
}

.service-nav-title strong {
  color: #111;
  font-size: 15px;
  font-weight: 700;
}

.service-nav-more {
  width: 26px;
  color: #333;
  font-size: 18px;
  text-align: right;
}

.service-history-tab {
  position: absolute;
  top: 120px;
  right: 0;
  z-index: 30;
  width: 28px;
  padding: 10px 6px;
  border-radius: 8px 0 0 8px;
  color: #fff;
  background: rgba(51, 51, 51, .78);
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 1px;
  writing-mode: vertical-rl;
}

.service-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 141px;
  padding-bottom: 14px;
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 255, 255, .35), transparent 52px),
    linear-gradient(180deg, #ff8b7b, #ffb09f);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.service-hero p {
  margin: 0;
}

.service-scroll-icon {
  position: relative;
  width: 59px;
  height: 59px;
  margin-bottom: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
}

.service-scroll-icon::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 12px;
  width: 28px;
  height: 38px;
  border: 5px solid #fff;
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 4px;
  transform: rotate(18deg);
}

.service-query-card {
  padding: 14px 10px 6px;
  text-align: center;
}

.service-tip {
  margin: 0;
  color: #3f3f3f;
  font-size: 13px;
  line-height: 1.6;
}

.service-tip.small {
  color: #5b5b5b;
  font-size: 12px;
}

.service-query-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.service-query-row input {
  flex: 1;
  height: 32px;
  padding: 0 7px;
  border: 1px solid #8b8b8b;
  background: #fff;
  color: #333;
  font-size: 12px;
}

.service-query-row button {
  width: 48px;
  height: 32px;
  border-radius: 0;
  background: #a34f16;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.service-step-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 33px;
  margin: 12px auto 4px;
  background: linear-gradient(180deg, #ff9b7e, #f05f43);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.service-step-badge.second {
  margin-top: 24px;
}

.service-section-title {
  margin: 0;
  color: #d95d3b;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.service-help-block {
  padding: 12px 13px 0;
}

.service-help-title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  color: #1f1f1f;
  font-size: 13px;
}

.service-help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #18bd54;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.service-help-block.alipay .service-help-icon {
  background: #1e9ef4;
}

.service-help-block p {
  margin: 0;
  color: #333;
  font-size: 12px;
  line-height: 1.75;
}

.service-help-img {
  position: relative;
  height: 129px;
  margin-top: 7px;
  background: #fde7e8;
  overflow: hidden;
}

.service-phone-demo {
  position: absolute;
  left: 75px;
  top: 11px;
  width: 72px;
  height: 101px;
  border-radius: 2px;
  background:
    linear-gradient(#222 0 11px, transparent 11px),
    repeating-linear-gradient(180deg, #fff 0 12px, #f6f6f6 12px 24px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .12);
}

.service-phone-demo::after {
  content: "1";
  position: absolute;
  left: 22px;
  bottom: 12px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f1653f;
  color: #fff;
  font-size: 9px;
  line-height: 14px;
  text-align: center;
}

.service-phone-demo.right {
  left: 145px;
  top: 44px;
  width: 90px;
  height: 59px;
}

.service-phone-demo.blue {
  background:
    linear-gradient(#168ee9 0 21px, transparent 21px),
    repeating-linear-gradient(180deg, #fff 0 12px, #f6f6f6 12px 24px);
}

.service-bottom {
  margin: 0;
  padding: 16px 0 28px;
  color: #333;
  font-size: 13px;
  text-align: center;
}

.service-bottom button {
  color: #d85b39;
  font-size: 13px;
  font-weight: 700;
}

.service-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, .55);
}

.service-qr-modal[hidden] {
  display: none;
}

.service-qr-sheet {
  position: relative;
  width: min(100%, 320px);
  padding: 22px 18px 18px;
  border-radius: 14px;
  background: #fff;
  text-align: center;
}

.service-qr-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 28px;
  height: 28px;
  color: #666;
  font-size: 24px;
  line-height: 1;
}

.service-qr-sheet h3 {
  margin: 0 0 6px;
  color: #222;
  font-size: 18px;
}

.service-qr-sheet > p {
  margin: 0 0 14px;
  color: #666;
  font-size: 13px;
  line-height: 1.5;
}

.service-qr-wrap {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fafafa;
}

.service-qr-loading,
.service-qr-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 12px;
  color: #8a5f3d;
  font-size: 13px;
  line-height: 1.5;
}

.service-qr-empty[hidden],
.service-qr-image[hidden],
.service-qr-loading[hidden] {
  display: none;
}

.service-qr-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-qr-tip {
  margin: 12px 0 0;
  color: #999;
  font-size: 12px;
}
